/* defaults */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    /* background-color: black; */
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background-color: rgba(0, 0, 0, 0.25);
    color: white;
}

::-moz-selection {
    background-color: rgba(0, 0, 0, 0.25);
    color: white;
}

ol, ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: black;
}

a :hover {
    z-index: 10000000;
}

.hidden {
    display: none;
}

/* */


body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 0;
    background-color: black;
    margin: 0;
    width: 100%;
    height: 100%;
  }
  
  canvas {
    width: 100%;
    height: 100%;
  }

  .container {
      width: auto;
      height: 60px;
      position: absolute;
      bottom: 100px;
      left: 770px;
  }

.navigation {
    background-color: rgb(0, 0, 0);
    width: 30px;
    height: 30px;
    border-radius: 100%;
    filter: blur(2px);
    border: solid 3px;
    border-color: white;
}


.navigation-un:hover {
    background-color: rgb(255, 89, 150);
    filter: blur(5px);
}

.navigation-deux:hover {
    background-color: rgb(0, 0, 0);
    filter: blur(5px);
}

.navigation-trois:hover {
    background-color: rgb(255, 251, 0);
    filter: blur(5px);
}


.titre {
    font-family: Px Grotesk;
    font-size: 200px;
    color: rgb(255, 180, 200);
    mix-blend-mode: difference;
    line-height: 160px;
    text-align: center;
}

.texte-accueil-2 {
    font-family: Px Grotesk;
    font-size: 30px;
    color: rgb(255, 180, 200);
    mix-blend-mode: luminosity;
}

.texte-accueil {
    position: absolute;
    display: flex;
    align-items: center;
    width: auto;
    height: 100%;
    padding-left: 22%;
    font-weight: bold;
}

body {
    /* transform-style: preserve-3d; */
    perspective: 500px;
    overflow: hidden;
    background-color: rgb(0, 0, 0);
}


body:hover {
  cursor: pointer;
}

.container {
  width: 100%;
  height: 60px;
  position: absolute;
  display: flex;
  z-index: 2;
}




.button {
    width: 30vw;
    height: 30vh;
    background-color: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0) rotateX(275deg);
    margin-top: 70vh;
    margin-bottom: 70vh;  
    transition:all 0.2s ease-in-out;
    
}

/* .button:nth-child(2n + 1) {
    transform: translate3d(10%, -50%, 0) rotateX(275deg);

} */





/* FAUNE*/


.scroll {
  position: absolute;
  top: 50%; 
  left: 50%;
  width: 30vw;
  height: 300vh;
  background-color:none;
  transform: translate3d(-50%, -54%, -900px) rotateX(90deg);
  transform-style:preserve-3d;
  /* overflow: scroll;  */

}

.button0 {
  top: 170vh;
  width: 100%;
  height: 300px;
  position: absolute;
  text-align: center;
}

.text-film {
  margin-top: 200px;
  filter: blur(1.5px);
  mix-blend-mode: difference;
  color: white;
  font-size: 33px;
  font-weight: bold;
}



.button1 {
    background-color: none;
    transform: translate3d(-50%, -50%, -30%) rotateX(90deg);
    top: 160vh;
    
}

.button1:hover {
  filter: drop-shadow(16px 16px 20px rgb(43, 0, 255)) invert(75%);
}

.button2 {
    background-color: none;
    transform: translate3d(-50%, -50%, -30%) rotateX(90deg);
    top: 150vh;
    animation: fade-out 4s linear infinite;
}

@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}


.image2 {
    animation: rotation 5s infinite linear;
}

.image10 {
    animation: rotation 5s infinite linear;
}

.image3 {
    animation: rotation 5s infinite linear;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.button3 {
    background-color: none;
    transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
    top: 140vh;
}
.button4 {
    background-color: none;
    transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
    top: 120vh;
}

.button4:hover {
  opacity: 0.2;
}

.button5 {
    background-color: none;
    transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
    top: 110vh;
}


.button7 {
  background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
  top: 100vh;
}

.button8 {
    background-color: none;
    top: 80vh;
}

.button8:hover {
  filter: hue-rotate(90deg);
  filter: opacity(0.2);
}

.button9 {
    background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
  top: 50vh;
}

.button9:hover{
  filter: blur(3px);
}

.button0-9 {
  top: 44vh;
  width: 100%;
  height: 300px;
  position: absolute;
  text-align: center;
}

.button10 {
    background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
  top: 45vh;
}

.button11 {
    background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
  top: 40vh;
}

.button11:hover {
  filter: drop-shadow(16px 16px 20px rgb(53, 252, 255)) invert(75%);
}

.button12 {
    background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(4deg);
  top: 35vh;
}

.button13 {
    background-color: none;
  transform: translate3d(-50%, -10%, -50%) rotateX(90deg);
  top: 15vh;
}

.button13:hover {
  filter: drop-shadow(16px 16px 20px rgb(255, 0, 149)) invert(75%);
}

.button14 {
background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(90deg);
  top: -12vh;
  animation:fade-out 4s linear infinite;
}

@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

.button15 {
    background-color: none;
      transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
      top: -15vh;
    }

.button16 {
    background-color: none;
    transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
    top: -28vh;
}

.button16:hover {
  filter: blur(20px);
}

.button17 {
    background-color: none;
    transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
    top: -40vh;
}

.button18 {
    background-color: none;
    transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
    top: -60vh;
    animation: flash 500ms ease infinite alternate;
}

@keyframes flash {
	from { opacity: 1; }	
	to { opacity: 0; }
}



.button18-19 {
  top: -65vh;
  width: 100%;
  height: 300px;
  text-align: center;
}




.button19 {
  background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(90deg);
  top: -70vh;
  animation: flash 800ms ease infinite alternate;
}

@keyframes flash {
	from { opacity: 1; }	
	to { opacity: 0; }
}


.button20 {
  background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(90deg);
  top: -85vh;
}

.image4 {
  animation: rotation 4s infinite linear;
}


.image5 {
  animation: rotation 4s infinite linear;
}

@keyframes rotation {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(359deg);
  }
}

.button21 {
  background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(90deg);
  top: -90vh;
}
.button22 {
  background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(90deg);
  top: -110vh;
}

.button23 {
  background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(90deg);
  top: -120vh;
}

.button24 {
  background-color: none;
  transform: translate3d(-50%, -40%, -30%) rotateX(90deg);
  top: -150vh;
}

.button24:hover {
  filter: drop-shadow(16px 16px 20px rgb(38, 255, 0)) invert(75%);
}

.button25 {
background-color: none;
transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
top: -180vh;
}

.button26 {
  background-color: none;
  top: -200vh;
}

.button27 {
  background-color: none;
transform: translate3d(-50%, -50%, -30%) rotateX(90deg);
top: -210vh;
}

.button27-28 {
  top: -220vh;
  width: 100%;
  height: 300px;
  position: absolute;
  text-align: center;
}

.button28 {
  background-color: none;
transform: translate3d(-50%, -50%, -30%) rotateX(90deg);
top: -220vh;
width: 200px;
height: 200px;
}

.button29 {
  background-color: none;
transform: translate3d(-50%, -50%, -30%) rotateX(90deg);
top: -240vh;
}

.button30 {
  background-color: none;
transform: translate3d(-50%, -50%, -30%) rotateX(4deg);
top: -250vh;
transform: translate3d(-50%, -50%, 0) rotateX(328deg);
}

.button31 {
  background-color: none;
transform: translate3d(-50%, -10%, -50%) rotateX(130deg);
top: -260vh;
}

.button32 {
background-color: none;
transform: translate3d(-50%, -50%, -30%) rotateX(90deg);
top: -275vh;
}

.button33 {
  background-color: none;
    transform: translate3d(-50%, -50%, -30%) rotateX(90deg);
    top: -300vh;
  }

.button34 {
  background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
  top: -315vh;
}

.button34:hover {
  filter: drop-shadow(16px 16px 20px rgb(43, 0, 255)) invert(75%);
}

.button35 {
  background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
  top: -330vh;
}

.button36 {
  background-color: none;
  transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
  top: -340vh;
}

.button37 {
  top: -320vh;
  width: 100%;
  height: 300px;
  position: absolute;
  text-align: center;
}

.buttonfinal {
  background-color: rgb(43, 255, 0);
  transform: translate3d(-50%, -50%, -30%) rotateX(130deg);
  top: -400vh;
  margin-top: 500px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
}

.buttonfinal:hover {
  background-color: rgb(220, 20, 255);
  filter: blur(10px);
}




.typewriter {
  width: auto;
  height: auto;
  position: absolute;
  z-index: 1;
  mix-blend-mode: difference;
  margin-top: 20px;
}


.texte-typewriter {
    font-size: 55px;
    font-family: Px Grotesk;
    color: rgb(255, 255, 255);
    text-align: center;
    transform: scale(0.94);
}


/*HABITANTS*/


.body-habitants {
  background-color: rgb(0, 0, 0);
}


.buttonl43 {
  top: -220vh;
  width: 100%;
  height: 300px;
  position: absolute;
  text-align: center;
}


/* NAVIGATION */