@import url('https://rsms.me/inter/inter.css');
html { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
  html { font-family: 'Inter var', sans-serif; }
}

body {
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: hidden;
  color: white;
  background-blend-mode: screen;
}

#sidebar{
  position: absolute;
  top:0;
  left:0;
  height:100vh;
  width:5vw;
  background-color:  rgb(247, 80, 80);
}

iframe{
  /* display: none; */
}

.color_correction{
  --colorRotation: 180deg;
filter:  hue-rotate(var(--colorRotation));


}



#start_section{
  z-index: 10;
  background-color: transparent;
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  /* mix-blend-mode: difference; */
} 

#draggable{
  
  pointer-events: all;
  width: 20vw;
  height: 20vw;
  position: relative;
  margin-left: 62vw;
 
  margin-top: 10vh;
  margin-bottom: 10vh;
  justify-content: center;
  align-items: center;
}
#burger-wrapper {
  width: 20vw;
  height: 20vw;
  
  float: right;
  display: flex;
  position: sticky;
  justify-content: center;
  align-items: center;
  
}

#burger-circle {
  width: 20vw;
  height:  20vw;
  border-radius: 50%;
  box-sizing: border-box;
  background-color: rgb(247, 80, 80);
  
  /* filter:  hue-rotate(-90deg); */
  /* background-color: rgb(29, 29, 29); */
 
  position: absolute;
  /* left: -20%;
  top: 50%;
  margin-top: -20px;
  margin-left: -20px; */
  /* cursor: pointer; */
  z-index: 4;
}

#burger-circle:hover {
  cursor:grab;
}

#burger-circle.white {
  border: 2px solid rgba(255, 255, 255, 1);
}

#menu-burger {
  /* width: 14px;
  height: 22px; */
  position: relative;
  margin: 0 auto;
  z-index: 5;
  pointer-events: initial;
}

#burger-circle span{
  font-size: 4em;
  /* color:rgb(29, 29, 29); */
  color:rgb(75, 68, 160);
  display:table;
margin:35% auto;

}

#section0{
  width:100vw;
  background-color: rgb(29, 29, 29);
  /* background-color:rgb(29, 29, 29); */
}

#make_title,#home_title, #mochis_title {
  
  font-weight: 300;
  font-size:max(calc(18vw +18vh), 20px);
  /* padding-top: 10vh;
  padding-left: 10vw; */
  margin: 0px;
  line-height: 1;
  transition: font-weight 1s ease;
}

#section0 #make_title:hover,#home_title:hover, #mochis_title:hover{
  font-weight: 400;
}

#section0 .inner_section {
 width:100vw;
 height: 100vh;
 padding:0px;
 display: flex;
 flex-direction: column;
 align-items:center;
 justify-content: center;
}

.big_title{
  max-height: 100%;
  max-width:100%;
  color:white;
}

.rotate {
  padding-right: 1vw;
  padding-bottom: 2vh;
  font-size: 40px;
  font-weight: 300;
  writing-mode: vertical-lr;
  transform: rotate(-180deg);
  display: inline-block;
  text-transform: uppercase;
}


.rotate span {
  width: 200px !important;
}

.sections_wrapper {
  
  height: 100vh;
  /* outline: 1px solid hotpink; */
}

.section {
  background-color: rgb(29, 29, 29);
  border-left: 3px solid white;
  padding: 0px;
  width: 70vw;
  height: 100vh;
  position: absolute;
  transition: left 1s;
  top: 0;
  left: 0;
}

#section0 {
  border: none;
  left: -5%;
  width:105%;
}

#section1 {
  left: 100%;
  z-index:10;
}
#section2 {
  left: 105%;
  z-index:20;
}

#section3 {
  left: 110%;
  z-index:30;
}

#section4 {
  left: 115%;
  z-index:40;
}

#section5 {
  left: 120%;
  z-index:50;
}

#section6 {
  width:95vw;
  left: 125%;
  z-index:60;
}

.side_title_area{
z-index: 100;
}



.inner_section{
  position: absolute;
  top:0;
  left:0;
  margin-left:5%;
  padding: 2%;
  width:80%;
  height:100vh;
}

#section2 .inner_section{
  z-index:21;
  pointer-events: none;
}

#section3 .inner_section{
  z-index:31;
  pointer-events: none;
}


#section4 .inner_section{
  z-index:41;
  pointer-events: none;
}

#section5 .inner_section{
  z-index:51;
  pointer-events: none;
}

.instructions h3{
  margin-top: -16px;
font-size: 3em;
font-weight: 300;
padding-left: 1vw;
}

.instructions_list h3{
  margin-top: -16px;
  font-size: 1.7em;
font-weight: 300;
padding-left: 1vw;
}

.instructions_list{
  list-style-position: outside;
  margin:0px;
  padding-left: 3vw;
  list-style-type: "⸺";
 
  font-size:30px;
}


.interaction {
  position: absolute;
  top:0;
  border: none;
  /* left:5vw; */
  left:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events: all;
  overflow:hidden;
}

.side_title_area{
  position: absolute;
  top:0;
  left:0;
  width:5vw;
  height: 100vh;
}

@media (max-width: 767px) {
  html {
    height: 100%;
    overflow: hidden;
  }
  
  body{
    position: relative;
    height:100%;
    width:100vw;
    overflow-y:hidden;
  }

  
  #draggable{
    width:60vw;
    height:60vw;
    left: 0;
    top: 0;
    margin-left: 10vh;
    margin-top: 40vh;
  }

  #burger-wrapper {
    width: 60vw;
    height: 60vw;
  }

  #burger-circle{
    width: 60vw;
    height: 60vw;
  }
  #sidebar{
    height: 10.5vh;
    width: 100vw;
    top: -5%;
  }

  .interaction{
    top:0;
    left:0;
    width:100vw;
    height:70vh;
    /* pointer-events:none; */
  }
  
  .instructions_list{
    padding-left: 0;
  }
  .rotate {
    padding-left: 2vw;
    padding-bottom: 2vh;
    font-size: 40px;
    font-weight: 300;
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    display: inline-block;
    text-transform: uppercase;
    margin-top: 0.5vh;
  }

  .rotate span {
    width: 150px;
    font-size: 25px;
  }

  .sections_wrapper {
    height: 100vh;
    width:100vw;
    /* outline: 1px solid hotpink; */
  }

  
  #section0 {
    width:100%;
    height:105vh;
    left: 0%;
    top:-5%;
    border: none;
  }

  .big_title{
    width:90vw;
    margin-top:10vh;
    margin-left: 5vw;
    font-size: 1.15rem;
  }


  #section0 .inner_section{
    display:initial;
  }

  #section1 {
    top: 100%;
    left: 0%;
  }
  #section2 {
    top: 105%;
    left: 0%;
  }

  #section3 {
    top: 110%;
    left: 0%;
  }

  #section4 {
    top: 115%;
    left: 0%;
  }

  #section5 {
    top: 120%;
    left: 0%;
  }

  #section6 {
    width:100vw;
    top: 125%;
    left: 0%;
  }

  .inner_section{
    width:95%;
    height:70vh;
    padding-top: 12%;
    margin-left:0px;
    padding-left:2vw;
  }
  .section {
    background-color: rgb(29, 29, 29);
    border-top: 3px solid white;
    border-left: none;
    padding: 0px;
    width: 100vw;
    height: 70vh;
    position: absolute;
    transition: top 1s;
    top: 0;
    left: 0;
  }

  .instructions{
    margin-top:2vh;
  }
  #make_title,#home_title, #mochis_title {
    font-size: 4.5em;
    padding-top: 20%;
    padding-left: 0px;
    margin: 0px;
    line-height: 1;
  }

  .instructions_list{
    margin-left: 12vw;
  }

  .instructions h3{
    font-size: 7vw;
  }
  .instructions_list{
    font-size: 1.5em;
  }

  .side_title_area{
    position: absolute;
    top:0;
    left:0;
    width:100vw;
    height: 5vh;
  }
  /* #burger-wrapper {
    width
  } */

}



svg {
  margin: auto;
  width: 100vmin;
}
g > text {
  text-anchor: middle;
  font-size: 200px;
  font-family: Inter, sans-serif;
  fill: hsl(0, 0%, 100%);
  opacity: 0;
  animation-name: opac;
  animation-duration: 11s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
g > text:nth-child(1) { animation-delay: 0s; }
g > text:nth-child(2) { animation-delay: 2s; }
g > text:nth-child(3) { animation-delay: 4s; }
g > text:nth-child(4) { animation-delay: 6s; }

@keyframes opac {
  0% { opacity: 0; }
  7.5% { opacity: 1; }
  10% { opacity: 1; }
  15% { opacity: 0; }
  100% { opacity: 0; }
}

.salutLaFamille{
  display: block;
}