@charset "UTF-8";

/* SET-UP */

@media (max-width: 768px) {
  body {
      font-size: 14px;
  }
  .sidebar-container {
      flex-direction: column;
      width: 100%;
  }
  .scrollbox img {
      height: auto;
      width: 100%;
  }
  .sidebar-container h1 {
      font-size: 2rem;
  }
  .scrollbox {
      max-height: 80vh;
  }
}


  /* root  */

:root {
     /* --clr-dark: #000000; */
     --clr-dark: #ffe4d2;
     --clr-light: #563127;
     --clr-grey: #cacaca;
     --clr-rgba: ;
     
     --clr-background: rgb(134, 124, 117 );
     --clr-textbase: rgb(234, 192, 141 );
     --clr-border:rgb(118, 38, 36);
     /* --clr-blue:rgb(0, 34, 255); */
     --clr-blue:rgb(255, 255, 255);
}

  /* font  */

@font-face {
    font-family: 'PressStart2P';
    src: url("../fonts/PressStart2P-Regular.ttf") format("truetype");

    }
@font-face {
    font-family: 'Raleway-VariableFont';
    src: url("../fonts/Raleway-VariableFont_wght.ttf") format("truetype");

    }

    @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Nanum+Myeongjo:wght@400;700;800&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');


  @font-face {
    font-family: 'Gensco-45';
    src: url("../fonts/conf_16-45.otf") format("opentype");

    }
    @font-face {
      font-family: 'Gensco-70';
      src: url("../fonts/conf_46-70.otf") format("opentype");
  
      }
    @font-face {
      font-family: 'Gensco-99';
      src: url("../fonts/conf_71-99.otf") format("opentype");
  
      }
    @font-face {
      font-family: 'Gensco';
      src: url("../fonts/GENSCO.otf") format("opentype");
  
      }

      @font-face {
        font-family: 'Italic';
        src: url("../fonts/Optimo Genath/Genath-RegularIta.otf") format("opentype");
  
      }
      @font-face {
        font-family: 'Regular';
        src: url("../fonts/Optimo Genath/Genath-Regular.otf") format("opentype");
  
      }

  /* element  */

html, body {
  height: 100%;
}

body{
    margin: 0%;
    padding: 0%;
    background-color: var(--clr-dark); 
    overflow-x: hidden;
}

main {
  height: 100%;
  overflow-x: hidden;
}

img {
  width: 100%;
}

h1, a {
  font-family: "Gensco";
}
p {
  font-family: 'Regular', serif;
}

h1 {
  font-weight: 800;
  font-size: 3rem;
}

li {
  list-style: none;
}

a:link {
  color: var(--clr-light);
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: var(--clr-light);
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: var(--clr-blue);
  background-color: transparent;
  text-decoration: none;
  cursor: pointer;

}
a:active {
  color: var(--clr-light);
  background-color: transparent;
  text-decoration: none;
}



/* TITLE */


.title {
  background-color: var(--clr-dark);
  height: 20vh; 
  width: auto;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  
  line-height: 80%;
  position: relative;
  z-index: 99;
}

.title h1 {
  text-align: center;
  color: var(--clr-light);
  font-size: 10vw;
}




/* TRANSITION PORTES */
.transition {
  position: fixed;
  z-index: 9999;
  
}

#right-door {
    position: fixed;
  
    width: 110vw;
    height: 100vh;
    background: rgb(0,0,0);
    background: linear-gradient(90deg, #ffe4d2 86%, rgba(2,0,36,0) 100%);
    transition: transform 2s ease-in-out;
    
  
  }

/* SIDEBAR  */

.group-scroll {
  height: 80vh;
  display: flex;
  flex-direction: row;
  
}

.sidebar1 {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  padding-right: 12px;
 
 
}

.TxtRotate {

  rotate: 40deg;
}

.sidebar2 {
  width: 0;
  height: 100%;
  background-color: var(--clr-light);
  position: sticky;
  top: 0  ;
}

.sidebar-container {

  background-color: var(--clr-dark);
  width: 100%;
  height: 100%;
  overflow: auto;
 
}


.sidebar-container::-webkit-scrollbar {
  display: none;
}

.scrollbox::-webkit-scrollbar {
  display: none;
}

.scrollbox {
  box-sizing: border-box;
  overflow-x: hidden;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--clr-light);
  background-color: var(--clr-dark);
  padding: 10px;
  padding-top: 1%;
  min-height: 100%; 
  

}



.rightdirection-box, .leftdirection-box{
     box-sizing: border-box;
    overflow-x: hidden;
    font-size: 4rem;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--clr-light);

    min-height: 100%;
    /* width: 5vw; */
}

#left, #right {
  text-shadow:  0 0 5px rgba(203, 126, 104, 0.655);
  position: relative;
  overflow: visible;
}

#left {
  display: inline-block;
  rotate: -90deg;
  right: 50px;
}

#right {
  display: inline-block;
  rotate: 90deg;
  position: relative;
  left: 6px;
}

.light-halo {
  position: relative;
  display: inline-block;
  text-shadow: 0 0 20px white;
}


.block {
  height: 40px;
  width: auto;
  background-color: var(--clr-blue);
  margin-bottom: 10px;
}

.scrollbox img { 
  width: 80%;
  height: auto;
  margin: 10px 10px;

  position: sticky;
  top: 10px;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  max-width: 95%;
  
}

/* ANIMATION IMG */



.container {
 

  display: flex;
  position: relative;
  width: auto;
  height: 100vh;
  max-width: 50vw;
  top: 50%;
  left: 50%;
  mix-blend-mode: color-burn;
  
}

.image {
  position: absolute;
  top: 0;
  left: 0;
  /* width: 100vw;
  height: 100vh; */
  max-height: 100vh;
  transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  background-size: cover;
  animation-iteration-count: infinite;
}

.image img {
  max-height: 90vw;
}

.image.image1 {
  
  animation: shrink-image1 5s linear infinite;
  animation-delay: 0s;
  z-index: 4;
}

.image.image2 {
  
  animation: shrink-image2 5s linear infinite;
  animation-delay: 8s;
  z-index: 3;
}

.image.image3 {
  
  animation: shrink-image3 5s linear infinite;
  animation-delay: 16s;
  z-index: 2;
}

.image.image4 {
  
  animation: shrink-image4 5s linear infinite;
  animation-delay: 24s;
  z-index: 1;
}

.image img {
  width: auto;
  height: 90vh;
  justify-content: center;
  display: flex;
  align-items: center;
}

@keyframes shrink-image1 {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    transform: translate(-50%, -50%) scale(0);
  }
}

@keyframes shrink-image2 {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    transform: translate(-50%, -50%) scale(0);
  }
}

@keyframes shrink-image3 {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    transform: translate(-50%, -50%) scale(0);
  }
}

@keyframes shrink-image4 {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    transform: translate(-50%, -50%) scale(0);
  }
}




@keyframes mouvement {

  0% {
    transform: translateY(0);
  }

  50% {

    transform: translateY(-50px);
  }


  100% {
    transform: translateY(0);
  }
}



.gauche {

  width: auto;
  height: 10vh;
  margin-top: 20%;
  margin-left: -40%;
  rotate: 275deg;
}

.scrollbox span {
  display: inline-block;
}

    .scrollbox span:nth-child(1) {
      transform: rotate(6deg);
    }

    /* .scrollbox span:nth-child(2) {
      transform: rotate(12deg);
    }

    .scrollbox span:nth-child(3) {
      transform: rotate(350deg);
    } */

    .scrollbox span:nth-child(4) {
      transform: rotate(2deg);
    } 

.apostrof {
  font-size: 1rem;
  margin-top: -5%;
}
  













/* reponsive phone  */

@media screen and (max-width: 800px) {
  
  body {
    font-size: 14px;
    overflow-x: hidden;
    background-color: var(--clr-dark);
}


  .group-scroll {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    
  }

  /* FLECHES MOBILE */

  #left, #right {
    overflow: unset;
    rotate: none;
    margin-right: 5%;
    margin-left: 5%;
    overflow: hidden;
    position: relative;
    top: -15px;
  }

  #right {
    display: flex;
    justify-content: flex-end;
  }


  .leftdirection {
    width: 50%;
    
  }

  .rightdirection {
    width: 50%;
    position: absolute;
    right: 0;
  }

  .rightdirection-box {
    align-items: flex-end;

    align-items: flex-end;
    
    max-width: none;
    margin-bottom: 5px
    
  }

  .leftdirection-box {
    margin-bottom: 5px
  }

  .rightdirection-box, .leftdirection-box{ 
align-items: normal;
order: 2;
  }

/* TRANSITION PORTES MOBILE */

  #left-door {
    position: fixed;
   
    height: 100%;
    width: 110vw;
    background: rgb(0, 0, 0);
    background: linear-gradient(270deg, #ffe4d2 80%, rgba(2, 0, 36, 0) 100%);
    transition: transform 1.5s ease-in-out;
    left: 0;
    transform-origin: left;
    transform: scaleX(1);

    
  }
  
 
  /* GROUP SCROLL */

  .title {
   height: 8vh;
   order: 3;
   top: -30px
  }

  .group-scroll {
    height:fit-content;
  }

  .sidebar1 {
    height: 50%;
    width: 100%;
    order: 4;
    
  }

  .sidebar2 {
    height: 50%;
    width: 100%;
    order: 5;

    
  }

  #sidebar1 {
    border-bottom: 0;
    width: 100%;
    overflow-x: scroll;
    
  }

  .scrollbox {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: none;
    
 
  }

  .scrollbox p {
    margin-top: 0%;
    display: flex;
    font-size: 60%;
    overflow-x: hidden;
    flex-direction: column;
   
}

  .scrollbox img { 
    
    width: 100%;
    height: auto;
    margin: 10px 10px ;
    overflow-x: hidden;
    max-width: 100%;
    
  }

  .images {

    display: flex;
    flex-direction: column;

    position: sticky;
    left: 15px;
    
    justify-content: center;
    margin-top: 0;
    
  }



  /* ANIMATION IMG */



.container {
 

  display: flex;
  position: relative;
  /* width: auto;
  height: 100vh;
  max-width: 50vw; */
  top: 50%;
  left: 50%;
  mix-blend-mode: multiply;
  
}

.image {
  position: absolute;
  top: 0;
  left: 0;
  /* width: 100vw;
  height: 100vh; */
  max-height: 100vh;
  transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  background-size: cover;
  animation-iteration-count: infinite;
  
}

.image img {
 

    max-height: 80vw;
    overflow-x: hidden;
    
}

.image.image1 {
  
  animation: shrink-image1 5s linear infinite;
  animation-delay: 0s;
  z-index: 4;
}

.image.image2 {
  
  animation: shrink-image2 5s linear infinite;
  animation-delay: 8s;
  z-index: 3;
}

.image.image3 {
  
  animation: shrink-image3 5s linear infinite;
  animation-delay: 16s;
  z-index: 2;
}

.image.image4 {
  
  animation: shrink-image4 5s linear infinite;
  animation-delay: 24s;
  z-index: 1;
}

.image img {
  width: auto;
  height: 90vh;
  justify-content: center;
  display: flex;
  align-items: center;
}

#left, #right {
  margin: 0;
}

#left {
  margin-left: 5%;
  right: 0;
  
}

#right {
  margin-right: 5%;
  left: 0;
  
}
.invisible {
  display: none;
}

}

.invisible {
color: transparent;
text-shadow: none;

}
