.navbar{
    height: 93px;
    justify-content: space-around;
    align-items: center;
    background-color: var(--primary-color);
    padding: 0 10px;
    position: fixed;
    top: 0;   
    left: 0;
    z-index: 1000;
    width: 100%;
}

.navbar div{
    gap: 2rem;
}

.navbar .classic-onglet{
    color: white;
    text-decoration-color: var(--secondary-color);
    text-underline-offset: 8px; /* Augmentez ou diminuez cette valeur selon le résultat souhaité */
}


.navbar .classic-onglet:hover{
    color: white;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
    text-decoration-thickness: 2px;
}


.navbar ul{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
}

.navbar ul li{
    padding: 20px 7px;
}

.navbar img{
    width: 162px ;
    height: auto ;
}

.navbar button{
    height: 47px;
    padding: 0;
}


.navbar .logo{
    cursor: pointer;
}
.navbar .logo:hover{
    filter: drop-shadow(0 0 0.75rem rgba(255, 255, 255, 0.5));
    transition: filter 0.3s ease-in-out;
}

.the-last-one a{
    background-color: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
   
}
.the-last-one a:hover{
    background-color: var(--secondary-color);
    transition: background-color 0.3s ease-in-out;
    color: white;
}
.btn-container,
.menu-toggle,
.secondary-nav {
    display: none; /* Cachés par défaut */
}

.menu-toggle.active {
    background-color: transparent; /* Rend le bouton transparent */
}




/* Styles pour appareils mobiles */
@media only screen and (max-width: 768px) {
    .navbar {
        display: none; /* Masquer la barre principale pour mobile */
    }
    .btn-container{
        display: flex;
        flex-direction: row;
        width: 100%;
        background-color: var(--primary-color);
    }

    .menu-toggle {
        display: block; /* Afficher le bouton sur mobile */
        background-color: rgba(20, 5, 10, 0.8); /* Noir très foncé avec une légère teinte */
        border: none;
        cursor: pointer;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1000;
        border-radius: 10px;
        padding: 0.4rem 0.4rem;
    }

    .menu-toggle img {
        width: auto;
        height: 40px;
        border-radius: 10px;

    }

    .secondary-nav {
        display: none; /* Menu secondaire caché par défaut */
        position: fixed;
        top: 0;
        left: 0;
        width: 60vw; /* Largeur du menu latéral */
        height: 100%;
        background-color: rgba(201, 64, 101, 0.8); /* Fond semi-transparent */
        padding: 2rem;
        z-index: 999;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px); /* Flou d'arrière-plan */
    }
    .secondary-nav ul {
        display: flex;
        flex-direction: column; /* Alignement vertical des éléments du menu */
        gap: 4rem;
        margin-top: 5rem;
        list-style: none;
        height: 65vh;
        width: 100%;
        align-self: center;
        justify-content: center;
    }
.secondary-nav ul li a{
        color: white; /* Espacement entre les éléments */
    }
    .secondary-nav ul li a:hover{
        color: var(--secondary-color); /* Couleur au survol */
    }
    .secondary-nav.active {
        display: block; /* Afficher le menu secondaire si actif */
    }
}
