body {

    background: rgb(0, 0, 0);
    background-size: cover;
    position: relative;
    height: 1300px;
    
  
  }
  
  
  p {
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    font-size: 14px;
    margin: 0;
    padding: 0;
  }

  p2  {
    font-family:'Courier New', Courier, monospace;
    color: #000000;
    font-size: 14px
  }

  p3  {
    font-family:'Courier New', Courier, monospace;
    color: #000000;
    font-size: 17px;
    font-weight: 700;
  }
  
  
  a {
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    color: #31a499;
    font-weight: 600;
  }

  a:hover {
    color: #7631a4;
    font-style: italic;
    text-shadow: 0 0 5px rgb(255, 212, 81);
    box-shadow: inset 0 -0.5em 0 rgb(211, 206, 246);

  }
  
  h1 {
    font-family: Arial, sans-serif;
    color: #000000;
    font-size: 17px;
    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: Arial, sans-serif;
    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: Arial, Helvetica, sans-serif;
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    padding: 0;
    font-weight: 100;
  }
  



  .lien-numerique {
    color: #8d46bd;
    font-style: italic;

  }



  .main {
    position: absolute;
    width: 1500px;
    height: 2000px;
    left: 0px;
    top: 0px;
    background: transparent;
    overflow: auto;
    z-index: 100;

  }


  .colonne-gauche-menu {
    position: fixed;
    width: 220px;
    height: 720px;
    left: 50px;
    top: 50px;
    background: rgb(197, 155, 205);
    overflow: auto;
    z-index: 200;
    box-shadow: 0px 7px 20px rgba(67, 0, 70, 0.3);
    opacity: 95%;
  }



  .img-home {
    position: absolute;
    top: 600px;
    left: 20px;
    width: 100px;
    height: 100px;
    box-shadow: 0px 7px 20px rgba(255, 255, 255, 0.3);
    z-index: 201;
  }

  .img-home:hover {
    transform: scale(1.1);
    box-shadow: 0px 7px 20px rgba(255, 255, 255, 0.3);
  }


  .img-gate {
    position: absolute;
    top: 20px;
    left: 300px;
    width: 200px;
    height: 220px;
    z-index: 5;
  }

  .img-gate:hover {
    transform: scale(1.05);
    box-shadow: 0px 7px 20px rgba(242, 0, 255, 0.3);
  }

  .img-lien1  {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 150px;
    height: 70px;
    z-index: 201;
  }

  .img-lien1:hover  {
    transform: scale(1.05);
    box-shadow: 0px 7px 20px rgba(242, 0, 255, 0.3);
  }

  .liens-menu {
    position: absolute;
    padding: 20px 20px;
    top: 100px;
    left: 10px;
    width: 200px;
    height: 300px;
    z-index: 203;
    box-shadow: 0px 7px 20px rgba(81, 1, 85, 0.3);
  }



  .img-page1 {
    position: absolute;
    top: 10px;
    left: 550px;
    width: 960px;
    height: 600px;
    z-index: 5;
  }






  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  

  body, html {
    height: auto;
    overflow: auto;
  }
     
.viewport { 
    position: relative;
    width: 100vw;
    min-height: 100vh;
    overflow: visible; 
    pointer-events: auto;
}

.layer {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    pointer-events: none; /* active les interactions */
  }
  
  /* Arrière-plan */
  .background {
    background : black;
    pointer-events: none; /* sauf sur la couche du milieu */
  }
  
  /* Calque intermédiaire */
  .middle {
    background : transparent;
    z-index: 2;
    pointer-events: none; /* sauf sur la couche du milieu */
  }

  
  /* Premier plan */
  .foreground {
    background : transparent;
    z-index: 3;
    bottom: 0;
    top: auto;
    pointer-events: none; /* sauf sur la couche du milieu */
  }
 



  
  img {
    position: absolute;
    will-change: transform;
    pointer-events: auto;
  }
  
  .sky {
    top: 20;
    left: 15%;
    width: 86%;
    height: auto;
    pointer-events: auto;
  }
  


  .bella {
    top: 30%;
    left: 90%;
    width: 150px;
    height: auto;
    pointer-events: auto;
  }

  
  .bella:hover {
    transform: scale(1.1);
    box-shadow: 0px 7px 20px rgba(255, 255, 255, 0.3);
  }


  
  
  .link {
    top: 25%;
    left: 60%;
    width: 100px;
    height: auto;
    pointer-events: auto;
  }


  .link:hover {
    transform: scale(1.1);
    box-shadow: 0px 7px 20px rgba(255, 255, 255, 0.3);
  }
  
  

  

  .mini-link {
    pointer-events: auto;
    bottom: 20%;
    left: 25%;
    width: 25vh;
    height: auto;
  }
  

  .mini-link:hover {
    transform: scale(1.2) rotate(-3deg);
  }

  

  
  .planet1 {
    bottom: 20%;
    left: 60%;
    width: 150px;
    height: auto;
    pointer-events: auto;
  }

  .planet1:hover {
    transform: scale(1.1) rotate(-3deg);
  }
  
  .fleches {
    bottom: 40%;
    left: 80%;
    width: 150px;
    height: auto;
    pointer-events: auto;
  }

  .fleches:hover {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0px 7px 20px rgba(255, 255, 255, 0.3);
  }


  .console {
    bottom: 60%;
    left: 20%;
    width: 100px;
    height: auto;
    pointer-events: auto;
  }

  .console:hover {
    transform: scale(1.1) rotate(3deg);

  }
  
  .rock {
    bottom: 5%;
    left: 40%;
    width: 80px;
    height: auto;
    pointer-events: auto;
  }

  .rock:hover {
    transform: scale(1.1);
    box-shadow: 0px 7px 20px rgba(255, 255, 255, 0.3);
  }
  
  .new {
    bottom: 10%;
    left: 60%;
    width: 80px;
    height: auto;
    pointer-events: auto;
  }

  .new:hover {
    transform: scale(1.2) rotate(3deg);
  }

  .scroll-spacer {
    position: relative;
    height: 3000px;      /* ou plus selon le scroll que tu veux */
    visibility: hidden;  /* ne s’affiche pas, mais ajoute de la hauteur */
  }

  img {
    pointer-events: auto;
  }
  
