.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: url('baniere.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 */
}

.baniére {
    position: fixed;
    top: 15%;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(rgb(29, 12, 116), rgb(8, 5, 20));
    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 */
}

.suitebaniére {
    position: fixed;
    top: 45%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(8, 5, 20);
    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-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: 2; /* 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; 
    left: 0%
}

.petiteseparation2 {
    width: 25%;
    height: 4px;
    background-color: white;
    position: absolute; /* position absolue pour placer la ligne */
    right: 0%; /* distance de 25% depuis la droite */
}

#titre {
    color: white;
    font-size: 40px;
    display: flex;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

#sous-titre {
    color: white;
    font-size: 20px;
    display: flex;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}
.zone:hover {
    transform: translateY(-10px); /* Déplace le carré vers le haut de 10px au survol */
    background-color: #254d6f;
}

#selection {
    text-align: center; /* Aligner les éléments au centre horizontalement */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

}

.texte-explicatif {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0; /* Le texte est initialement invisible */
    transition: opacity 0.3s ease; /* Animation de transition */
    background-color: rgba(0, 0, 0, 0.752);
    padding: 10px;
    border-radius: 5px;
    font-size: 11px;
    color: rgb(210, 206, 206);
    white-space: nowrap;
    text-align: left;
    width: 280px; /* Largeur de la bulle */
    height: 220px; /* Hauteur de la bulle */
    border-radius: 30px; /* Arrondir les bords */
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.veille1 {
    margin-left: -40rem; /* Marge fixe en unité rem ou px */
    margin-top: -23rem;
    width: 300px;
    height: 250px;
    background-image: url('attaque_lycee.avif');
    background-size: cover; /* Redimensionne l'image pour couvrir tout l'arrière-plan */
    background-position: center; /* Centre l'image sur l'arrière-plan */
    background-repeat: no-repeat; /* Ne pas répéter l'image */
    border: 1px solid rgb(255, 255, 255);
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.barre-horizontal {
    width: 10rem;
    height: 12px;
    background-color: #2f608c;
    border-radius: 5px; /* Arrondi les bords */
    position: absolute;
    margin-top: 0.5rem;
    z-index: 1;
}

.barre-horizontal10 {
    width: 7rem;
    height: 12px;
    background-color: #5186b5;
    border-radius: 5px; /* Arrondi les bords */
    position: absolute;
    margin-top: 0.5rem;
    z-index: 1;
}

.barre-horizontal9 {
    width: 9rem;
    height: 12px;
    background-color: #5186b5;
    border-radius: 5px; /* Arrondi les bords */
    position: absolute;
    margin-top: 0.5rem;
    z-index: 1;
}

.barre-horizontal8 {
    width: 8rem;
    height: 12px;
    background-color: #5186b5;
    border-radius: 5px; /* Arrondi les bords */
    position: absolute;
    margin-top: 0.5rem;
    z-index: 1;
}

.barre-horizontal7 {
    width: 7rem;
    height: 12px;
    background-color: #5186b5;
    border-radius: 5px; /* Arrondi les bords */
    position: absolute;
    margin-top: 0.5rem;
    z-index: 1;
}

.barre-horizontal6 {
    width: 6rem;
    height: 12px;
    background-color: #5186b5;
    border-radius: 5px; /* Arrondi les bords */
    position: absolute;
    margin-top: 0.5rem;
    z-index: 1;
}

.texte-barre {
    position: absolute;
    left: calc(56% + 0.5rem); /* Place le texte à droite de la barre */
    top: 13.2rem;
    transform: translateY(-50%);
    color: #ffffff; /* Assure que le texte a une couleur similaire à celle de la barre */
}

#barre-recherche {
    margin-bottom: 20px;
    margin-top: 50px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40rem;
    z-index: 1000;
}

.veille1:hover .texte-explicatif {
    opacity: 1; /* Rend le texte explicatif visible au survol */
}

.veille2 {
    position: absolute; /* Élément fixe par rapport à la fenêtre du navigateur */
    margin-top: -23rem; /* Marge fixe en unité rem ou px */
    width: 300px;
    height: 250px;
    background-image: url('cybersecurite.jpeg');
    background-size: cover; /* Redimensionne l'image pour couvrir tout l'arrière-plan */
    background-position: center; /* Centre l'image sur l'arrière-plan */
    background-repeat: no-repeat; /* Ne pas répéter l'image */
    border: 1px solid rgb(255, 255, 255);
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.texte-barre2 {
    position: absolute;
    left: calc(56% + 0.5rem); /* Place le texte à droite de la barre */
    top: 12.8rem;
    transform: translateY(-50%);
    color: #ffffff; /* Assure que le texte a une couleur similaire à celle de la barre */
}

.veille2:hover .texte-explicatif {
    opacity: 1; /* Rend le texte explicatif visible au survol */
}

.veille3 {
    position: absolute; /* Élément fixe par rapport à la fenêtre du navigateur */
    margin-top: -23rem; /* Marge fixe en unité rem ou px */
    margin-right: -40rem; /* Marge fixe en unité rem ou px */
    width: 300px;
    height: 250px;
    background-image: url('france_travail.webp');
    background-size: cover; /* Redimensionne l'image pour couvrir tout l'arrière-plan */
    background-position: center; /* Centre l'image sur l'arrière-plan */
    background-repeat: no-repeat; /* Ne pas répéter l'image */
    border: 1px solid rgb(255, 255, 255);
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.texte-barre3 {
    position: absolute;
    left: calc(56% + 0.5rem); /* Place le texte à droite de la barre */
    top: 12.8rem;
    transform: translateY(-50%);
    color: #ffffff; /* Assure que le texte a une couleur similaire à celle de la barre */
}

.veille3:hover .texte-explicatif {
    opacity: 1; /* Rend le texte explicatif visible au survol */
}

.veille4 {
    position: absolute; /* Élément fixe par rapport à la fenêtre du navigateur */
    margin-top: 10rem; /* Marge fixe en unité rem ou px */
    margin-right: 40rem; /* Marge fixe en unité rem ou px */
    width: 300px;
    height: 250px;
    background-image: url('musee.jpg');
    background-size: cover; /* Redimensionne l'image pour couvrir tout l'arrière-plan */
    background-position: center; /* Centre l'image sur l'arrière-plan */
    background-repeat: no-repeat; /* Ne pas répéter l'image */
    border: 1px solid rgb(255, 255, 255);
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.texte-barre4 {
    position: absolute;
    left: calc(56% + 0.5rem); /* Place le texte à droite de la barre */
    top: 11.2rem;
    transform: translateY(-50%);
    color: #ffffff; /* Assure que le texte a une couleur similaire à celle de la barre */
}

.veille4:hover .texte-explicatif {
    opacity: 1; /* Rend le texte explicatif visible au survol */
}

.veille5 {
    position: absolute; /* Élément fixe par rapport à la fenêtre du navigateur */
    margin-top: 10rem; /* Marge fixe en unité rem ou px */
    width: 300px;
    height: 250px;
    background-image: url('ministere.jpg');
    background-size: cover; /* Redimensionne l'image pour couvrir tout l'arrière-plan */
    background-position: center; /* Centre l'image sur l'arrière-plan */
    background-repeat: no-repeat; /* Ne pas répéter l'image */
    border: 1px solid rgb(255, 255, 255);
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.texte-barre5 {
    position: absolute;
    left: calc(56% + 0.5rem); /* Place le texte à droite de la barre */
    top: 12.7rem;
    transform: translateY(-50%);
    color: #ffffff; /* Assure que le texte a une couleur similaire à celle de la barre */
}

.veille5:hover .texte-explicatif {
    opacity: 1; /* Rend le texte explicatif visible au survol */
}

.veille6 {
    position: absolute; /* Élément fixe par rapport à la fenêtre du navigateur */
    margin-top: 10rem; /* Marge fixe en unité rem ou px */
    margin-right:-40rem; /* Marge fixe en unité rem ou px */
    width: 300px;
    height: 250px;
    background-image: url('sante.webp');
    background-size: cover; /* Redimensionne l'image pour couvrir tout l'arrière-plan */
    background-position: center; /* Centre l'image sur l'arrière-plan */
    background-repeat: no-repeat; /* Ne pas répéter l'image */
    border: 1px solid rgb(255, 255, 255);
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.texte-barre6 {
    position: absolute;
    left: calc(56% + 0.5rem); /* Place le texte à droite de la barre */
    top: 13.2rem;
    transform: translateY(-50%);
    color: #ffffff; /* Assure que le texte a une couleur similaire à celle de la barre */
}

.veille6:hover .texte-explicatif {
    opacity: 1; /* Rend le texte explicatif visible au survol */
}

.veille7 {
    position: absolute; /* Élément fixe par rapport à la fenêtre du navigateur */
    margin-top: -23rem; /* Marge fixe en unité rem ou px */
    margin-right: 40rem; /* Marge fixe en unité rem ou px */
    width: 300px;
    height: 250px;
    background-image: url('JO.png');
    background-size: cover; /* Redimensionne l'image pour couvrir tout l'arrière-plan */
    background-position: center; /* Centre l'image sur l'arrière-plan */
    background-repeat: no-repeat; /* Ne pas répéter l'image */
    border: 1px solid rgb(255, 255, 255);
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.texte-barre7 {
    position: absolute;
    left: calc(56% + 0.5rem); /* Place le texte à droite de la barre */
    top: 12.8rem;
    transform: translateY(-50%);
    color: #ffffff; /* Assure que le texte a une couleur similaire à celle de la barre */
}

.veille7:hover .texte-explicatif {
    opacity: 1; /* Rend le texte explicatif visible au survol */
}

.veille8 {
    position: absolute; /* Élément fixe par rapport à la fenêtre du navigateur */
    margin-top: -23rem; /* Marge fixe en unité rem ou px */
    margin-right: 0rem; /* Marge fixe en unité rem ou px */
    width: 300px;
    height: 250px;
    background-image: url('veille8.jpg');
    background-size: cover; /* Redimensionne l'image pour couvrir tout l'arrière-plan */
    background-position: center; /* Centre l'image sur l'arrière-plan */
    background-repeat: no-repeat; /* Ne pas répéter l'image */
    border: 1px solid rgb(255, 255, 255);
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.texte-barre8 {
    position: absolute;
    left: calc(56% + 0.5rem); /* Place le texte à droite de la barre */
    top: 12.7rem;
    transform: translateY(-50%);
    color: #ffffff; /* Assure que le texte a une couleur similaire à celle de la barre */
}

.veille8:hover .texte-explicatif {
    opacity: 1; /* Rend le texte explicatif visible au survol */
}

.veille9 {
    position: absolute; /* Élément fixe par rapport à la fenêtre du navigateur */
    margin-top: -23rem; /* Marge fixe en unité rem ou px */
    margin-right: -40rem; /* Marge fixe en unité rem ou px */
    width: 300px;
    height: 250px;
    background-image: url('musee.jpg');
    background-size: cover; /* Redimensionne l'image pour couvrir tout l'arrière-plan */
    background-position: center; /* Centre l'image sur l'arrière-plan */
    background-repeat: no-repeat; /* Ne pas répéter l'image */
    border: 1px solid rgb(255, 255, 255);
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.veille9:hover .texte-explicatif {
    opacity: 1; /* Rend le texte explicatif visible au survol */
}

.texte-barre9 {
    position: absolute;
    left: calc(56% + 0.5rem); /* Place le texte à droite de la barre */
    top: 12.7rem;
    transform: translateY(-50%);
    color: #ffffff; /* Assure que le texte a une couleur similaire à celle de la barre */
}

.veille10 {
    position: absolute; /* Élément fixe par rapport à la fenêtre du navigateur */
    margin-top: 11rem; /* Marge fixe en unité rem ou px */
    margin-right: 40rem; /* Marge fixe en unité rem ou px */
    width: 300px;
    height: 250px;
    background-image: url('panne.webp');
    background-size: cover; /* Redimensionne l'image pour couvrir tout l'arrière-plan */
    background-position: center; /* Centre l'image sur l'arrière-plan */
    background-repeat: no-repeat; /* Ne pas répéter l'image */
    border: 1px solid rgb(255, 255, 255);
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.texte-barre10 {
    position: absolute;
    left: calc(56% + 0.5rem); /* Place le texte à droite de la barre */
    top: 11.8rem;
    transform: translateY(-50%);
    color: #ffffff; /* Assure que le texte a une couleur similaire à celle de la barre */
}

.veille10:hover .texte-explicatif {
    opacity: 1; /* Rend le texte explicatif visible au survol */
}

.veille11 {
    position: absolute; /* Élément fixe par rapport à la fenêtre du navigateur */
    margin-top: 11rem; /* Marge fixe en unité rem ou px */
    margin-right: 0rem; /* Marge fixe en unité rem ou px */
    width: 300px;
    height: 250px;
    background-image: url('hacker.jpg');
    background-size: cover; /* Redimensionne l'image pour couvrir tout l'arrière-plan */
    background-position: center; /* Centre l'image sur l'arrière-plan */
    background-repeat: no-repeat; /* Ne pas répéter l'image */
    border: 1px solid rgb(255, 255, 255);
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.texte-barre11 {
    position: absolute;
    left: calc(56% + 0.5rem); /* Place le texte à droite de la barre */
    top: 12.8rem;
    transform: translateY(-50%);
    color: #ffffff; /* Assure que le texte a une couleur similaire à celle de la barre */
}

.veille11:hover .texte-explicatif {
    opacity: 1; /* Rend le texte explicatif visible au survol */
}

.veille12 {
    position: absolute; /* Élément fixe par rapport à la fenêtre du navigateur */
    margin-top: 11rem; /* Marge fixe en unité rem ou px */
    margin-right: -40rem; /* Marge fixe en unité rem ou px */
    width: 300px;
    height: 250px;
    background-image: url('hacker.jpg');
    background-size: cover; /* Redimensionne l'image pour couvrir tout l'arrière-plan */
    background-position: center; /* Centre l'image sur l'arrière-plan */
    background-repeat: no-repeat; /* Ne pas répéter l'image */
    border: 1px solid rgb(255, 255, 255);
    transition: transform 0.3s ease; /* Animation de transition */
    border-radius: 30px; /* Arrondir les bords */
}

.texte-barre12 {
    position: absolute;
    left: calc(56% + 0.5rem); /* Place le texte à droite de la barre */
    top: 12.8rem;
    transform: translateY(-50%);
    color: #ffffff; /* Assure que le texte a une couleur similaire à celle de la barre */
}

.veille12:hover .texte-explicatif {
    opacity: 1; /* Rend le texte explicatif visible au survol */
}

.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%);
}

.textetrais {
    color: white;
    text-align: center;
    position: relative;
    bottom: 30px; /* Ajustement de votre valeur d'origine */
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    margin-bottom: -80px;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.carousel-container {
    position: relative;
    width: 200%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Centrer les éléments */
    align-items: center;
}

.slide a {
    width: 30%; /* Ajustez cette valeur en fonction du nombre d'éléments */
    height: 250px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

div.slide.active {
    width: 1200px; /* augmente la largeur */
    height: 500px; /* augmente la hauteur */
    margin-top: 12rem;
    display: flex;
}

button.prev, button.next {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

button.prev {
    left: -10px;
}

button.next {
    right: -10px;
}

@media screen and (max-height: 780px) {

    .baniére {
        position: fixed;
        top: 19%;
        left: 0;
        width: 100%;
        height: 26%;
        background: linear-gradient(rgb(29, 12, 116), rgb(8, 5, 20));
        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 */
    }

    #titre {
        color: white;
        text-align: center;
        font-size: 60px;
    }

}

@media screen and (max-width: 1024px) {

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 22%;
        background: url('baniere.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 */
    }

    .baniére {
        position: fixed;
        top: 22%;
        left: 0;
        width: 100%;
        height: 26%;
        background: linear-gradient(rgb(29, 12, 116), rgb(8, 5, 20));
        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 */
    }

    #titre {
        color: white;
        text-align: center;
        font-size: 50px;
    }

    .suitebaniére {
        position: fixed;
        top: 47%;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(8, 5, 20);
        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 */
    }
}

@media screen and (max-height: 840px) {

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 22%;
        background: url('baniere.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 */
    }

    .baniére {
        position: fixed;
        top: 22%;
        left: 0;
        width: 100%;
        height: 26%;
        background: linear-gradient(rgb(29, 12, 116), rgb(8, 5, 20));
        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 */
    }

    #titre {
        color: white;
        text-align: center;
        font-size: 45px;
    }

    .suitebaniére {
        position: fixed;
        top: 47%;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(8, 5, 20);
        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 */
    }

    .separation {
        margin: calc(20vh - 50px) auto 30px;
    }

    /* Réajustement de la position du texte "textetrais" */
    .textetrais {
        bottom: 0rem;
    }

    #barre-recherche {
        margin-bottom: 20px;
        margin-top: 50px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

}


@media screen and (max-width: 768px) {

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 0%;
        background: url('baniere.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 */
    }
    
    .baniére {
        position: fixed;
        top: 0%;
        left: 0;
        width: 100%;
        height: 47%;
        background: linear-gradient(rgb(29, 12, 116), rgb(8, 5, 20));
        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 */
    }

    #titre {
        color: white;
        text-align: center;
        font-size: 40px;
    }

    #barre-recherche {
        margin-bottom: 20px;
        margin-top: 25px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    div.slide.active {
        display: flex;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        position: relative;
    }

    /* Réajustement de la position de la séparation */
    .separation {
        margin: calc(22vh - 50px) auto 30px;
    }

    /* Réajustement de la position du texte "textetrais" */
    .textetrais {
        bottom: -50px;
    }

}