#menutop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: flex-start; /* Aligne le contenu à gauche */
    align-items: flex-start; /* Aligne le contenu en haut */
    overflow-y: auto;
    transition: opacity 1s ease; /* Animation d'opacité */
}
.menutop {
    cursor: pointer;
}

#megamenutop {height:100vh;}

.overlay-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 30vw; /* Largeur maximale */
    height: 1000vh; /* Hauteur fixée */
    margin: 0; /* Pas de marge */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: auto;
}

.js-mobile-menu__close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
}

}
