/* Global styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    text-align: center;
    width: 100%;
}

header {
    font-size: 2rem;
    padding: 20px 10px;
}

header img {
    max-width: 100%;
    height: auto;
}

header h1 {
    margin: 10px 0;
    font-size: 2rem;
}

section {
    padding: 20px;
    width: 90%;
    max-width: 800px;
    margin: 0 auto; /* Centre la section */
    text-align: justify;
}

section p {
    line-height: 1.6;
    color: #555;
    margin: 20px 0;
}

blockquote.ribbon {
    display: block; /* Permet à la citation de s'adapter à la largeur */
    background-color: #002b5c; /* Bleu marine */
    color: white; /* Texte blanc */
    font-style: italic;
    padding: 15px 20px;
    margin: 20px auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px; /* Largeur maximale pour grands écrans */
    width: 100%; /* S'adapte à la largeur de l'écran */
    text-align: center; /* Centre le texte */
}

blockquote.ribbon:before,
blockquote.ribbon:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
}

blockquote.ribbon:before {
    left: -15px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #002b5c;
}

blockquote.ribbon:after {
    right: -15px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #002b5c;
}

/* Footer styles */
footer {

    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    margin-top: 20px;
}

a {
    color: #002b5c;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
    color: #004080;
}

img {
    max-width: 100%;
    height: auto;
}

/* Responsive design */
@media (max-width: 768px) {
    header {
        font-size: 1.5rem;
        text-align: center;
    }

    header img {
        max-width: 250px;
    }

    section {
        width: 95%;
        padding: 15px;
    }

    blockquote.ribbon {
        font-size: 1rem;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    header {
        font-size: 1.2rem;
    }

    header img {
        max-width: 150px;
    }

    section {
        padding: 10px;
        width: 100%;
    }

    blockquote.ribbon {
        font-size: 0.9rem;
        padding: 8px 12px;
        max-width: 90%; /* Réduit la largeur pour les très petits écrans */
    }

    footer {
        font-size: 0.8rem;
        padding: 8px 0;
    }
}