/* Bandeau blanc avec le logo et le menu */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: white;
    display: flex;
    justify-content: space-between; /* Le logo à gauche, le menu burger à droite */
    align-items: center;
    padding: 0 20px;
    z-index: 10;
}

.logo-img {
    height: 40px;
}

/* Styles pour l'icône du menu burger */
.burger-icon {
    font-size: 30px;
    cursor: pointer;
    color: black; /* Couleur des traits du menu burger */
    border: none;
    background: none;
    display: flex;
    align-items: center; /* Centrer verticalement */
    justify-content: flex-end; /* Aligner à droite */
}

/* Menu caché par défaut */
.menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 62px; /* Le menu commence juste en dessous de l'en-tête */
    right: -20px;
    background-color: white;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Ombre légère */
    z-index: 10;
}

/* Style des liens dans le menu */
.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu ul li {
    margin: 20px 0;
}

.menu ul li a {
    text-decoration: none;
    color: black;
    display: block;
    padding: 10px;
    transition: background-color 0.3s ease;
}

.menu ul li a:hover {
    background-color: #f0f0f0; /* Légère surbrillance au survol */
}

/* Afficher le menu lorsque la checkbox est cochée */
#burger-toggle:checked + label + .menu {
    display: flex;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.menu a:hover {
    background-color: #444;
}

/* Styling for the navigation bar */
nav.menubarre {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

/* Styling for individual links */
nav.menubarre a {
    text-decoration: none; /* Remove underline */
    font-size: 18px;
}

/* Hover effect */
nav.menubarre a:hover {
    color:black;
}

@media only screen and (max-width: 850px) {
        .menubarre{display: none;}
    }

@media only screen and (max-width: 600px) {

        /* Style spécifique pour affichage vertical sur mobile */
        .title {
            display: flex;
            flex-direction: column; /* Affiche le texte en colonne */
            align-items: left; /* Centre le texte horizontalement */
        }
    }
