body {

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


  
  p {
    font-family: 'Courier New', Courier, monospace;
    color: #f4f4f4;
    font-size: 10px
  }
  
  
  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: 'Courier New', Courier, monospace;
    font-size: 25px;
    color: #ffffff;
  }
  
  h4 {
    font-family: 'Courier New', Courier, monospace;
    color: #7678c4;
    font-size: 15px; 
    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: 1700px;
    margin: 10px auto;
    border-radius: 10px;
    background-color: #b9abd7;
    background-image: url('dossier-images/papierbleu.jpg');
    background-size: 800px;
    overflow: hidden;
    z-index: 0;
  }


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

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


  .maison-remplie {
    position: absolute;
    top: -20px;
    width: 3000px;
    height: 1500px;
    margin: 0px auto;
    background-color: transparent;
    overflow: hidden;
  }


.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: 1070px;
    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: 515px;
    left: 1010px;
    width: 240px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
    z-index: 5;
    border: dotted white;
  }
  
  .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);
  }
  
  










  .slider {
    left:800px;
    top: 1120px;
    width: 250px;               /* zone visible */
    height: 150px;
    overflow: hidden;
    border: 2px solid #ff6f00;
    position: relative;
    z-index: 2;
  }
  
  .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-pensine {
    position: absolute;
    top: 400px;
    left: 1020px;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
    z-index: 5;
  }

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

  .img-neocities {
    position: absolute;
    top: 200px;
    left: 720px;
    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;
        width: 200px;
        height: 100px;
        background-image: url('dossier-images/neocities-text.png');
        background-size: cover;
        padding: 6px 10px;
        border-radius: 5px;
        position: absolute;
        top: 100px; /* Ajuste si besoin */
        left: 710px;
        z-index: 500;
        overflow: hidden;
      }
      
      /* Affichage au hover */
      .neocities-wrapper:hover .neocities-popup {
        display: block;
        pointer-events: none;
      }


      .youtube-video-1 {
        position: absolute;
        width: 200px;
        height: 80px;
        top: 585px; /* Ajuste si besoin */
        left: 275px;
        border-radius: 10px;
        border: dotted rgb(255, 255, 255); 
        background: rgb(197, 255, 234);
        z-index: 5;
        overflow: auto;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
      }

      .youtube-video-1:hover  {
        transform: scale(1.02);
        z-index: 50;
        border: solid rgb(255, 255, 255); 
      }

      .youtube-video-2 {
        position: absolute;
        width: 200px;
        height: 80px;
        top: 680px; /* Ajuste si besoin */
        left: 275px;
        border-radius: 10px;
        border: dotted rgb(215, 196, 255); 
        background: rgb(62, 154, 120);
        z-index: 5;
        overflow: hidden;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
      }

      .youtube-video-2:hover  {
        transform: scale(1.02);
        z-index: 50;
        border: solid rgb(255, 255, 255); 
      }




      .img-notes {
        position: absolute;
        width: 200px;
        height: 2%;
        top: 530px; /* Ajuste si besoin */
        left: 350px;
        z-index: 5;
        overflow: hidden;
      }

      .img-notes:hover {
        transform: scale(1.1);
      }
 /* Boîte qui apparaît */
 .music-popup {
    display: none;
    width: 150px;
    height: 60px;
    background-image: url('dossier-images/free-music-text.png');
    background-size: cover;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    position: absolute;
    top: 500px; /* Ajuste si besoin */
    left: 270px;
    z-index: 520;
    overflow: hidden;
  }
  
  /* Affichage au hover */
  .music-wrapper:hover .music-popup {
    display: block;
    pointer-events: none;
  }








      .homebutton {
        position: absolute;
        width: 250px;
        height: 160px;
        top: 80px; /* Ajuste si besoin */
        left: 40px;
        z-index: 14;
        background-image: url('dossier-images/home-pink-house.gif');
        background-size: contain;
        background-repeat: no-repeat;
      }

      .homebutton:hover {
        transform: scale(1.04);
        z-index: 50;
      }

      .img-maisonfond {
        position: absolute;
        width: 1450px;
        height: 900px;
        top: 20px; /* Ajuste si besoin */
        left: 10px;
        z-index: 1;
      }

      .img-maisonfonddessus {
        position: absolute;
        width: 1450px;
        height: 900px;
        top: 20px; /* Ajuste si besoin */
        left: 10px;
        z-index: 100;
        pointer-events: none;
      }

      .img-emojicry {
        position: absolute;
        width: 70px;
        height: 70px;
        top: 430px; /* Ajuste si besoin */
        left: 290px;
        z-index: 10;
      }

      .img-diddle {
        position: absolute;
        width: 200px;
        height: 200px;
        top: 180px; /* Ajuste si besoin */
        left: 550px;
        z-index: 10;
      }



    .img-stars-crown {
        position: absolute;
        width: 120px;
        height: 80px;
        top: 350px; /* Ajuste si besoin */
        left: 500px;
        z-index: 10;
    }


    .img-weirdcat {
        position: absolute;
        width: 100px;
        height: 80px;
        top: 520px; /* Ajuste si besoin */
        left: 150px;
        z-index: 10;
    }

    .img-weirdcat:hover {
        transform: scale(1.1);
    }

     /* Boîte qui apparaît */
 .weirdcat-popup {
    display: none;
    width: 100px;
    height: 60px;
    background-image: url('dossier-images/giftcities-text.png');
    background-size: cover;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    position: absolute;
    top: 480px; /* Ajuste si besoin */
    left: 120px;
    z-index: 50;
    overflow: hidden;
  }
  
  /* Affichage au hover */
  .weirdcat-wrapper:hover .weirdcat-popup {
    display: block;
    pointer-events: none;
  }




    .img-dance {
        position: absolute;
        width: 200px;
        height: 200px;
        top: 370px; /* Ajuste si besoin */
        left: 670px;
        z-index: 10;
    }

    .img-dance:hover {
        transform: scale(1.1);
    }

 /* Boîte qui apparaît */
 .dance-popup {
    display: none;
    width: 100px;
    height: 60px;
    background-image: url('dossier-images/playlist-text.png');
    background-size: cover;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    position: absolute;
    top: 450px; /* Ajuste si besoin */
    left: 650px;
    z-index: 50;
    overflow: hidden;
  }
  
  /* Affichage au hover */
  .dance-wrapper:hover .dance-popup {
    display: block;
    pointer-events: none;
  }







    .img-cest-moi {
        position: absolute;
        width: 100px;
        height: 100px;
        top: 400px; /* Ajuste si besoin */
        left: 1140px;
        z-index: 10;
    }





    .img-poke1 {
        position: absolute;
        width: 120px;
        height: 120px;
        top: 260px; /* Ajuste si besoin */
        left: 1010px;
        z-index: 10;
    }

    .img-poke1:hover {
        transform: scale(1.1);
    }


 /* Boîte qui apparaît */
 .pokemon1-popup {
    display: none;
    width: 100px;
    height: 60px;
    background-image: url('dossier-images/valenga-text.png');
    background-size: cover;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    position: absolute;
    top: 300px; /* Ajuste si besoin */
    left: 950px;
    z-index: 50;
    overflow: hidden;
  }
  
  /* Affichage au hover */
  .pokemon1-wrapper:hover .pokemon1-popup {
    display: block;
    pointer-events: none;
  }




  .img-clean {
    position: absolute;
    width: 160px;
    height: 20px;
    top: 160px; /* Ajuste si besoin */
    left: 1070px;
    z-index: 10;
}



  .img-diarybulle {
    position: absolute;
    width: 130px;
    height: 80px;
    top: 380px; /* Ajuste si besoin */
    left: 360px;
    z-index: 10;
}



.img-link-figurine {
    position: absolute;
    width: 130px;
    height: 100px;
    top: 670px; /* Ajuste si besoin */
    left: 860px;
    z-index: 10;
}

.img-link-figurine:hover {
    transform: scale(1.1);
}
 /* Boîte qui apparaît */
 .link-popup {
    display: none;
    width: 100px;
    height: 60px;
    background-image: url('dossier-images/gifscc-text.png');
    background-size: cover;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    position: absolute;
    top: 700px; /* Ajuste si besoin */
    left: 820px;
    z-index: 500;
    overflow: hidden;
  }
  
  /* Affichage au hover */
  .link-wrapper:hover .link-popup {
    display: block;
    pointer-events: none;
  }




  .img-moderntales {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 480px; /* Ajuste si besoin */
    left: 570px;
    z-index: 10;
}

.img-moderntales:hover {
    transform: scale(1.1);
}

 /* Boîte qui apparaît */
 .moderntales-popup {
    display: none;
    width: 100px;
    height: 60px;
    background-image: url('dossier-images/modern-text.png');
    background-size: cover;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    position: absolute;
    top: 460px; /* Ajuste si besoin */
    left: 520px;
    z-index: 500;
    overflow: hidden;
  }
  
  /* Affichage au hover */
  .moderntales-wrapper:hover .moderntales-popup {
    display: block;
    pointer-events: none;
  }



  .img-guestbookk {
    position: absolute;
    width: 100px;
    height: 70px;
    top: 700px; /* Ajuste si besoin */
    left: 1140px;
    z-index: 10;
}

.img-guestbookk:hover {
    transform: scale(1.1);
}


 /* Boîte qui apparaît */
 .guestbook-popup {
    display: none;
    width: 100px;
    height: 60px;
    background-image: url('dossier-images/guestbook-text.png');
    background-size: cover;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    position: absolute;
    top: 760px; /* Ajuste si besoin */
    left: 1070px;
    z-index: 500;
    overflow: hidden;
  }
  
  /* Affichage au hover */
  .guestbook-wrapper:hover .guestbook-popup {
    display: block;
    pointer-events: none;
  }





    .img-fanfics {
        position: absolute;
        width: 100px;
        height: 70px;
        top: 690px; /* Ajuste si besoin */
        left: 500px;
        z-index: 10;
    }


    .img-ghibli1 {
        position: absolute;
        width: 140px;
        height: 100px;
        top: 650px; /* Ajuste si besoin */
        left: 700px;
        z-index: 10;
    }


    .img-hello {
        position: absolute;
        width: 70px;
        height: 40px;
        top: 600px; /* Ajuste si besoin */
        left: 700px;
        z-index: 10;
    }
    
    .img-mails {
        position: absolute;
        width: 140px;
        height: 120px;
        top: 250px; /* Ajuste si besoin */
        left: 700px;
        z-index: 10;
    }

    .img-justinbieber {
        position: absolute;
        width: 190px;
        height: 80px;
        top: 590px; /* Ajuste si besoin */
        left: 485px;
        z-index: 10;
    }


    .img-horses {
        position: absolute;
        width: 180px;
        height: 120px;
        top: 360px; /* Ajuste si besoin */
        left: 500px;
        z-index: 10;
    }

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

     /* Boîte qui apparaît */
 .horses-popup {
    display: none;
    width: 150px;
    height: 70px;
    background-image: url('dossier-images/help-text.png');
    background-size: cover;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    position: absolute;
    top: 330px; /* Ajuste si besoin */
    left: 450px;
    z-index: 520;
    overflow: hidden;
  }
  
  /* Affichage au hover */
  .horses-wrapper:hover .horses-popup {
    display: block;
    pointer-events: none;
  }


.img-gate {
  position: absolute;
  width: 240px;
  height: 180px;
  top: 1100px; /* Ajuste si besoin */
  left: 50px;
  z-index: 10;
}

.img-gate:hover {
  transform: scale(1.04);
}


.gamedev-titre {
  position: absolute;
  width: 500px;
  height: 180px;
  top: 1100px; /* Ajuste si besoin */
  left: 100px;
  z-index: 10;
  pointer-events: none;
}

.gamedev {
  width: 500px;
  height: 500px;
  position: absolute;
  top : -260px;
  left: -500px;
  transform: scale(1.4);
  z-index: 20;
}

.fond-gamedev-part {
  width: 600px;
  height: 500px;
  position: absolute;
  background-image: url('dossier-images/papierbleubleu.png');
  background-size: contain;
  top: 1080px; /* Ajuste si besoin */
  left: 100px;
  z-index: 0;
}

.img-linkkk {
  position: absolute;
  width: 300px;
  height: 180px;
  top: 1200px; /* Ajuste si besoin */
  left: 1100px;
  z-index: 10;
}