

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('fond_bleu.jpg') no-repeat;
    background-size: cover;
    background-attachment: fixed;
    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-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

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: 25px ;
    color: #fff;
    padding-left: 17px;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

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 */
}

#surmoi {
    text-align: center;
    margin-top: 7%;
    color: white;
    font-size: 45px;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

#selection {
    text-align: center; /* Aligner les éléments au centre horizontalement */
    display: flex;
    justify-content: center;
}

#selection2 {
    text-align: center; /* Aligner les éléments au centre horizontalement */
    display: flex;
    justify-content: center;
}

.carre {
    position: relative; /* Ajoutez cette propriété */
    width: 400px;
    height: 200px;
    background-color: #0b406e; /* Couleur de fond des carrés */
    border: 1px solid rgb(255, 255, 255);
    margin: 20px; /* Marge entre les carrés */
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.carre2 {
    position: relative; /* Ajoutez cette propriété */
    width: 400px;
    height: 200px;
    background-color: #0b406e; /* Couleur de fond des carrés */
    border: 1px solid rgb(255, 255, 255);
    margin: 20px; /* Marge entre les carrés */
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.carre3 {
    position: relative; /* Ajoutez cette propriété */
    width: 400px;
    height: 200px;
    background-color: #0b406e; /* Couleur de fond des carrés */
    border: 1px solid rgb(255, 255, 255);
    margin: 20px; /* Marge entre les carrés */
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.carre4 {
    position: relative; /* Ajoutez cette propriété */
    width: 400px;
    height: 200px;
    background-color: #0b406e; /* Couleur de fond des carrés */
    border: 1px solid rgb(255, 255, 255);
    margin: 20px; /* Marge entre les carrés */
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.language-c {
    color:white !important;
    font-size: 25px !important;
    margin-top: 75px !important;
    margin-left: 30px !important;
    text-align: left !important;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.carre:hover {
    transform: translateY(-10px); /* Déplace le carré vers le haut de 10px au survol */
    background-color: #124d82;
}

.carre2:hover {
    transform: translateY(-10px); /* Déplace le carré vers le haut de 10px au survol */
    background-color: #124d82;
}

.carre3:hover {
    transform: translateY(-10px); /* Déplace le carré vers le haut de 10px au survol */
    background-color: #124d82;
}

.carre4:hover {
    transform: translateY(-10px); /* Déplace le carré vers le haut de 10px au survol */
    background-color: #124d82;
}

.realitévirtuel {
    color:white;
    font-size: 25px;
    margin-top: 75px;
    margin-left: 30px;
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.lecture {
    color:white;
    font-size: 25px;
    margin-top: 75px;
    margin-left: 30px;
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.separation {
    width: 75%;
    height: 4px;
    background-color: white;
    margin: 20px auto;
    position: absolute;
    left: 13%;
    bottom: 10;
    
}

.textetrais {
    color: white;
    text-align: center;
    font-size: 40px;
    position: absolute;
    bottom: 40px; /* Ajustez la marge du bas selon vos besoins */
    left: 50%;
    transform: translateX(-50%);
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}
    
.icone {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white
}

.decouvrir {
    color: white;
    border: 1px solid white;
    display: inline-block;
    padding: 10px;
    font-size: 20px;
    margin: -45px;
    margin-left: 200px;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    
}

.decouvrir1 {
    color: white;
    border: 1px solid white;
    display: inline-block;
    padding: 10px;
    font-size: 20px;
    margin: -45px;
    margin-left: 200px;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    margin-top: -0.5rem;
    
}

@media screen and (max-width: 1024px) {
  
    #selection {
        text-align: center; /* Aligner les éléments au centre horizontalement */
        display: flex;
        flex-wrap: wrap;
    }

    #selection2 {
        text-align: center; /* Aligner les éléments au centre horizontalement */
        display: flex;
        flex-wrap: wrap;
    }

    .separation {
        width: 75%;
        height: 4px;
        background-color: white;
        margin: 20px auto;
        left: 13%;
        bottom: 10;
        
    }

    .textetrais {
        color: white;
        text-align: center;
        font-size: 40px;
        position: absolute;
        bottom: 40px; /* Ajustez la marge du bas selon vos besoins */
        left: 50%;
        transform: translateX(-50%);
    }   
}

@media screen and (max-height: 1024px) {
  

    .separation {
        position: relative;
        margin-top: 20px;
        margin-bottom: 20px;
        left: 0;
        transform: none;
        width: 100%;
        width: 75%;
    }

    .textetrais {
        color: white;
        text-align: center;
        position: relative;
        margin-top: 23px;
        font-size: 40px;
        bottom: 10px
    }  
}

@media screen and (max-height: 820px) {
  

    .separation {
        width: 75%;
        position: relative;
        margin-top: 20px;
        margin-bottom: 20px;
        left: 0;
        transform: none;
        width: 100%;
    }

    .textetrais {
        color: white;
        text-align: center;
        position: relative;
        margin-top: 90px;
        font-size: 40px;
        bottom: 10px
    }

    
}
 
@media screen and (max-width: 768px) {

    #selection {
        text-align: center; /* Aligner les éléments au centre horizontalement */
        display: flex;
        flex-wrap: wrap;
    }

    #selection2 {
        text-align: center; /* Aligner les éléments au centre horizontalement */
        display: flex;
        flex-wrap: wrap;
    }

    .separation {
        width: 75%;
        height: 4px;
        background-color: white;
        margin: 20px auto;
        position: relative;
        bottom: 10;
        left:0
        
    }

    .textetrais {
        color: white;
        text-align: center;
        font-size: 40px;
        position: relative;
        bottom: 0px; /* Ajustez la marge du bas selon vos besoins */
        left: 50%;
        transform: translateX(-50%);
    }
   
}