/* Styles pour les grands écrans (min-width: 768px) */
@media (min-width: 768px) {

    body {
        background-color: #FFF6EF;
        font-family: 'Questrial', sans-serif;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: crosshair;
    }

    .top-section,
    .bottom-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 140px 20px;
        justify-content: space-around;
        text-align: left;
    }

    img {
        max-width: 80px;
        height: auto;
        border-radius: 8px;
        margin-bottom: 5px;
    }

    p {
        font-weight: bold;
        font-size: 16px;
    }

    ul {
        padding: 0;
    }

    li {
        margin-bottom: 5px;
    }

    /* Barre de navigation */
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #265781;
        color: white;
        padding: 20px;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .navbar a {
        color: white;
        text-decoration: none;
        margin-right: 20px;
        font-size: 18px;
    }

    .navbar a:hover {
        text-decoration: underline;
    }

    #language-button-container {
        display: flex;
    }

    #langueButton {
        background-color: #265781;
        color: black;
        border: none;
        padding: 10px 20px;
        cursor: crosshair;
        border-radius: 5px;
        font-size: 20px;
    }

    /* Définir l'état initial des éléments (invisibles et avec opacité 0) */
    .top-section, .bottom-section {
        opacity: 0;
        transform: translateY(20px); /* Optionnel : légère translation vers le bas pour l'effet d'apparition */
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    /* L'état final lorsque la classe 'fade-in' est ajoutée */
    .fade-in {
        opacity: 1;
        transform: translateY(0); /* Retour à leur position initiale */
    }



}

/* Styles pour les petits écrans (max-width: 768px) */
@media (max-width: 768px) {

    body {
        background-color: #FFF6EF;
        font-family: 'Questrial', sans-serif;
        margin: 0;
        padding: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: crosshair;
    }

    .top-section,
    .bottom-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: space-around;
        text-align: left;
    }

    img {
        max-width: 80px;
        height: auto;
        border-radius: 8px;
        margin-bottom: 5px;
    }

    p {
        font-weight: bold;
        font-size: 16px;
    }

    ul {
        padding: 0;
    }

    li {
        margin-bottom: 5px;
    }

    /* Barre de navigation */
    .navbar {
        flex-direction: column;
        align-items: center;
        background-color: #265781;
        color: white;
        padding: 10px;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .navbar a {
        color: white;
        text-decoration: none;
        margin: 10px 0;
        font-size: 16px;
    }

    .navbar a:hover {
        text-decoration: underline;
    }

    #language-button-container {
        margin-top: 10px;
    }

    #langueButton {
        background-color: #f0f0f0;
        color: #333;
        border: none;
        padding: 10px 20px;
        cursor: crosshair;
        border-radius: 5px;
    }

    /* Définir l'état initial des éléments (invisibles et avec opacité 0) */
    .top-section, .bottom-section {
        opacity: 0;
        transform: translateY(20px); /* Optionnel : légère translation vers le bas pour l'effet d'apparition */
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    /* L'état final lorsque la classe 'fade-in' est ajoutée */
    .fade-in {
        opacity: 1;
        transform: translateY(0); /* Retour à leur position initiale */
    }
}
