.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 */
}

.connexion{

    position: absolute;
    margin-top: 3rem;
    margin-left: 5rem;
    font-size: 25px;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}
.barremenu {
	padding: 50px; 
	color: white ;
	display: flex;
	justify-content: center;
    gap: 100px;
    font-size: 23px;
    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;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.bouton-fermer {
    left: 150px;
    display: none; /* Initialement invisible */
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.choix{
    margin-top: 100px;
    font-size: 25px ;
    color: #fff;
    padding-left: 10px;
    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 {
    color: white;
    margin-top: 5rem;
    font-size: 40px;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    display: flex;
    padding: 10px;
    color: white;
    justify-content: center;
}

#placement {
    display: flex;
    justify-content: center;
    align-items: center;
}


#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: 350px;
    background-color: #012544cb; /* 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 */
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal; 
}

.rectangle {
    position: relative; /* Ajoutez cette propriété */
    width: 1280px;
    height: 100px;
    background-color: #012544cb; /* 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 */
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.rectangle:hover {
    transform: translateY(-10px); /* Déplace le carré vers le haut de 10px au survol */
    background-color: #124d82;
}

.moi {
    color:white;
    font-size: 16px;
    text-align: center;
    margin-bottom: 6px;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.mooc {
    color:white;
    font-size: 17px;
    text-align: center;
    margin-bottom: 6px;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}


.parcours{
    color:white;
    font-size: 31px;
    margin-top: 150px;
    margin-left: 30px;
    text-align: left;
    padding-bottom: 25px;
}

.carre:hover {
    transform: translateY(-10px); /* Déplace le carré vers le haut de 10px au survol */
    background-color: #124d82;
}

.intérêt{
    color:white !important;
    font-size: 33px !important;
    margin-top: 150px !important;
    margin-left: 30px !important;
    text-align: left !important;
    padding-bottom: 25px;
}

.identité{
    color:white;
    font-size: 33px;
    margin-top: 129px;
    margin-left: 0px;
    text-align: center;
}

.separation {
    width: 75%;
    height: 4px;
    background-color: white;
    margin: 20px auto;
    position: absolute;
    left: 13%;
    bottom: 10px;
    
}

/* Style général du footer */
.footer {
    background-color: #012544cb; /* Couleur de fond */
    color: white; /* Couleur du texte */
    font-family: Arial, sans-serif; /* Police de caractères */
}

/* Conteneur principal pour les blocs */
.footer-container {
    display: flex; /* Utilisation de Flexbox pour aligner les blocs */
    justify-content: space-around; /* Espacement égal entre les blocs */
    width: 1200px; /* Largeur maximale du conteneur */
    margin: 0 auto; /* Centrage horizontal */
}

/* Style des blocs individuels */
.footer-block {
    flex: 1; /* Chaque bloc prend une part égale de l'espace */
    margin: 0 10px; /* Espacement entre les blocs */
    text-align: center; /* Centrage du texte */
}

/* Style des titres */
.footer-block h3 {
    margin-bottom: 10px; /* Espacement sous le titre */
    font-size: 1.2em; /* Taille de la police */
}

/* Style des paragraphes */
.footer-block p {
    font-size: 0.9em; /* Taille de la police */
    line-height: 1.6; /* Hauteur de ligne */
}

.separation2 {
    width: 75%;
    height: 4px;
    background-color: white;
    margin: 20px auto;
    position: absolute;
    left: 13%;
    bottom: -30rem;
    
}

.icone-moi {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white
}

.icone {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white
}

.iconemooc {
    position: absolute;
    right: -30px;
    color: white
}

.decouvrir {
    color: white;
    border: 1px solid white;
    display: inline-block;
    padding: 10px;
    font-size: 19px;
    margin: 0px;
    font-family: "Poppins", sans-serif;
}

.decouvrir1 {
    color: white;
    border: 1px solid white;
    display: inline-block;
    padding: 10px;
    font-size: 19px;
    margin: 0px;
    font-family: "Poppins", sans-serif;
}

.decouvrir2 {
    color: white;
    border: 1px solid white;
    display: inline-block;
    padding: 10px;
    font-size: 19px;
    margin: 0px;
    font-family: "Poppins", sans-serif;
}

.decouvrir3 {
    color: white;
    border: 1px solid white;
    display: inline-block;
    padding: 10px;
    font-size: 19px;
    margin: 0px;
    font-family: "Poppins", sans-serif;
}

.decouvrir4 {
    color: white;
    border: 1px solid white;
    display: inline-block;
    padding: 10px;
    font-size: 19px;
    margin: 0px;
    font-family: "Poppins", sans-serif;
}

#logo-IN {
    width: 40px;
    height: 40px;
    position: absolute;
    margin-top: 10px;
    margin-left: 84rem;
}

#logo-root {
    width: 40px;
    height: 40px;
    position: absolute;
    margin-top: 10px;
    margin-left: 80rem;
}

#logo-try {
    width: 40px;
    height: 40px;
    position: absolute;
    margin-top: 10px;
    margin-left: 88rem;
    background-color: #fff;
    border-radius: 3px;
    background-size: cover;
}

@media screen and (min-width: 1024px) {
  
    #selection {
        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%);
    }  

    .connexion{

        position: absolute;
        margin-top: 9rem;
        margin-left: 2rem;
        font-size: 25px;
    }
}

@media screen and (min-height: 821px) 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: 40px;
        font-size: 40px;
        bottom: 10px
    } 
}


@media screen and (min-width: 769px) and (max-height: 820px) {
  
    .separation {
        width: 75%;
        position: relative;
        margin-top: 20px;
        margin-bottom: 20px;
        left: 0;
        transform: none;
        width: 75%;
    }

    .textetrais {
        color: white;
        text-align: center;
        position: relative;
        margin-top: 90px;
        font-size: 40px;
        bottom: 10px
    }    
}
 
@media screen and (min-width: 390px) and (max-width: 768px) {

    #selection {
        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: 35%;
        transform: translateX(-50%);
    }   

    .connexion{

        position: absolute;
        margin-top: -3rem;
        margin-left: 38rem;
        font-size: 25px;
        display: none;
    }

    .parcours{
        color:white;
        font-size: 26px;
        margin-top: 150px;
        margin-left: 30px;
        text-align: left;
        padding-bottom: 25px;
    }

    .intérêt{
        color:white !important;
        font-size: 27px !important;
        margin-top: 150px !important;
        margin-left: 30px !important;
        text-align: left !important;
        padding-bottom: 25px;
    }
    
    .identité{
        color:white;
        font-size: 30px;
        margin-top: 129px;
        margin-left: 0px;
        text-align: center;
    }

    .icone {
        position: absolute;
        top: 20px;
        right: 35%;
        color: white
    }
    
    .icone-moi {
        position: absolute;
        top: 10px;
        right: 10px;
        color: white
    }
    
    .iconemooc {
        position: absolute;
        margin-right: 2rem;
        margin-top: 30px;
        height: 90px;
        color: white
    }
    
    .decouvrir {
        color: white;
        border: 1px solid white;
        display: inline-block;
        padding: 8px;
        font-size: 15px;
        margin: 0px;
        font-family: "Poppins", sans-serif;
    }
    
    .decouvrir1 {
        color: white;
        border: 1px solid white;
        display: inline-block;
        padding: 10px;
        font-size: 19px;
        margin-top: 0px;
        font-family: "Poppins", sans-serif;
    }
    
    .decouvrir2 {
        color: white;
        border: 1px solid white;
        display: inline-block;
        padding: 10px;
        font-size: 19px;
        margin-top: 0px;
        font-family: "Poppins", sans-serif;
    }
    
    .decouvrir3 {
        color: white;
        border: 1px solid white;
        display: inline-block;
        padding: 10px;
        font-size: 19px;
        margin-top: 0px;
        font-family: "Poppins", sans-serif;
    }
    
    .decouvrir4 {
        color: white;
        border: 1px solid white;
        display: inline-block;
        padding: 8px;
        font-size: 15px;
        margin: 0px;
        font-family: "Poppins", sans-serif;
    }

    #logo-IN {
        width: 30px;
        height: 30px;
        position: absolute;
        margin-top: 20px;
        margin-left: 20px;
    }
    
    #logo-root {
        width: 30px;
        height: 30px;
        position: absolute;
        margin-top: 20px;
        margin-left: 60px;
    }
    
    #logo-try {
        width: 30px;
        height: 30px;
        position: absolute;
        margin-top: 20px;
        margin-left: 100px;
        background-color: #fff;
        border-radius: 3px;
        background-size: cover;
    }
    
}