.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('fond_bleu.jpg') no-repeat;
    background-attachment: fixed;
    background-size: cover;
    z-index: -1; /* Assurez-vous que l'overlay est en dessous du contenu */
    pointer-events: none; /* Ignore les événements de souris */
}

.barremenu {
	padding: 50px; 
	color: white ;
	display: flex;
	justify-content: center;
    gap: 100px;
    font-size: 25px;
    font-style: normal;
    font-weight: 200;
    font-family: "Poppins", sans-serif;
}

a {
    text-decoration: none;
    color: white;
}

.barremenu a {
    position: relative;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease-in-out; /* Transition pour la couleur du texte */
}

.barremenu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease-in-out; /* Transition pour la largeur du soulignement */
}

.barremenu a:hover {
    color: white; /* Couleur du texte au survol */
}

.barremenu a:hover::after {
    width: 100%; /* Largeur du soulignement au survol */
}

.menu-container {
    position: fixed;
    top: 0;
    left: -200px; /* Initial position, menu is off-screen */
    width: 200px;
    height: 100%;
    background-color: #2974e4;
    transition: left 0.3s ease; /* Transition effect for smooth sliding */
    z-index: 1; /* Valeur de z-index pour placer le menu au-dessus des autres éléments */
    opacity: 95%;
}

.bouton-menu, .bouton-fermer {
    position: fixed;
    top: 10px;
    font-size: 40px;
    cursor: pointer;
    color: #fff;
    background: none;
    border: none;
    z-index: 1;
}

.bouton-fermer {
    left: 150px;
    display: none; /* Initialement invisible */
}

.choix{
    margin-top: 100px;
    font-size: 30px ;
    color: #fff;
    padding-left: 17px;
}

a {
    text-decoration: none;
    color: white;
}

.choix a {
    position: relative;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease-in-out; /* Transition pour la couleur du texte */
}

.choix a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease-in-out; /* Transition pour la largeur du soulignement */
}

.choix a:hover {
    color: white; /* Couleur du texte au survol */
}

.choix a:hover::after {
    width: 100%; /* Largeur du soulignement au survol */
}

ul {
    list-style-type: none;
    text-align: left;
    margin-left: 15px;
}

/*SEPARATION*/

.petiteseparation {
    width: 25%;
    height: 4px;
    background-color: white;
    position: absolute;
    margin-top: 5px;
    left: 0%
}

.petiteseparation2 {
    width: 25%;
    height: 4px;
    margin-top: 5px;
    background-color: white;
    position: absolute; /* position absolue pour placer la ligne */
    right: 0%; /* distance de 25% depuis la droite */
}

.photo {
    width: 25vw; /* 25% de la largeur de la fenêtre */
    margin-top: 4rem;
    margin-left: 36vw; /* 35% de la largeur de la fenêtre */
    border: 4px solid white;
    border-radius: 2%;
}


.prenom {
    Color: white;
    text-align: center;
    font-size: 40px;
    margin-top: 10px;
    font-style: normal;
    font-weight: 200;
    font-family: "Poppins", sans-serif;
    
}

.text {
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    margin-top: 40px;
    margin-left: 25%;
    margin-right: 25%;
    font-style: normal;
    font-weight: 200;
    font-family: "Poppins", sans-serif;
    background-color: #213886c4;
    border-radius: 20px;
    
}

@media screen and (min-width: 390px) and (max-width: 590px) {
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('fond_bleu.jpg') no-repeat;
        background-position: center;
        background-attachment: fixed;
        background-size: cover;
        z-index: -1; /* Assurez-vous que l'overlay est en dessous du contenu */
        pointer-events: none; /* Ignore les événements de souris */
    }

    .choix {
        margin-top: 100px;
        font-size: 30px;
        color: #fff;
        padding-left: 8px;
    }

    .photo {
        width: 270px !important;
        height: 300px;
        margin-top: 10%;
        margin-left: 18% !important;
        border: 4px solid white;
    }

    .prenom {
        Color: white;
        text-align: center;
        font-size: 40px;
        margin-top: 3;
    }

    .text {
        color: white;
        text-align: center;
        font-size: 20px;
        margin-top: 0px;
        margin-left: 10% !important;
        margin-right: 10% !important;
    }
}

@media screen and (min-width: 591px) and (max-width: 768px) {

    .photo {
        width: 400px auto;
        margin-top: 10%;
        margin-left: 23%;
        border: 4px solid white;
    }

    .prenom {
        Color: white;
        text-align: center;
        font-size: 40px;
        margin-top: 3;
    }

    .text {
        color: white;
        text-align: center;
        font-size: 20px;
        margin-top: 0px;
        margin-left: 25%;
        margin-right: 25%;
    }
}

@media screen and (min-width: 769px) and (max-width: 844px) {
   
    .photo {
        width: 200px;
        margin-top: 10%;
        margin-left: 23%;
        border: 4px solid white;
    }

    .prenom {
        Color: white;
        text-align: center;
        font-size: 40px;
        margin-top: 3;
    }

    .text {
        color: white;
        text-align: center;
        font-size: 20px;
        margin-top: 0px;
        margin-left: 25%;
        margin-right: 25%;
    }

}

@media screen and (max-width: 768px) {

    .photo {
        width: 400px;
        margin-top: 50px;
        margin-left: 23%;
        border: 4px solid white;
    }
    
    .prenom {
        Color: white;
        text-align: center;
        font-size: 40px;
        margin-top: 3;
    }
    
    .text {
        color: white;
        text-align: center;
        font-size: 20px;
        margin-top: 10px;
        margin-left: 25%;
        margin-right: 25%;
    }

}
