body {

    padding: 0;
    background: white;
    background-size: cover;
    margin: 0 auto;
    position: relative;
    background: rgb(255, 247, 220);
    background-size: 1500px;
    max-height: 1000px;
    
  
  }


  
  p {
    font-family: 'Courier New', Courier, monospace;
    color: #f4f4f4;
    font-size: 14px
  }
  
  
  a {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #31a499;
  }
  
  h1 {
    font-family: Arial, sans-serif;
    color: #000000;
    font-size: 20px;
    margin: 0;
    padding: 0;
  }
  
  
  h2 {
    font-family: Arial, sans-serif;
    color: #31a499;
  }
  
  h3 {
    font-family: Arial, sans-serif;
    font-size: 25px;
    color: #ffffff;
  }
  
  h4 {
    font-family: 'Courier New', Courier, monospace;
    color: #7678c4;
    font-size: 17px; 
    margin: 0;
    padding: 0;
  }
  
  h5 {
    font-family: Arial, sans-serif;
    color: #ff8ea3;
  }

  h6 {
    font-family: Arial, sans-serif;
    color: #be0000;
    font-size: 12px;
    margin: 0;
    padding: 0;
    font-weight: normal; /* facultatif, pour un rendu plus léger */
  }

  h7 {
    font-family: 'Courier New', Courier, monospace;
    color: #ffffff;
    font-size: 12px;
    margin: 0;
    padding: 0;
    font-weight: 600;
  }
  
  

  .main {
    position: relative;
    width: 1500px;
    height: 1000px;
    margin: 10px auto;
    border-radius: 10px;
    background-color: #b6cadd;
    overflow: hidden;
    z-index: 0;
  }


  .zone-libre {
    position: relative;
    top: 0px;
    width: 3000px;
    height: 1000px;
    margin: 0px auto;
    background-color: transparent;
    overflow: hidden;
  }

  /* Chaque image a sa position libre */
  .zone-libre img {
    position: absolute;
  }



.actu-box2 {
    position: absolute;
    top: 70px;
    left: 200px;
    width: 340px;
    height: 200px;
    overflow: auto;
    background: url('dossier-images/papiercarnet.JPG');
    background-size: 600px;
    padding: 20px;
    z-index: 20;
    z-index: 3;
    border-radius: 10px;
  }
  
  
  .actu-box2:hover  {
    z-index: 70;
    transform: scale(1.02) rotate(1deg);
  }



  .gameboy {
    position: absolute;
    top: 70px;
    left: 700px;
    width: 450px;
    height: 250px;
    overflow: auto;
    background: url('dossier-images/gameboy.png');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
    z-index: 30;
    border-radius: 10px;
    overflow: hidden;

  }

  .croix-wrapper {
    position: absolute;
    top: 85px;
    left: 40px;
  }
  
  /* Ta croix reste inchangée sauf z-index (inutile d’en mettre deux) */
  .gameboy-croix {
    width: 30px;
    height: 30px;
    overflow: hidden;
    background: url('dossier-images/gameboycroix.png');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
    border-radius: 10px;
    z-index: 3;
  }
  
  .gameboy-croix:hover {
    background: url('dossier-images/gameboycroixhover.png');
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  /* La div qui apparaît */
  .croix-popup {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    position: absolute;
    top: 60px; /* en dessous de la croix */
    left: 0;
    z-index: 5;
    overflow: hidden;
  }
  
  /* Afficher au hover */
  .croix-wrapper:hover .croix-popup {
    display: block;
  }



  

.rond-droit-wrapper {
  position: absolute;
  top: 100px;
  left: 415px;
}

/* Bouton existant */
.gameboy-r-droit {
  width: 35px;
  height: 30px;
  overflow: auto;
  background: url('dossier-images/gameboyronddroit.png');
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 3; /* celui-ci suffit */
}

.gameboy-r-droit:hover {
  background: url('dossier-images/gameboyronddroithover.png');
  background-repeat: no-repeat;
  background-size: cover;
}

/* Pop-up qui apparaît au hover */
.rond-droit-popup {
  display: none;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 5px;
  position: absolute;
  top: 40px; /* ajustable selon où tu veux le texte */
  left: 0;
  z-index: 5;
  overflow: hidden;
}

/* Hover déclencheur */
.rond-droit-wrapper:hover .rond-droit-popup {
  display: block;
}





.rond-gauche-wrapper {
    position: absolute;
    top: 114px;
    left: 373px;
  }
  
  /* Ton bouton existant */
  .gameboy-r-gauche {
    width: 35px;
    height: 35px;
    overflow: auto;
    background: url('dossier-images/gameboyrondgauche.png');
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 3;
  }
  
  .gameboy-r-gauche:hover {
    background: url('dossier-images/gameboyrondgauchehover.png');
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  /* Boîte qui apparaît */
  .rond-gauche-popup {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    position: absolute;
    top: 40px; /* Ajuste si besoin */
    left: 0;
    z-index: 5;
    overflow: hidden;
  }
  
  /* Affichage au hover */
  .rond-gauche-wrapper:hover .rond-gauche-popup {
    display: block;
  }
  





.gallery-container {
    position: absolute;
    top: 300px;
    left: 500px;
    width: 230px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
    z-index: 5;
  }
  
  .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
  }
  
  .gallery-image.active {
    display: block;
  }
  
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px; /* ou selon la taille de ton image */
    height: 30px;
    cursor: pointer;
    z-index: 10;
    user-select: none;
  }
  
  .arrow.left {
    left: 10px;
  }
  
  .arrow.right {
    right: 10px;
  }
  
  .gallery-container:hover  {
    z-index: 70;
    transform: scale(1.02);
  }
  
  




  .container {
    top: 85px;
    left: 40px;
    width: 30px;
    height: 30px;
    position: relative;
    display: inline-block;
    border: solid green;
  }
  
  .target {
    top: 85px;
    left: 40px;
    width: 30px;
    height: 30px;
    display: none; /* Cachée par défaut */
    background: lightblue;
    position: absolute;
    top: 100%; /* Juste en dessous */
    left: 0;
    border: solid red;
  }
  
  .container:hover .target {
    display: block; /* Apparaît quand on hover le conteneur */
  }
  








  .slider {
    left:800px;
    top: 120px;
    width: 250px;               /* zone visible */
    height: 150px;
    overflow: hidden;
    border: 2px solid #ff6f00;
    position: relative;
  }
  
  .slider-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
  }
  
  .slider-track img {
    width: 250px;
    height: 150px;
    object-fit: cover;
    position:relative;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-1200px); /* 4 images x 300px */
    }
  }
  
  .img-sirene {
    position: absolute;
    top: 800px;
    left: 500px;
    width: 230px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
    z-index: 5;
  }

  .img-pensine {
    position: absolute;
    top: 400px;
    left: 50px;
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
    z-index: 5;
  }

  .img-golden-trio {
    position: absolute;
    top: 100px;
    left: 100px;
    width: 100px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
    z-index: 5;
  }
  
  
  .img-neocities {
    position: absolute;
    top: 150px;
    left: 50px;
    width: 110px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
    z-index: 5;
  }

  .img-neocities:hover {
    transform: scale(1.05);
  }

    /* Boîte qui apparaît */
    .neocities-popup {
        display: none;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 6px 10px;
        border-radius: 5px;
        position: absolute;
        top: 210px; /* Ajuste si besoin */
        left: 0;
        z-index: 5;
        overflow: hidden;
      }
      
      /* Affichage au hover */
      .neocities-wrapper:hover .neocities-popup {
        display: block;
      }