@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

.hero, #hero-events{
    background-color: black;
}

#scrollToTopBtn {
    display: none;
    /* Masqué par défaut */
    position: fixed;
    /* Fixé en position */
    bottom: 20px;
    /* Distance du bas */
    right: 30px;
    /* Distance de la droite */
    z-index: 99;
    /* Assurez-vous qu'il s'affiche par-dessus tout */
    border: none;
    /* Pas de bordure */
    outline: none;
    /* Pas de contour */
    background-color: #555;
    /* Couleur de fond */
    color: white;
    /* Couleur du texte */
    cursor: pointer;
    /* Curseur pointeur */
    padding: 15px;
    /* Espacement */
    border-radius: 10px;
    /* Bords arrondis */
    font-size: 18px;
    /* Taille du texte */
}

#scrollToTopBtn:hover {
    background-color: #333;
    /* Couleur de fond au survol */
}

header {
    position: relative;
    z-index: 2;
    height: 120px;
    padding: 0% 5% 0% 5%;
    margin-bottom: -200px;
}

header:hover {
    background-color: black;
    transition: background-color 0.3s ease;

    .menu {
        border-bottom: 1px solid black;
    }
}

.menu {
    display: flex;
    justify-content: space-between;
    padding: 10px 0px;
    border-bottom: 1px solid white;
    width: 100%;
    color: white;
}

.menu-left {
    flex-grow: 1;
    display: flex;
    justify-content: start;
}

.menu a {
    text-decoration: none;
    color: white;
}

.principal-menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.menu-logo {
    width: 300px;
}

.menu-logo-mobile {
    width: 90px;

    
        display: none;
    
}

@media (max-width: 430px) {
    .menu-logo {
        width: 250px !important;
    }
}

@media (min-width: 1250px) {

    .menu-link {
        display: flex;
        justify-content: start;
        align-items: center;
        padding-top: 20px;
        flex-grow: 1;
        max-width: 600px;

        .menu-global {
            display: none;
        }
    }

    .options {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

    .menu-option {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        position: relative;
        cursor: pointer;
    }

    .menu-option .option-title {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 20px;
    }

    .menu-option p {
        
        font-size: 18px;
    }

    .menu-option img {
        width: 10px;
        transition: all 0.2s ease;
    }

    .menu-option .list-options {
        position: absolute;
        overflow: hidden;
        width: 300px;
        height: 0px;
        transition: all 0.5s ease;
        background-color: black;
        top: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        color: white;
        font-size: 17px;
    }

    .menu-option .list-options a {
        padding: 10px 30px;
        height: 70px;
        width: 100%;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
    }

    .menu-option .list-options a:hover {
        background-color: rgb(22, 22, 22);
    }

    
    .menu-option:hover img {
        transform: rotate(180deg);
    }

    .menu-option:hover .list-options {
        height: 250px;
    }

    

    #menu-open{
        display: none;
    }

}

@media (max-width: 1250px) {
    .menu-link {
        background-color: black;
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: start;

        @media (min-width: 512px) {
            width: 320px;
        }
        margin-top: 100px;
        min-height: 500px;
        right: 0px;
        padding: 30px 30px;
        gap: 10px;
        /* referring directly to the animation's @keyframe declaration */
        animation-duration: 1s;
        /* don't forget to set a duration! */
    }

    .menu-link.active{
        display: flex;
        animation: slideInRight 1s forwards;
    }

    .menu-link.hide{
        animation: slideOutRight 1s forwards;
        pointer-events: none;
    }

    .options {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: start;
        width: 100%;
    }

    .menu-option {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        cursor: pointer;
        width: 100%;
    }

    .menu-option .option-title {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        width: 100%;
        height: 40px;
    }

    .menu-option p {
        
        font-size: 18px;
    }

    .menu-option img {
        width: 10px;
        transition: all 0.2s ease;
    }

    .menu-option .list-options {
        overflow: hidden;
        width: 100%;
        height: 0px;
        transition: all 0.5s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        color: white;
        font-size: 17px;
    }

    .menu-option .list-options a {
        padding: 10px 30px;
        width: 100%;
        display: flex;
        align-items: center;
    }

    .menu-option.active {
        margin-bottom: 20px;
    }

    .menu-option.active .list-options {
        height: 130px !important;
    }

    .menu-option.active img {
        transform: rotate(180deg);
    }

    .menu-link {
        display: none;
    }
    .menu-link .menu-global {
        color: white;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: end;
        flex-wrap: 1;
    }

    .menu-link .menu-global img {
        width: 20px;
    }

    .menu-link .menu-global a,
    .menu-link .menu-global .lang-btn {
        display: flex;
        align-items: center;
        justify-content: start;
        gap: 20px;
    }

    .menu-button{
        display: flex;
        justify-content: space-between;
        align-items: end;
        gap: 20px;
    }

    .menu-end .menu-global{
        display: none !important;
    }
}


.menu-end {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: end;
}

.menu-end .menu-global {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}


#menu-search-icon, #menu-open {
    width: 25px;
    height: 25px;
    object-fit: contain;
    object-position: center;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    /* Masquer le bouton par défaut */
}

#desktopLangDropdown {
    width: 110px;
    height: 50px;
    align-self: center;
    background-color: transparent;
    border: 2px solid white;
    border: none;
    color: white;
}

#desktopLangDropdown img {
    width: 20px;
    height: 20px;
}

#desktopLangDropdown option {
    background-color: black;
}

#mobilLangDropdown {
    width: 110px;
    height: 50px;
    align-self: center;
    background-color: transparent;
    border: 2px solid white;
    border: none;
    color: white;
}

#mobilLangDropdown img {
    width: 20px;
    height: 20px;
}

#mobilLangDropdown option {
    background-color: black;
}

.langue-fr {
    display: none;
}

.langue-en {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', 'Roboto', sans-serif;
}

h1 {
    font-weight: bold;
}

h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
}

a,
p,
li,
label {
    font-family: 'Nunito Sans', sans-serif;
}