[Enter code here]@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none; /* Vérifiez que c'est bien présent */
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  #popup-image:hover {
    transform: scale(1.1);
  }

  .popup-content {
    display: flex;
    background: rgb(231, 231, 231);
    width: 100%;
    max-width: 1500px;
    height: 85%;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
  }

  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 68px;
    cursor: pointer;
    color: black;
  }

  .marker {
    position: relative;
    width: 15px;
    height: 15px;
    background-color:  rgba(41, 242, 128, 1);
    border-radius: 50%;
    animation: blink 1s infinite;
    cursor: pointer;
    top: -72%;
    left: 35%;
    transform: translate(-50%, -50%);
  }
/* Lightbox container */
.lightbox {
  display: none; /* Caché par défaut */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8); /* Fond sombre semi-transparent */
  z-index: 1000; /* Superposition au-dessus du reste */
  justify-content: center;
  align-items: center;
}

/* Image agrandie dans la lightbox */
.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Bouton de fermeture */
.close-lightbox {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}


  #paragraph-marker {

    cursor: pointer;
    text-decoration: underline;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  


  #popup2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: none; /* Vérifiez que c'est bien présent */
    z-index: 1000;
  }
  
  #popup2 .popup-content {
    background: rgb(231, 231, 231);
    color: black;
    width: 32%; /* Réduit la largeur */
    max-width: 800px;
    height: 100%; /* Plus petite que la première */
    border-radius: 16px; /* Coins plus arrondis */
    padding: 30px;
    margin-left: 68%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  }

  #close-btn2 {
    position: absolute;
    top: -12%;
    right: -6%;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: rgb(86, 86, 86);
    font-family: "PropCourier";
  }

  #popup3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: none; /* Vérifiez que c'est bien présent */
    z-index: 1000;
  }
  
  #popup3 .popup-content {
    background: rgb(231, 231, 231);
    color: black;
    width: 100%; /* Réduit la largeur */
    max-width: 100%;
    height: 50%; /* Plus petite que la première */
    border-radius: 16px; /* Coins plus arrondis */
    padding: 30px;
    margin-left: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  }

  #close-btn3 {
    position: absolute;
    top: -12%;
    right: -6%;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: rgb(86, 86, 86);
    font-family: "PropCourier";
  }

  .soindeschoses{
cursor: pointer;
  }
  

.popup-header {
    text-align: center;
    margin-bottom: 10px; /* Espace sous le trait */
    position: relative; /* Pour positionner le trait */
    top: -3%;

  }
  
  .popup-header h1 {
    font-size: 28px; /* Taille du texte */
    padding: 5px 0; /* Espacement vertical */
    color: #333; /* Couleur du texte */
    text-align: left;
    font-family: "PropCourier";
    text-transform: uppercase;
  }
  
  /* Trait sous le texte */
  .popup-header::after {
    content: '';
    display: block;
    width: 120%; /* Longueur du trait */
    height: 2px; /* Épaisseur du trait */
    background-color: rgb(186, 186, 186); /* Couleur du trait */
    margin-left: -6%; /* Centre le trait */
    margin-top: 0px; /* Espace entre le texte et le trait */


  }

  .hidden-section {
    position: fixed;
display: flex;
    top: 120%; /* Placée en dehors de l'écran */
    left: 0;
    width: 100%;
    height: 100%;
    padding-left: 0%;

    padding-top: 15%;
    background: rgb(0, 92, 52); 
    z-index: 1000; /* S'affiche au-dessus des autres éléments */

    transform: translateY(100%); /* Initialement caché à gauche */

    transition: top 0.5s ease-in-out; /* Transition douce */
  }

  #eniarof{
    position: absolute;
    top:22%;
  width: 49%;
left: 48%;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 

  }

  #eniarof:hover {
    transform: scale(1.15); /* Agrandir l'image à 120% */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Ajout d'une ombre douce pour l'effet */
}

#quadrature:hover {
  transform: scale(1.15); /* Agrandir l'image à 120% */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Ajout d'une ombre douce pour l'effet */
}

  #quadrature{
    top:22%;
    position: absolute;
    width: 43.5%;
    left: 3%;
    height: auto;

    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    }
  
  .hidden-section.visible {
    top: 0; /* Se positionne en plein écran */
  }
  
 
  
  .hidden-section.active h2, 
  .hidden-section.active p {
    opacity: 1; /* Texte visible */
  }
  

  .footer-text {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
  }
 

/* Zone de survol */
.bottom-hover-area {
    position: relative;
    margin-top: 40px;
    left: 0;
    width: 100%;
    height: 50px; /* Zone étendue pour le clic */

    z-index: 998;
    pointer-events: auto; /* Assure que les clics sont actifs */

    
  }
  


  .arrow-container {
    opacity: 0; /* Par défaut, les flèches sont invisibles */
    display: flex; /* Toujours en flex pour leur positionnement */
    gap: 225px; /* Espacement entre les flèches */
    transition: opacity 0.5s ease-in-out; /* Transition fluide de l'opacité */
    width: 70%;
    padding: 10px;
  }
  
  .bottom-hover-area:hover .arrow-container {
    opacity: 1; /* Les flèches deviennent visibles au survol */
  }
  /* Apparence des flèches */
  .arrow {
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
    cursor: pointer;


  }
  
 
  .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease-in-out;
  }
  
  .close-btn:hover {
    color: #555;
  }


  .popup-title {
    margin-bottom: 20px;
    text-align: center;
  }
  
  /* Gallery styles */
  .image-gallery {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgb(201, 201, 201);



  }
  

 


 
  
  .image-container {
    display: flex;
    width: 200px;
    flex-direction: column;
    align-items: center;

    flex: 1;
    margin: 0 10px;

  }
  .image-container img {
    width: 100%;
    max-height: 80%;
    object-fit: contain;
    cursor: pointer;
  }
  
  .image-container p {
    margin: 10px 0;
    text-align: center;
  }
  
  .image-container figcaption {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: #555;
  }


  .idden.enlarged {
    transform: scale(1.8);
    transition: transform 0.3s ease-in-out;
    z-index: 1100;
    box-shadow: none; /* Supprime l'ombre */
    border: none;
    position: relative;
  }

  .popup-image.enlarged {
    transform: scale(2);
    transition: transform 0.3s ease-in-out;
    z-index: 1100;
    box-shadow: none; /* Supprime l'ombre */
    border: none;
    position: relative;
  }



  
  /* Enlarged image */
  .gallery-image.enlarged {
    transform: scale(1.8);
    transition: transform 0.3s ease-in-out;
    z-index: 1100;
    box-shadow: none; /* Supprime l'ombre */
    border: none;
  }

  /* Enlarged image */
  .gallery-image2.enlarged {
    transform: scale(3.1);
    transition: transform 0.3s ease-in-out;
    z-index: 1100;
     box-shadow: none;
     border: none;
  }

  .gallery-image3.enlarged {
    transform: scale(3.1);
    transition: transform 0.3s ease-in-out;
    z-index: 1100;
     box-shadow: none;
     border: none;
  }


 
  .popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: #fff;
  width: 80%;
  height: 80%;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}


/* Pop-up */
.mindmap-popup {
    position: fixed;

    top: 0;
    left: 0;
    width: 68%;
    height: 100%;
    background: #fff;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    z-index: 1000;
  
 
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.281);
  }
  
  /* Bouton de fermeture */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
  }
  

  .mindmap {
    position: relative;
    width: 1000px;
    height: 700px;
    background-color: #ffffff;
   margin-left: -20%;
    z-index: 1;
    margin-top: 0%;
}



.node {
    position: absolute;
    width: 160px;
    height: 80px;

    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    font-size: 14px;
    font-weight: bold;
    transform: translate(-50%, -50%);
    font-family: "PropCourier";
    text-transform: uppercase;
}

.central {
  position: relative;
    background-color:rgb(41, 242, 128);
    color: #333;
    border-radius: 890px;
    width: 150px;
    height: 80px;
    font-size: 46px;
    top: 0%; /* Centrage vertical */
  left: 30%;
  z-index: 90000;

}

.line {
    position: absolute;
    background-color: rgb(0, 0, 0);
    transform-origin: top left;
    height: 2px;
    border-style:inset;
}


.line2 {
  position: absolute;
  background-color: rgb(0, 0, 0);

  height: 2px;
  border-style:none;
}


 .image-text{
  position: absolute;
  font-size: 50px;
  color:rgb(0, 133, 58);
  margin-bottom: 10px;
  top:15%;
  font-family: "Redaction";
  margin-right: 100px;

  
 }


 .image-text1{
  position: absolute;
  font-size: 50px;
color: blue; /* Support non-webkit */

  margin-bottom: 10px;
  top:15%;
  font-family: "Redaction";
  margin-right: 100px;


  
 }

 #img-sout{
  color:rgb(0, 133, 58);
}

#img-sout1{
  color: blue; 
  }

  #img-sout2{
    color:rgba(171, 5, 242, 1);
    }
  

 .image-text2{
  position: absolute;
  font-size: 50px;
  color:rgba(171, 5, 242, 1);

  margin-bottom: 10px;
  top:15%;
  font-family: "Redaction";
  margin-right: 100px;
  

  
 }





 .image100{
  border: 3px solid rgb(41, 242, 128);;
  box-shadow: 0 4px 8px rgba(41, 242, 128,  0.2);
}
.image101{
  border: 3px solid blue;
  box-shadow: 0 4px 8px rgba(0, 0, 255, 0.2);
}
.image102{
  border: 3px solid  rgba(171, 5, 242, 1);
  box-shadow: 0 4px 8px   rgba(171, 5, 242, 0.2);
}

 

 
.image-trigger {
    display: inline-block;
    text-align: center;
    cursor: pointer;
  }
  
  .image-trigger img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
  }
  
  .image-trigger img:hover {
    transform: scale(1.05); /* Zoom léger au survol */
  }
  
  .image-trigger figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
  }
  



/* Conteneur du deuxième pop-up avec bordures SVG animées */
.inner-popup {

  width: 80%;
  height: 100%;
  cursor: grab; 
    position: fixed;
    max-width: 100%;
    max-height: 100%;
    top: 70%;
    left: 50%;
 
    background-color: transparent;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transform: translate(-50%, -50%);
    padding: 0;
  margin: 0;
  border: none;


}


.inner-popup img {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Ombre douce et discrète */
  margin: 0; /* Supprime les marges */
  padding: 0; /* Supprime les espacements internes */
  display: block;
  border: none;
}

#popup5{
  background-color: transparent;
}




/* Style pour le pop-up */
#popup5 {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60%;

  
  border-radius: 8px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  z-index: 1000;

}


.popup-instance {
  z-index: 1000;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background: white;
}

#popup5.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.popup-image {
  width: 90%; /* S'adapte à la largeur du conteneur */
  height: auto; /* Maintient le ratio d'aspect */
  max-height: 100%; /* Ne dépasse pas la hauteur du conteneur */
  object-fit: contain; /* Ajuste l'image pour qu'elle s'inscrive entièrement dans le conteneur */
}


.roadmap {
  display: none; 
  position: fixed;
  top: 20px; /* Distance du haut de la page */
  left: 10px; /* Distance du côté gauche */
  width: 220px;
  background-color: #f8f9fa; /* Couleur de fond */
  border: 4px solid rgb(55, 54, 54); /* Bordure légère */
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre douce */
  z-index: 1000; /* Toujours au-dessus des autres éléments */
  overflow: hidden; /* Cache le contenu quand il est réduit */
  transition: max-height 0.5s ease;
}

.roadmap.collapsed {
  max-height: 50px; /* Hauteur réduite quand la classe "collapsed" est ajoutée */
}
.roadmap.show {
  display: block; /* Afficher la roadmap */
  opacity: 1; /* Rendre la roadmap visible */
}

.inner-popup:active {
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}



html {
  scroll-behavior: smooth;
}
.roadmap h2 {

  margin-bottom: 10px;
  color: rgb(0, 0, 0);
  text-align: center;
  font-size: 22px;
  font-family: "PropCourier";
  font-style:oblique
  
}

.roadmap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.roadmap li {
  margin-bottom: 10px;
}

.roadmap a {
  text-decoration: none;
  color:  rgba(2, 114, 103, 1);
  font-weight: bold;
  transition: color 0.3s;
  font-size: 18px;
  text-transform: uppercase;

  
}

.roadmap a:hover {
 color: rgba(41, 242, 128, 1);
}







.carousel {
  position: relative;
  overflow: hidden; /* Masque le contenu en dehors de la zone */
  width: 101%;
  height: 94%;

  border: 2px solid #ddd;
  border-radius: 10px;
  background: #fff;
}

.carousel-track {
  display: flex;
  gap: 5PX;
  animation: scroll 30s linear infinite;
  will-change: transform;
  width: max-content;
  width: calc(800px * 6); 
}

.carousel-image {
  width: 550px;
  height: auto;
  max-height: 800px;
  object-fit: cover;
  flex-shrink: 0;
}


@keyframes scroll {
  from {
      transform: translateX(0);
  }
  to {
      transform: translateX(-50%);
  }
}


.image-container figcaption{
  position: absolute;

  font-size: 22px;
  font-family: "PropCourier";
   top: 76%;
 text-transform: uppercase;

}





.close-btn {
  position: absolute; /* Positionnement relatif à la fenêtre */
margin: 0;
padding: 0;
  top: -60px; /* Distance depuis le haut de la fenêtre */
  right: -80px; /* Distance depuis le bord droit de la fenêtre */
  background: transparent; /* Fond transparent pour un look propre */
  border: none; /* Pas de bordure */
  font-size: 30px; /* Taille du bouton */
  cursor: pointer; /* Pointeur en mode clic */
  color: black; /* Couleur du texte */
}

/* Conteneur de texte */
#text-container {
  text-align: center;
  margin-bottom: 20px;
  transition: opacity 0.5s ease;
}

/* Masque les images au départ */
.idden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none; /* Empêche l'interaction avec les images invisibles */
}

/* Images visibles */
.visible {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1s ease, transform 1s ease;
  pointer-events: auto; /* Active l'interaction lorsque l'image est visible */
}

/* Conteneur des images */
#images-container {

  gap: 20px; /* Espacement entre les images */
  justify-content: center;
  margin-top: 20px;


}

#images-container img {

  border-radius: 5px;

}

#images-container-3 {

  gap: 20px; /* Espacement entre les images */
  justify-content: center;
  margin-top: 20px;
  margin-left: 4%;
}

#images-container-3 img {

  height: auto;
  border-radius: 5px;

}

#images-container-2 {
  display: hidden;
  
    gap: 20px; /* Espacement entre les images */
    justify-content: center;
    margin-top: 20px;
    margin-left: 34%;
  }
  
  #images-container-2 img {
   
    border-radius: 5px;
  
  }
  #start-btn{
    width: 250px;
    height: 20px;
    text-align: center;
    align-items: center;
    background-color: transparent;
top: 35%;
left: 10%;
    font-size: 28px;
    padding-top: 1em;
    font-size: 18px;

    color: white;
    border:3px solid transparent; /* Bordure transparente */
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    position: relative;
    transition: all 0.3s ease;
    animation: clignoter 1s infinite;
  }


@keyframes clignoter {
  0% {
      border-color: transparent;
  }
  50% {
      border-color:  rgba(41, 242, 128, 1); /* Changer la couleur de la bordure en rouge */
  }
  100% {
      border-color: transparent;
  }
}


/* Bouton masqué */
#start-btn.hidden {
  display: none;
}





#toggle-btn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

#toggle-btn:hover {
  background-color: #0056b3;
}

.gradient-paragraph {
  color: black; 

  background: linear-gradient(to right, transparent, transparent); /* Fond par défaut */
  background-clip: text;
  text-decoration: none;
  -webkit-background-clip: text; /* Compatibilité Safari */
  transition: background 0.8s ease, color 0.8s ease; /* Animation fluide */
}

/* Effet au survol */
.gradient-paragraph:hover {
  color: transparent; /* Masque la couleur du texte */
  background: radial-gradient(circle, rgba(171, 5, 242, 1), rgb(0, 255, 110,1));
  -webkit-background-clip: text; /* Applique le dégradé au texte */
  background-clip: text;
color: rgba(0, 115, 255, 0.521); ;
    text-decoration: none; /* Toujours sans soulignement */
}


.popup {
  display: none; /* Masque par défaut */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}
.popup.show {
  display: flex; /* Affiche en mode flex */
  opacity: 1;
}
.popup-content {
  transition: transform 0.3s ease;
  text-decoration: none;
}
.popup.show .popup-content {
  transform: scale(1); /* Échelle normale */
}


/* Style normal pour les images */
.popup-image {
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, left 0.3s ease-in-out;
  cursor: pointer;
  max-width: 100%;
  max-height: 100%;
  position: relative; /* Position normale dans le flux */
  z-index: 100;
}



#resetRestrictionsButton{
  width: 19%;
  height: 8vh;
  font-family: "PropCourier";
  font-size: 22px;
  margin-left: 6%;
  z-index: 1000; 
  cursor: pointer;
  margin-top: 2em;
  padding: 2em;
  border: none;
  padding-top: 1.2em;
  border-radius: 1em;
  transition: background-color 0.3s, transform 0.3s;
  text-transform: uppercase;
  background-color: rgba(41, 242, 128, 1);;
}




.typewritter{
  position: absolute;
width: 40%;
top: 25%;
left: 0%;}


.gameboy{
  position: absolute;
width: 20%;
top: 25%;
left: 40%;}

.labo{
  position: absolute;
width:43%;
top: 25%;
left: 60%;}


.narratif{
  position: absolute;
width:58%;
top: 15%;
left: 21%;}

.laba{
  position: absolute;
width:35%;
top: 30%;
left: 5%;
}


.grid-image {
  width: 100%;
  height: auto;
  object-fit: cover; /* Garde les proportions sans distorsion */
  border-radius: 8px;
}

.image-item {
  padding: 10px;
}

/* Utilisation de CSS Grid pour organiser les images côte à côte */
#image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colonnes côte à côte */
  grid-gap: 20px; /* Espacement entre les images */
  margin-top: 20px;
}

/* Pour s'assurer que les images ne se redimensionnent pas */
#image-grid .image-item {
  display: flex;
  justify-content: center;
  align-items: center;
}



.fablabke{
  position: absolute;
width:26.5%;
top: 30%;
left: 41%;
}

.imal{
  position: absolute;
  width:26.5%;
  top: 30%;
left:68.5%;
}

.harlan{
  position: absolute;
width:25%;
top: 10%;
left: 6%;
}


.damasio{
  position: absolute;
width:29%;
top: 10%;
left: 32%;
}

.valley{
  position: absolute;
width:31%;
top: 10%;
left: 62%;
}


.her{
  position: absolute;
width:15%;
top: 48%;
left: 62%;
}


.lefils{
  position: absolute;
width:14.7%;
top: 48%;
left: 78%;
}

#popup22{
  z-index: 1000000;
}