.language-menu {
    position: absolute;
    top: 50%;
    right: 4em;
    transform: translateY(-50%);
    font-size: 18px;
    z-index: 1000;
}
.language-button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}
.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    background: rgb(0, 0, 0);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1001;
    right: 0;
}
.lang-option {
    padding: 10px;
    cursor: pointer;
    white-space: nowrap;
    color: rgb(255, 255, 255);
    transition: background 0.3s;
}
.language-menu.active .language-dropdown {
    display: block;
}

::-webkit-scrollbar {
    display: none;
}

body {
    font-family: Arial, sans-serif;
    background-color: black;
    color: rgb(0, 0, 0);
    margin: 0;
    overflow: hidden;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 4em;
    background-color: #1d1d1d;
    z-index: 10;
}

.bandeau {
    width: 100%;
    height: 4em;
    background-color: #1d1d1d;
}

.nom {
    position: absolute;
    top: 50%;
    left: 1em;
    transform: translateY(-50%);
    font-size: 1.5em;
    font-weight: bold;
    color: aliceblue;
    text-decoration: none;
}

.profile {
    width: 3em;
    height: 3em;
    border-radius: 50%;
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    object-fit: cover;
    border: 2px solid white;
}

.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    justify-content: center;
}

.page {
    height: 100vh;
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    scroll-snap-align: start;
}

#page1 { 
    background: url(image/A7405384.jpg);
    background-size: cover; /* Cette propriété permet à l'image de couvrir toute la section */
    background-position: center; /* Centre l'image sur la page */
    background-repeat: no-repeat; /* Empêche l'image de se répéter */
}
#page2 {
    background: url(image/A7405377.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#page3 {
    background: url(image/A7405368.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#page4 {
    background: url(image/A7405353.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


@media (max-width: 1200px) and (orientation: portrait) {
    .section-container {
        flex-direction: column;
    }
    .nom {
        position: absolute;
        top: 50%;
        left: 1vh;
        transform: translateY(-50%);
        font-size: 16px;
        color: white;
        font-weight: bold;
    }
    .profile {
        object-fit: cover !important;
        height: 70% !important;
        right: 0.5vw !important;
    }  
    .buttons {
        text-align: center;
    }
    .language-menu {
        position: absolute;
        top: 50%;
        right: 6vw;
        transform: translateY(-50%);
        font-size: 18px;
        z-index: 1000;
    }
    .info-nav {
        display: none;
    }
    .V {
        position: sticky!important;
        top: 0!important; /* Fixe la position sticky de .V */
        z-index: 1000!important; /* Assurez-vous qu'il reste au-dessus des autres éléments */
        height: 20%!important; /* Ajustez la hauteur en fonction du besoin */
        display: flex!important;
        align-items: center!important;
        width: 100%!important; /* Assurez-vous que cela prend toute la largeur */
    }
    .Contenu {
        display: block; /* Assurez-vous que le contenu est bien affiché */
        text-align: center !important;
        margin-top: 20%;
    }
    .last-hope-maybe {
        position: sticky;
        top: 0 !important; /* Fixe la position sticky de .last-hope-maybe */
        left: 0% !important;
        width: 100% !important; /* Prend toute la largeur sur mobile */
        height: 80% !important;
        display: flex;
        z-index: 999 !important; /* Un peu inférieur à .V */
    }
    .text-container {
        text-align: left !important;
    }
    .text-container h1 {
        text-decoration: underline;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        font-size: 1.2em !important;
    }
    .text-container p {
        font-weight: 100;
        font-size: 1em;
        margin-top: 0 !important;
    }
    #page1 { 
        background: url(image/vertical/A7405387.jpg) !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    #page2 {
        background: url(image/vertical/A7405380.jpg) !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    #page3 {
        background: url(image/vertical/A7405372.jpg) !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    #page4 {
        background: url(image/vertical/A7405364.jpg) !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat!important;
    }
}

.V {
    display: none;
}

.should-work {
    position: sticky;
    height: 100vh;
    left: 5%;
    width: 30%;
    align-items: center;
    display: flex;
    bottom: 100vh;
}
.info-nav {
    text-align: center;
}
.info-nav a {
    color: rgb(0, 0, 0); /* Met en gris l'élément non-actif */
    position: relative;  /* Permet de positionner chaque élément précisément */
    text-decoration: none;
}
.info-nav p {
    color: rgb(0, 0, 0); /* Met en gris l'élément non-actif */
    position: relative;  /* Permet de positionner chaque élément précisément */
}
.info-nav h1 {
    color: rgb(0, 0, 0); /* Met en blanc l'élément actif */
    font-weight: bold;
    position: relative;  /* Permet de les positionner à un endroit spécifique */
    left: 2%; /* À gauche */
}

.last-hope-maybe {
    position: sticky;
    height: 100%;
    left: 60%;
    width: 30%;
    align-items: center;
    display: flex;
}
.text-container {
    text-align: center; /* Centre le texte horizontalement */
}
.text-container h1 {
    text-decoration: underline;
}
.text-container p {
    font-weight: 100;
    font-size: 1em;
}
