.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;
}

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;
}

.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 */
}

#titlemooc {
    color: #fff;
    display: flex;
    justify-content: center;
    font-size: 50px;
    font-style: normal;
    font-weight: 200;
    font-family: "Poppins", sans-serif;
}
.slots {
    display: flex;
    justify-content: center;
    margin-top: 6rem;
    gap: 5rem;
    flex-wrap: wrap;
}

.title-slot {
    font-size: 25px;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgb(0, 0, 0); /* Flou autour du texte */
}

.slot1, .slot2, .slot3, .slot4 {
    width: 200px;
    height: 500px;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.slot1 {
    background-image: url(cybermalveillance.webp);
    background-size: cover; /* Ajuste l'image pour couvrir tout le conteneur */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    border-radius: 30px;
}

.slot2 {
    background-image: url(CNIL.png);
    background-size: cover; /* Ajuste l'image pour couvrir tout le conteneur */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    opacity: 0.9;
    border-radius: 30px;
}

.slot3 {
    background-image: url(ANSSI.png);
    background-size: cover; /* Ajuste l'image pour couvrir tout le conteneur */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    opacity: 0.9;
    border-radius: 30px;
}

.slot4 {
    background-image: url(INR.png);
    background-size: cover; /* Ajuste l'image pour couvrir tout le conteneur */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    border-radius: 30px;
    opacity: 0.8;
}

.iframe-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Assure que l'iframe est au-dessus des autres éléments */
}

.iframe-overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Assure que l'iframe est au-dessus des autres éléments */
}

.iframe {
    width: 80%;
    height: 80%;
    border: none;
    display: none; /* Caché par défaut */
}

#iframe4 {
    width: 80%;
    height: 80%;
    margin-left: 38rem;
    border: none;
    display: none; /* Caché par défaut */
}