.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('use.png') 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;
    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: 30px ;
    color: #fff;
    padding-left: 0px;
    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;
}

.petiteseparation {
    width: 25%;
    height: 4px;
    background-color: white;
    position: absolute;
    margin-top: -5rem;
    left: 0%
}

.petiteseparation2 {
    width: 25%;
    height: 4px;
    margin-top: -5rem;
    background-color: white;
    position: absolute; /* position absolue pour placer la ligne */
    right: 0%; /* distance de 25% depuis la droite */
}

#backButton1 {
    position: absolute;
    border: 2px solid white;
    width: 100px;
    height: 50px;
    font-size: 20px;
    margin-top: -3rem;
    margin-left:2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: transparent;
    color: #ffff;
    text-align: right;
    border-radius: 30px; /* Arrondir les bords */
    z-index: 1;
    cursor: pointer;
}

.title {
    color: white;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    display: flex;
    justify-content: center;
    margin-top: 5rem;
    font-size: 30px;

}

.context {
    color: white;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    font-size: 18px;
    margin-left: 20rem;
    margin-right: 20rem;
    margin-bottom: 0;
}

.doc {
    color: white;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    display: flex;
    justify-content: center;
    margin-top: 0rem;
    font-size: 30px;
}

u {
    color: #fff;
}

.case1 {
    background-color: #fff;
    width: 700px;
    height: 55px;
    border-radius: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    display: flex;
    justify-content: center;
}

.case1-doc {
    background-color: #2a5fc9b6;
    width: 700px;
    height: 300px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#objectif {
    color: white;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
    display: flex;
    justify-content: center;
    font-size: 15px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 0px;
}
.boutton-place {
    display: flex;
    margin-top: 30px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5rem;
    
}
#plan-ip {
    border: 2px solid white;
    width: 215px;
    height: 50px;
    font-size: 18px;
    background-color: transparent;
    color: #ffff;
    border-radius: 30px; /* Arrondir les bords */
    z-index: 1;
    cursor: pointer;
}

#Topologie {
    border: 2px solid white;
    width: 215px;
    height: 50px;
    font-size: 18px;
    background-color: transparent;
    color: #ffff;
    border-radius: 30px; /* Arrondir les bords */
    z-index: 1;
    cursor: pointer;
}

#doc1 {
    border: 2px solid white;
    width: 215px;
    height: 50px;
    font-size: 18px;
    background-color: transparent;
    color: #ffff;
    border-radius: 30px; /* Arrondir les bords */
    z-index: 1;
    cursor: pointer;
}

.text1 {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: black;
}

.case2 {
    background-color: #fff;
    width: 700px;
    height: 55px;
    border-radius: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    display: flex;
    justify-content: center;
}

.case2-doc {
    background-color: #2a5fc9b6;
    width: 700px;
    height: 300px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#doc2 {
    border: 2px solid white;
    width: 215px;
    height: 50px;
    font-size: 18px;
    background-color: transparent;
    color: #ffff;
    border-radius: 30px; /* Arrondir les bords */
    z-index: 1;
    cursor: pointer;
}

.text2 {
    padding-top: 15px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: black;
}

.placement {
    display: flex;
    margin-top: 30px;
    align-items: center;
    justify-content: center;
    gap: 50px
}

.placement1 {
    display: flex;
    margin-top: 30px;
    align-items: center;
    flex-direction: column;
}

.placement2 {
    display: flex;
    margin-top: 30px;
    align-items: center;
    flex-direction: column;
}

.separation {
    width: 75%;
    height: 4px;
    background-color: white;
    margin: calc(10vh - 50px) auto 30px; /* 50px d'espace entre la séparation et le bas de l'écran */
    position: relative;
    left: 38%;
    transform: translateX(-50%);
    bottom: -10rem;
}

.textetrais {
    color: white;
    text-align: center;
    position: relative;
    bottom: 50rem; /* Ajustement de votre valeur d'origine */
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

@media screen and (min-width: 1537px) {

    .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: rgb(169, 0, 0);
        position: absolute; /* position absolue pour placer la ligne */
        right: 0%; /* distance de 25% depuis la droite */
    }

}

@media screen and (max-width: 864px) and (max-width: 1537px) {

    .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: rgb(169, 0, 0);
        position: absolute; /* position absolue pour placer la ligne */
        right: 0%; /* distance de 25% depuis la droite */
    }

}
@media screen and (min-width: 425px) and (max-width: 864px) {

    .textetrais {
        color: white;
        text-align: center;
        position: relative;
        bottom: -10rem; /* Ajustement de votre valeur d'origine */
        left: 50%;
        transform: translateX(-50%);
        font-size: 40px;
        font-family: "Poppins", sans-serif;
        font-weight: 200;
        font-style: normal;
    }
}

@media screen and (min-width: 865px) and (max-width: 1312px) {

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('use.png') 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;
        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: 30px ;
        color: #fff;
        padding-left: 0px;
        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;
    }
    
    .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 */
    }
    
    #backButton1 {
        position: absolute;
        border: 2px solid white;
        width: 100px;
        height: 50px;
        font-size: 20px;
        margin-top: 1rem;
        margin-left:2rem;
        padding-left: 1rem;
        padding-right: 1rem;
        background-color: transparent;
        color: #ffff;
        text-align: right;
        border-radius: 30px; /* Arrondir les bords */
        z-index: 1;
        cursor: pointer;
    }
    
    .separation {
        width: 75%;
        height: 4px;
        background-color: white;
        margin: calc(10vh - 50px) auto 30px; /* 50px d'espace entre la séparation et le bas de l'écran */
        position: relative;
        left: 38%;
        transform: translateX(-50%);
        bottom: -10rem;
    }
    
    .textetrais {
        color: white;
        text-align: center;
        position: relative;
        bottom: -10rem; /* Ajustement de votre valeur d'origine */
        left: 50%;
        transform: translateX(-50%);
        font-size: 40px;
        font-family: "Poppins", sans-serif;
        font-weight: 200;
        font-style: normal;
    }
}
