/* Header */
.header {
    width: 100vw;
    background-color: white;
    border: 1px solid gray;
    z-index: 100;
    display: flex;
    justify-content: flex-start;
    text-align: center;
}
.headerbig
{
    position: absolute;
    bottom: 0;
}
.header h2{
    color: black;
    font-size: 20px;
    padding: 20px 3% 13px 0;
    font-weight: normal;
    cursor: pointer;
}

.headerfixed {
    position: fixed;
    top: 0;
    z-index: 101;
}


/* Style pour le menu burger */
.burger-menu {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px 0 20px 0;

}
.menu-items
{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding-left: 20vw;
    text-align: center;
}

/* Affichage du menu en mode mobile */
@media only screen and (max-width: 768px) {
    .burger-menu {
        position: fixed;
        display: block;
        z-index: 102;
        background-color: white;
        width: 100vw;
        justify-content: center;
    }

    .menu-items {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        position: absolute;
        width: 100%;
        background-color: white;
        max-height: 0; /* Menu caché par défaut */
        overflow: hidden; /* Empêche le contenu de déborder */
        transition: max-height 0.3s ease-out; /* Transition glissante */
        top: 92px;
        z-index: 1;
    }

    .menu-items.active {
        max-height: fit-content; /* Adapte la hauteur au contenu */
        overflow: auto; /* Ajoute une barre de défilement si le contenu est trop grand */
    }

    .menu-items h2 {
        padding: 15px;
        border-bottom: 1px solid #ddd;
        margin: 0;
    }

    .header {
        justify-content: center;
    }
}