@charset "UTF-8";

@font-face {
  font-family: NeurealMono-Regular;
  src: url(../fonts/NeurealMono-Regular.otf);
}


body {
  height: 6000vh;
}

/* ---------------------TEXTES--------------------- */

.text-to-show {
  pointer-events: none;
  width: 100%;
  box-sizing: border-box;
  opacity: 0;
  text-align: center;
  position: fixed;
  bottom: 0;
  padding: 0.5vw;
  left: 0;
  /* transform: translate(-40%,-70%); */
  z-index: 90;
  font-family: NeurealMono-Regular;
  color: rgb(0, 0, 0);
  text-shadow: 1px rgba(217, 217, 217, 0.625);
  font-size: 1rem;
  transition: opacity 0.5s ease-in-out;
}

.text-to-show .container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.text-to-show1 {
  transform: translate(-80%,-80%);
}
.visible {
  opacity: 1 !important;
    visibility: visible;
    pointer-events: all !important;

}

/* .slide-fixed-text1 {
  transform: translate(-90%,-50%);
 
} */


/* ---------------------START SLIDES--------------------- */

.container-slides {
  position: fixed;
  perspective: 800px;
  width: 100%;
  height: 100vh;
}


.entry-audio {
  width: 100%;
  height: 100%;
}
.slides {
  /* z-index: 200; */
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate3d(-50%, -50%, calc(-4 * 50vh)) rotateX(90deg);
  background-color: rgba(255, 0, 0, 0.25);
}

.slide {

  position: absolute;
  width: 50%;
  height: 50vh;
  top: 0;
  left:0;
  transform: translate3d(50%, 50%, 0) rotateX(-90deg);
}

audio {
  display: none;
}
.slide-big {
  width: 100%;
  height: 100vh;
  top: 0;
  left:-50%;
}

.slide:nth-child(1) {
  top: calc(9 * 50vh);
  z-index: 100;
}
.slide:nth-child(2) {
  top: calc(8 * 50vh);
  z-index: 90;
}
.slide:nth-child(3) {
  top: calc(7 * 50vh);
  z-index: 80;
}
.slide:nth-child(4) {
  top: calc(6 * 48vh);
  z-index: 70;
}
.slide:nth-child(5) {
  top: calc(5 * 50vh);
  z-index: 60;
}

.slide:nth-child(6) {
  top: calc(4 * 50vh);
  z-index: 50;
}

.slide:nth-child(7) {
  top: calc(3 * 50vh);
  z-index: 40;
}

.slide:nth-child(8) {
  top: calc(2 * 50vh);
  z-index: 30;
}
.slide:nth-child(9) {
  top: calc(1 * 50vh);
  z-index: 20;
}
.slide:nth-child(10) {
  top: calc(0 * 50vh);
  z-index: 10;
}


.slide p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  font-size: 5em;
}

.hublot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  /* background-color: rgb(200, 200, 200); */
}

.hublot1 {
  width: 200%;
  height: 200%;
}

.hublot2 {
  width: 400%;
  height: 400%;
}

.hublot3 {
  width: 300%;
  height: 300%;
}

.hublot img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---------------------SOUND--------------------- */

.container-media {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 0;
  position: absolute;
  /* z-index: 10; */
  padding: 0.5vw;
  height: 100%;
  /* top: 0; */
  bottom: 0;
  right: 0;
  width: 5vw;
}

/* .entry-media {
  margin: 1em 1em;
}
.media {
  display: block;
} */

/* .caption {
  padding: 0.5em;
  background-color: black;
  color: white;
} */

.play-pause{
  width: 100%;
  height: 100%;
  border-radius: 1em;
  /* padding: 0.25em; */
  background-color: rgb(255, 255, 255);
  color: rgb(255, 255, 255);
  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;

  box-sizing: border-box;
}

.play-pause p {
  font-family: NeurealMono-Regular;
  position: relative;
  display: inline-block;
  font-size: 1rem;
  /* width: 10%;
  height: 20%; */
  transition-timing-function: ease-in-out;
  transition-duration: 1s, 2s;
  animation-duration: 1s;
    color: black;
}
.entry-media.switch-play-on .play-pause p,
.play-pause p:hover {
  background-color: rgb(163, 163, 163);
  color: black;
  border-radius: 50%;
  /* top: 50%;
  left: 20%; */
}

/* .mute p {
  font-family: NeurealMono-Regular;
  position: relative;
  display: inline-block;
  border-radius: 1em;
  padding: 0.25em;
  border: 1px blue solid;
  background-color: blue;
  color: white;
  cursor: pointer;
}
.entry-media.switch-mute-on .mute p,
.mute p:hover {
  background-color: rgb(163, 163, 163);
  color: black;
} */

.anim-video {
  /* background-color: rgb(244, 94, 255); */
  /* width: 100%; */
  height: 100%;
  
}

.bouton {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgb(13, 255, 0);
  color: #333;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.bouton:hover {
  background-color: #e5e5e5;
}

/* ---------------------START PAGE--------------------- */

.start {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  transform: translate(-50% -50%);
  overflow: hidden;
  background-color: rgb(200, 200, 200);
}

h1 {
  text-align: center;
  font-family: NeurealMono-Regular;
  font-size: 10em;
  top: 50%;
  left: 50%;
  transform: translate(0%, 110%);
  color: black;
  transition-timing-function: ease-in-out;
  transition-duration: 1s, 3s;
}

h1:hover {
  /* font-size: 11em; */
  color: rgb(200, 200, 200);
}

/* ---------------------MEDIA QUERIES--------------------- */

@media screen and (max-width: 600px) {
  .anim-video {
    width: auto;
    height: 100%;
    top: -50%;
    left: -50%;
    transform: translate(-50% -50%);
  }

}

@media screen and (max-width: 600px) {
  .hublot1 {
    /* width: 90%; */
    height: 100%;

  }
}

@media screen and (max-width: 600px) {
  .hublot2 {
    height: 100%;
  }
}

@media screen and (max-width: 600px) {
  .hublot img {
    /* width: auto; */
    height: 120%;
    /* object-fit: none; */
  }
}


@media screen and (max-width: 600px) {
  h1 {
    top: 50%;
    left: 50%;
    transform: translate3d(0%, 520%, 0);
    font-size: 2em;
    font-family: NeurealMono-Regular;
  }
}

@media screen and (max-width: 600px) {
  .text-to-show {
    font-size: 13px;
    border: 1px solid black;
    background-color: rgb(220, 220, 220);
  }
}

@media screen and (max-width: 600px) {
  .play-pause{
    width: 100%;
    height: 100%;
    border-radius: 1em;
    /* padding: 0.25em; */
    background-color: rgb(200, 200, 200);
    color: rgb(255, 255, 255);
    border: 1px solid black;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 600px) {
  .play-pause p {
    font-family: NeurealMono-Regular;
    color: black;
    font-size: 2rem;
  }
}

@media screen and (max-width: 600px) {
.container-media {
  height: 120%;
  width: 25vw;
}
}

