body {
  --activeColor: rgb(240 240 240);
  --navBgColor:  transparent;
  --navBgColor: #000310;
  --navTextColor: rgb(144 144 150);
  --mainBg: rgb(20 20 23);
  --mainBg: #000310;
  --overlay-bg: #100003aa;
  --tha-gradient: conic-gradient(from 0deg at 75% 33% in oklch longer hue, oklch(70% .3 0) 0%, oklch(70% .3 0) 100%);
  font-family: "Helvetica", sans-serif;
  min-height: calc(100vh+1000px);
  
  margin: 0;
  color: rgb(20, 20, 23);
  background: var(--mainBg);
  max-width: 100%;
  overflow-x: hidden;
  
  overflow-y: scroll;-webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}


@import url("https://fonts.googleapis.com/css?family=Montserrat:600");
@import url("https://fonts.googleapis.com/css?family=Lato:600");
@import url("https://use.fontawesome.com/releases/v5.6.1/css/all.css");

* {
  box-sizing: border-box;
  /*! width: 100%; */
}

html {
  overscroll-behavior: none;
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* 
main {
  overflow-y: scroll;
} */

img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

section {
  --h: calc(var(--i) * 9);
  min-height: 100vh;
  min-height: 100svh;
  /*! padding: max(5vh, 2rem) 0 8rem; */
    /*! padding: max(5vh, 2rem) 0 8rem; */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: hsl(var(--h, 0), 75%, 60%);
  position: relative;
  height: 100%;
  width: 100%;
  top: 0;
  position: fixed;
  visibility: hidden;
  background: linear-gradient(350deg, hsl(var(--h, 0), 75%, 60%), hsl(75%, var(--h, 0), 60%));
  background-size: 400% 400%;
  /* animation: GradientBackground 10s ease infinite; */

}

section::after {
  /*! content: " "; */
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  border-radius: 20px;
  /* border: solid black 20px; */
}

/*section.rounded {
  background-color: #000310;
}*/



.rounded-border {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 1px;
  bottom: 1px;
  border: solid white 2px;
  border-radius: 20px;
  width: calc(100% - 2px);
}

.rounded-border .panels-wrap{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 0;

  width: 100%;
  align-self: flex-start;
  height: calc(100%);
  /*! max-width: 968px; */
}

/* Define the animation */
@keyframes moveGradient {
  0% {
    background: radial-gradient(at 38% 100%, hsla(0, 100%, 50%, 0.3) 0px, transparent 40%),
                radial-gradient(at 97% 50%, hsla(262, 100%, 59%, 0.38) 0px, transparent 50%),
                radial-gradient(at 80% 130%, hsla(198, 100%, 50%, 0.62) 0px, transparent 50%),
                radial-gradient(at 20% 160%, hsla(34, 100%, 65%, 0.37) 0px, transparent 50%);
  }
  50% {
    background: radial-gradient(at 42% 95%, hsla(0, 100%, 50%, 0.3) 0px, transparent 40%),
                radial-gradient(at 94% 53%, hsla(262, 100%, 59%, 0.38) 0px, transparent 50%),
                radial-gradient(at 83% 125%, hsla(198, 100%, 50%, 0.62) 0px, transparent 50%),
                radial-gradient(at 24% 155%, hsla(34, 100%, 65%, 0.37) 0px, transparent 50%);
  }
  100% {
    background: radial-gradient(at 38% 100%, hsla(0, 100%, 50%, 0.3) 0px, transparent 40%),
                radial-gradient(at 97% 50%, hsla(262, 100%, 59%, 0.38) 0px, transparent 50%),
                radial-gradient(at 80% 130%, hsla(198, 100%, 50%, 0.62) 0px, transparent 50%),
                radial-gradient(at 20% 160%, hsla(34, 100%, 65%, 0.37) 0px, transparent 50%);
  }
}




section.rounded .rounded-border .rounded-border-child {
  background: none;
  border: none;
}

section.rounded .rounded-border {
  top: 10px;
  bottom: 95px;
  width: calc(100% - 20px);

  /* border: solid #000310 10px; */
  border: solid #000 10px;
  
  /* background: hsl(var(--h, 0), 75%, 60%); */

  background: linear-gradient(350deg, hsl(var(--h, 0), 75%, 60%), hsl(var(--h, 0), 60%, 75%));
  /* background: linear-gradient(350deg, #22D45A, #2247D4); */

  animation: GradientBackground 1s ease infinite;

}

section.gradient-framed>.rounded-border {
  top: 10px;
  bottom: 82px;
  bottom: 10px;

  width: calc(100% - 20px);

  /* border: solid #000310 10px; */
  border: solid #000 10px;

  /* background: hsl(var(--h, 0), 75%, 60%); */

  /*! background: linear-gradient(350deg, hsl(var(--h, 0), 75%, 60%), hsl(var(--h, 0), 60%, 75%)); */
  /*! background: linear-gradient(115deg, #4fcf70, #fad648, #a767e5, #12bcfe, #44ce7b); */

  /* background: linear-gradient(350deg, #22D45A, #2247D4); */

  /*! animation: GradientBackground 1s ease infinite; */

  /*! background: conic-gradient( from 0deg at 50% 50%, #ff0097 0%, #ff0097 100% ); */
  /*! background: conic-gradient(from 0deg at 75% 33% in oklch longer hue, oklch(70% .3 0) 0%, oklch(70% .3 0) 100%); */


  /* animation: moveGradient 10s infinite alternate ease-in-out; */
  /*! background: radial-gradient(at 38% 100%, hsla(0, 100%, 50%, 0.3) 0px, transparent 40%), radial-gradient(at 97% 50%, hsla(262, 100%, 59%, 0.38) 0px, transparent 50%), radial-gradient(at 80% 130%, hsla(198, 100%, 50%, 0.62) 0px, transparent 50%), radial-gradient(at 20% 160%, hsla(34, 100%, 65%, 0.37) 0px, transparent 50%); */
  /*! background: #000; */


}

section.gradient-framed .rounded-border .rounded-border-child {
  /*! background: var(--overlay-bg, "#333"); */
  /*! background: radial-gradient(146.13% 118.42% at 50% -15.5%,hsla(0,0%,100%,.04) 0,hsla(0,0%,100%,0) 99.59%),linear-gradient(180deg,rgba(46,51,90,0),rgba(28,27,51,.04)); */
  backdrop-filter: blur(120px);
  color: hsl(var(--h, 0), 75%, 60%);
border-radius: 10px;
  border: none;
}


section.gradient-framed.alt .rounded-border .rounded-border-child {
background: linear-gradient(rgba(64,64,64,.1), rgba(64,64,64,.4),rgba(64,64,64,.1)),linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.2)) no-repeat, radial-gradient(#201E1Caa ,#000000aa);
backdrop-filter: blur(220px); 
}

.section__head{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  border-bottom: transparent 1px;
  display: flex;
  justify-content: center;
align-items: center;
opacity: 0;
  



  /*! background: var(--overlay-bg, "#333"); */
}

.section__head h4{
  /*! border-right: solid 1px; */    
  /*! border-left: solid 1px; */
      line-height: 28px;
    padding: 0 10px;
  align-self: center;
  justify-self: center;
  margin-left: 1px;
    }

.section__head > div
{
  width: calc(100% - 58px);
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.section__head > div div {
    background: var(--overlay-bg, "#333");
    width: calc(50% - 28px);
  height: 28px
}

.section__head > div div:first-of-type{
  margin-left: 1px;  
}
.section__head > div div:last-of-type{
  margin-left: 1px;  
}

.section__head > div h4 {
   background: var(--overlay-bg, "#333");
}

.section__head > div:first-of-type {
    width: 28px;
  height: 28px;  
    /*! border-right: solid 1px; */
    position: absolute;
    left: 0;
    background: var(--overlay-bg, "#333");
  border-top-left-radius: 10px;  
}

  .section__head > div:last-of-type {
  width: 28px;
  height: 28px;
    /*! border-left: solid 1px; */
position: absolute;
right: 0;
background: var(--overlay-bg, "#333");
/*! margin-left: 1px; */
  border-top-right-radius: 10px;
  }
.back-btn, .btn-child{
  cursor: pointer;
}

.btn-go-to-children{
  cursor: pointer;
  background-color: rgba(200,200,255,.14);
  backdrop-filter: blur(50px);
  display: flex;
  border-radius: 20px;
  /*! width: 150px; */
  max-height: 4em;
  padding: 1em;
  grid-row: 2;
  /*! border: solid 2px var(--overlay-bg, "#333"); */
  background: linear-gradient(45deg, #ccc1 87%, #ccea 100%);
  grid-column: 6 / span 2;
  align-self: center;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.btn-go-to-children:hover{
  background: linear-gradient(45deg, #3335 90%, #ccea 100%);
}
.child-panel{
  transition: all .3s;
  grid-column: span 1;
} 


.child-panel.full-grid{
  grid-column: 1/span 7;
}

@keyframes GradientBackground {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}




.container {
  width: 100%;

  max-width: 80rem;
  max-width: calc(100%);

  padding: 0 max(5vw, 1rem);
  transform-style: perspective-3d;
  perspective: 900px;
}
.container.container-parent{
  align-self: center;
  max-width: 968px;
}
.container.children-panel{
  display: none;
  opacity: 0;
  border-right: solid 1px transparent;
  width: calc(31% - 1px);
  min-width: 210px;  
  max-width: 320px;
  position: relative;
  left: 0;
  top:1px;
  bottom: 0;
   padding:20px; 
  flex-direction: column;
  height: calc(100% + 1rem + 11px);
  background: var(--overlay-bg, "#333");
  margin-right: 1px;
  border-bottom-left-radius: 10px;
}


.container.children-panel div.child-panel{
  cursor: pointer;
}

.container.children-panel .child-panel{
  grid-column: 1/span 7;
  display: flex;
  align-items: center;
  font-size: 12px;
  word-break: normal;
  width: 100%;
  max-height: 50px;
}
.container.third-panel{
  /*! left: 28%; */
  /*! position: absolute; */
  /*! top:54px; */
     padding:20px; 
     display: none;
  /*! max-width: 812px; */
  /*! bottom: 0; */
 opacity: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100% + 27px);
  background-color: var(--overlay-bg, "#333");
  margin-top: 1px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
  flex-direction: row;
}


.container.third-panel .section__image,
.container.third-panel .section__heading,
.container.third-panel .section__desc{
  max-width: 812px;
}

.container.children-panel .section__image{
  max-width: 42px;
  min-width: 42px;
  height: 42px;
  margin-right: 4px;
  border-radius: 10px;
  margin-bottom:0;
}

nav {
  position: fixed;
  /*! top: 0; */
  bottom: 0dvh;
  left: 0;
  width: 100%;
  background: var(--navBgColor);
  --navTextColor:#515151;
  color: var(--navTextColor);

  z-index: 2;
  height: 5.7rem;
}

nav::after {
  content: "";
  position: absolute;
  top: 1.7rem;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: currentColor;
  pointer-events: none;
}

.marker {
  position: fixed;
  bottom: 3rem;
  left: 4rem;
  width: 1rem;
  height: 1rem;
  transform: translate3d(-50%, -50%, 0);
  background: var(--activeColor);
  background: var(--tha-gradient);

  border-radius: 100%;
  z-index: 2000;
}

.marker::before {
  content: "";
  position: absolute;

  top: calc(50% - 0.2rem);
  right: 100%;
  width: 4rem;
  height: 0.4rem;
  background: var(--tha-gradient);
}

.nav__track {
  position: relative;
  min-width: max(200rem, 200%);
  padding: 1.5rem max(100rem, 100%) 0 0;
  height: 6rem;
}

.nav__list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  display: block;
  min-width: 80px;
  padding: 2.25rem 1rem 0.5rem;
  text-align: center;
  color: inherit;
  text-decoration: none;
  z-index: 1;
  transition: color 150ms;
}

.nav__link:hover,
.nav__link:focus {
  color: var(--activeColor);
  text-decoration: underline;
}

.nav__link::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 1px;
  height: 1.65rem;
  background: currentColor;

  border-radius: 0%;
  transform: translate3d(2150%, 0, 0);
  transform-origin: center center;
  
}
 



.nav__link span {
  display: block;
  transition: transform 200ms;
}

.nav__link.is-active span {
  transform: scale(1.4);
  color: var(--activeColor);
}

.nav__link.is-active::after {
  
  animation: fill-border 1s;
background: var(--tha-gradient);

}



@keyframes fill-border{
  0% {
opacity: 0;
height: 0rem;
background: var(--tha-gradient);
   }
    30% {
      opacity: 0;}
100% {
opacity: 1;
height: 1.65rem;
background: var(--tha-gradient);
   }
}

.section__heading {
  font-size: clamp(2rem, 5vmin, 3.9rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 0 0 0rem;
  /* grid-row: 1; */
  grid-column: 1/span 2;
  align-self: end;
  position: relative;
  
  grid-row: 2;

}

  .section__desc p {
    margin-top: 2rem;
  }


.section__heading span {
  display: block;
}

.section__heading span:first-child {
  font-size: clamp(1rem, 4vmin, 5rem);
}

.section__heading span:nth-child(2) {
  word-break: initial;
}

.section__image {
  grid-row: 1;
  grid-column: 1/span 7;
  position: relative;
  /* box-shadow: 0.45rem 0.45rem 16rem hsl(var(--h, 0), 75%, 60%); */
  /*! align-self: center; */
  border-radius: 20px;
  background-color: #333;
  width: 100%;
  height: 54vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  margin-bottom: 10px;
  max-height: 261px;
}

.section__image::before,
.section__image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  /*background-color: hsl(var(--h, 0), 10%, 75%); */
  border-radius: 20px;
  mix-blend-mode: hue;
  overflow: hidden;
  /*! background: ; */
}

.section__image::before {
  /*background-color: hsl(var(--h, 0), 70%, 65%);*/

  mix-blend-mode: hard-light;
}

.section__image img {
  filter: brightness(0.5) grayscale(100%);
  border-radius: 20px;
}

.section__desc {
  min-width: 130px;
  grid-row: 3;
  grid-column: 1/span 4;

}

.children-panel{
  /*! position: relative; */
}

.toggle-aside  {

  bottom: 0;
  z-index: 120000;
  left: 0;
  
  
  align-self: center;
  align-items: revert-layer;
  position: absolute;
  right: 0;
  display: none;
}
.toggle-aside div{
  position: absolute;
  left: calc(50% - 24px);
  top: -28px;
  height: 48px;
  width: 48px;
  
  border-radius: 50%;
}

.toggle-aside div:first-of-type{
  border-left: solid 1px;
   border-top: solid 1px;
}
.toggle-aside div:last-of-type{
  border-right: solid 1px;
   border-bottom: solid 1px;
}



.toggle-aside:before{
  content: " ";
  position: absolute;
  
  height: 1px;
  left: 0;
  right: 0;
  
  bottom: 0;
   width: calc(50% - 24px);
  background: var(--tha-gradient);
  display: none;
}


.toggle-aside:after{
  content: " ";
  position: absolute;
  
  height: 1px;
  left: calc(50% + 24px);
  right: 48px;
  
  bottom: 0px;
  width: calc(50% - 24px);
  background: var(--tha-gradient);
  display: none;
}

.section__desc ul {
  padding: 0;
    display:flex;
  margin: 0;
  flex-wrap: wrap;
}
  .section__desc li {
    list-style: none;
    margin: 5px 5px 5px 0;
    font-family: 'Helvetica';
    border: solid 1px;
    border-radius: .5em;
    padding: 0.33em .5em .25em;
    line-height: 1em;
  }
  .section__desc li:nth-of-type(odd) {
    color: #ddd;
  }

@media (min-width: 32em) {

  .section__image {

  }

  .container {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
    /*! max-width: 812px; */
  }

  .section__heading,
  .section__image {
    /*! grid-row: 1; */
  }
}

@media screen and (max-width: 414px) {


  .section__image img {
    width: auto;
    height: auto;
    max-height: calc(50vh - 100px);
  }
}
@media screen and (max-width: 584px) {
  .panels-wrap{
    
  
flex-direction: column;
  }
  
  .container.children-panel{
    min-width: 100%;
    border-right: none;
    border-bottom: solid 1px;
flex-direction: row;
    /*! flex-flow:  unset; */
    flex-wrap: wrap;
  }
  .container .child-panel{
    flex: 1 3 16px;
    margin-right: 25px;
  }
  
  
  .container.children-panel{
    min-width: 100%;
    border-right: none;
    border-bottom: solid 1px;
     border-bottom: none;
flex-direction: row;

   grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    /*! flex-flow:  unset; */
    flex-wrap: wrap;
  }
 .container.children-panel .child-panel{
    flex: 1 3 150px;
    margin-right: 0px;
    grid-column: 1 span;
    width: 220px;
  }
  
    .container.children-panel .child-panel div:not(.section__desc, .section__image){
  text-overflow: ellipsis;
  overflow: hidden;
    max-width: 100%;
      max-height: 3em;
  white-space: wrap;
  }
  
    .container.children-panel.opened{
    min-width: 100%;
    border-right: none;
    border-bottom: solid 1px;
flex-direction: none;
    display: grid !important;
   grid-template-columns: repeat(3, minmax(0, 1fr));

    /*! flex-flow:  unset; */
    flex-wrap: nowrap;
  }
 .container.children-panel.opened .child-panel{
    flex: 1 3 16px;
    margin-right: 0px;
    grid-column: 1 span;
    max-width: 250px;
   flex-direction: column;
  }
  .container.children-panel.opened .child-panel div:not(.section__desc, .section__image){
  text-overflow: ellipsis;
  overflow: hidden;
    max-width: 100%;
  white-space: nowrap;
  }
  
  
      .container.children-panel{
width: 100%;
max-width: 100%;
min-width: 100%;
flex-direction: row;
max-height: 70px;
flex-wrap: nowrap;
        align-items: center;
        
      padding: 0;
overflow: hidden;
      margin-bottom: 1px;
        border-bottom-left-radius: 0;
overflow-x: scroll;
}
  .container.children-panel > .child-panel {
    margin-right: 1em;
  }
.rounded-border .panels-wrap{
flex-direction: column;
  padding: 28px 0 0;
}
  
 }


@media (orientation:portrait){
  .section__image{
    max-height: 25vh;
  }
  .children-panel{
   /* display: none !important; */
  }
  

}
.timenav{
   display:none;
}
@media (orientation:landscape){
    .section__image{
      /*! grid-column: 1/span 7; */ 
      /* background: #fff2; */
      backdrop-filter: opacity(113);
  }
  .section__heading {
        grid-row: 2;
        grid-column: 1/span 7;
  }
  .section__desc{
        grid-row: 3;
    grid-column: 1/span 7; 
          

  }
  


  
  nav,
.nav__track{
  max-width: 30px;
  min-width: 60px;
  height: 100vh;
  top:0;
  left:0;
  bottom: 10px;
  flex-direction: column;
  --navBgColor: transparent;
}

.nav__link.is-active{
  padding: 2.25rem 1.125rem 0.5rem;
  min-width: 10px;
  transition: padding .5s
}
.nav__link{
  padding: 2.25rem 1.5rem 0.5rem;
  min-width: 10px;
}

.nav__track{padding: 5em 0 0 0}

ul.nav__list {
  flex-direction: column;
}

nav::after {
  content: "";
  position: absolute;
  top: 0;
  left: 3.7rem;
  width: 6px;
  height:100vh;
  background: currentColor;
  background: transparent;
  pointer-events: none;
}


.marker {
  position: fixed;
  top: 3rem;
  
  left: 3.3rem;
  width: 1rem;
  height: 1rem;
  transform: translate3d(-50%, -50%, 0);
  background: var(--activeColor);
  background: var(--tha-gradient);

  border-radius: 100%;
  z-index: 2000;
}

.marker::before {
  content: "";
  position: absolute;
z-index: 199;
  top: calc(-3.9rem);
  right: calc(.3rem);
  width: 0.4rem;
  height: 4rem;
  background: var(--tha-gradient);
}


section.gradient-framed>.rounded-border {
  top: 10px;
  bottom: 12px;

  width: calc(100% - 100px);
  /* right: 15px; */
}

section.rounded .rounded-border {
  top: 10px;
  bottom: 12px;
  width: calc(100% - 100px);
  /* right: 15px; */
}
  
}
.keys-foot {
  position: absolute;
  bottom: 0px;
  width: calc(100% - 32px);
}

.keys-foot ul {
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 0;
}

.keys-foot ul li {
  background-color: #eee;
  color: var(--mainBg);
  padding: 0em;
  border-radius: 20px 20px 0 0;
  list-style: none;
  border: solid;
  border-bottom: none;
  text-align: center;

}

.keys-foot ul li span {
  padding: .33em 1rem;
  text-align: center;
  min-width: 120px;
  display: block;
  min-height: 1rem;

}

.gradient-framed .keys-foot ul li {
  background: transparent;
  border: none;
  position: relative;
  color: hsl(var(--h, 0), 75%, 60%);
  /*! background: linear-gradient(115deg, #4fcf70, #fad648, #a767e5, #12bcfe, #44ce7b); */
  /*! background: conic-gradient(from 0deg at 75% 33% in oklch longer hue, oklch(70% .3 0) 0%, oklch(70% .3 0) 100%); */
  top: 2px;
}


.keys-foot ul li.text-roll{
  display: block;
  min-width: 120px;
  text-align: center;
}
.gradient-framed .keys-foot ul li span {
  text-align: center;
  color: hsl(var(--h, 0), 75%, 60%);
  background: var(--mainBg);
  text-shadow: 0.15rem 0.15rem .0rem hsl(var(--h, 0), 75%, 9%);

  margin: 1px 1px 0;
  border-radius: 20px 20px 0 0;

  min-width: 120px;
}

@keyframes background-color {
  from {
    background-color: rgb(0, 0, 0);
    opacity: 1;
  }

  to {
    background-color: #000;
    opacity: 0;
    /*! display: none; */
  }
}

@keyframes show {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes center {
  from {
    transform: translateX(0) translateY(0);
  }

  to {
    transform: translate(-50px) translateY(50px);
  }
}

@keyframes scale {
  from {
    scale: 1;
  }

  to {
    scale: 70;
  }
}

@keyframes fill {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

@keyframes flip {
  from {
    rotate: 0deg;
    translate: 0 0;
  }

  to {
    rotate: 90deg;
    translate: 32% -200%;
  }
}

@keyframes hide {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes add {
  to {
    display: flex;
  }
}

@keyframes remove {
  to {
    /*! display: none; */
  }
}

h1 {
  animation-name: show;
  animation-delay: 2.5s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Syncopate";
}

.loading-bg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--mainBg);
  overflow: hidden;
  animation-name: add, background-color;
  animation-delay: 0s, 5.5s;
  animation-duration: .1s, 1s, 300s;
  animation-fill-mode: forwards;
}

.loading-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  /* animation-name: center, scale, hide, remove;
  animation-delay: 2.5s;
  animation-duration: 1s, 2s, 2s;
  animation-fill-mode: forwards; */
  z-index: 10;
}

.loading-container {
  position: relative;
  display: flex;
  width: 300px;
  /* top: 24px;
  left: 22em; */
}

.loading-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  max-width: 75%;
  height: 75px;
  background-color: white;
  animation-name: fill, flip;
  animation-delay: 0s, 1s;
  animation-duration: 1s, 1s;
  animation-timing-function: linear, ease-in-out;
  animation-fill-mode: forwards;
  will-change: width rotate;
}

.short-bar {
  left: 75%;
  width: 0%;
  max-width: 25%;
  animation-name: fill;
  animation-delay: 0.75s;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

.glitch-wrapper {
  width: 100%;
  /*! height: 100%; */
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFa;
  background-color: var(--mainBg);
}

.glitch {
  position: relative;
  bottom: 11rem;
  font-size: clamp(1.5rem, 10vmin, 5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 5px;
  z-index: 1;
}

.glitch.min-sized {
  font-family: monospace !important;
  font-size: clamp(.75rem, 4vmin, .87rem);

}

.glitch:before {
  content: attr(data-glitch);
  position: absolute;
  top: 0;
  left: -2px;
  width: 100%;
  color: #fff;
  background-color: var(--mainBg);
  overflow: hidden;
  clip: rect(0, 900px, 0, 0);
  /* animation: noise-before 3s infinite linear alternate-reverse; */
}

.glitch:after {
  content: attr(data-glitch);
  position: absolute;
  top: 0;
  left: 2px;
  width: 100%;
  color: #fff;
  background-color: var(--mainBg);
  overflow: hidden;
  clip: rect(0, 900px, 0, 0);
  animation: noise-after 2s infinite linear alternate-reverse;
}

@keyframes noise-before {
  0% {
    clip: rect(61px, 9999px, 52px, 0);
  }

  5% {
    clip: rect(33px, 9999px, 144px, 0);
  }

  10% {
    clip: rect(121px, 9999px, 115px, 0);
  }

  15% {
    clip: rect(144px, 9999px, 162px, 0);
  }

  20% {
    clip: rect(62px, 9999px, 180px, 0);
  }

  25% {
    clip: rect(34px, 9999px, 42px, 0);
  }

  30% {
    clip: rect(147px, 9999px, 179px, 0);
  }

  35% {
    clip: rect(99px, 9999px, 63px, 0);
  }

  40% {
    clip: rect(188px, 9999px, 122px, 0);
  }

  45% {
    clip: rect(154px, 9999px, 14px, 0);
  }

  50% {
    clip: rect(63px, 9999px, 37px, 0);
  }

  55% {
    clip: rect(161px, 9999px, 147px, 0);
  }

  60% {
    clip: rect(109px, 9999px, 175px, 0);
  }

  65% {
    clip: rect(157px, 9999px, 88px, 0);
  }

  70% {
    clip: rect(173px, 9999px, 131px, 0);
  }

  75% {
    clip: rect(62px, 9999px, 70px, 0);
  }

  80% {
    clip: rect(24px, 9999px, 153px, 0);
  }

  85% {
    clip: rect(138px, 9999px, 40px, 0);
  }

  90% {
    clip: rect(79px, 9999px, 136px, 0);
  }

  95% {
    clip: rect(25px, 9999px, 34px, 0);
  }

  100% {
    clip: rect(173px, 9999px, 166px, 0);
  }
}

@keyframes noise-after {
  0% {
    clip: rect(26px, 9999px, 33px, 0);
  }

  5% {
    clip: rect(140px, 9999px, 198px, 0);
  }

  10% {
    clip: rect(184px, 9999px, 89px, 0);
  }

  15% {
    clip: rect(121px, 9999px, 6px, 0);
  }

  20% {
    clip: rect(181px, 9999px, 99px, 0);
  }

  25% {
    clip: rect(154px, 9999px, 133px, 0);
  }

  30% {
    clip: rect(134px, 9999px, 169px, 0);
  }

  35% {
    clip: rect(26px, 9999px, 187px, 0);
  }

  40% {
    clip: rect(147px, 9999px, 137px, 0);
  }

  45% {
    clip: rect(31px, 9999px, 52px, 0);
  }

  50% {
    clip: rect(191px, 9999px, 109px, 0);
  }

  55% {
    clip: rect(74px, 9999px, 54px, 0);
  }

  60% {
    clip: rect(145px, 9999px, 75px, 0);
  }

  65% {
    clip: rect(153px, 9999px, 198px, 0);
  }

  70% {
    clip: rect(99px, 9999px, 136px, 0);
  }

  75% {
    clip: rect(118px, 9999px, 192px, 0);
  }

  80% {
    clip: rect(1px, 9999px, 83px, 0);
  }

  85% {
    clip: rect(145px, 9999px, 98px, 0);
  }

  90% {
    clip: rect(121px, 9999px, 154px, 0);
  }

  95% {
    clip: rect(156px, 9999px, 44px, 0);
  }

  100% {
    clip: rect(67px, 9999px, 122px, 0);
  }
}

/* *{
  margin:0;
  padding:0;
  font-family: 'Montserrat', sans-serif;
  box-sizing:border-box;
  animation-timing-function:ease;
}

body{
  display:flex;
  justify-content:center;
  align-items:center;
  height:100vh;
  overflow:hidden;
} */
#wrapper {
  position: relative;
  width: 350px;
  animation: outt 0.3s forwards ease;
  animation-delay: 5s;
  transform: scale(1);
  opacity: 1;
  transform-origin: center -80%;
}

@media screen and (max-width: 414px) {
  #wrapper {
    animation: outt-mob 0.3s forwards ease;
    animation-delay: 5s;

    transform: scale(.75);
  }
  

}

@keyframes outt-mob {
  0% {
    transform: scale(.75);
    opacity: 1;
  }

  100% {
    transform: scale(0);
    opacity: 0;
  }
}

@keyframes outt {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0);
    opacity: 0;
  }
}

#wrapper .loader {
  animation: rotationn 3.5s forwards linear;
  position: absolute;
  top: -120px;
  left: calc(50% - 35px);
  border: 5px solid #fff;
  border-radius: 50%;
  border-top-color: #a29bfe;
  height: 70px;
  width: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes rotationn {
  0% {
    transform: rotate(0);
  }

  84% {
    transform: rotate(500deg);
  }

  95% {
    border: 5px solid #fff;
    border-top-color: #a29bfe;
  }

  100% {
    transform: rotate(1800deg);
    border: 5px solid #2ed573;
  }
}

#wrapper .loader:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2em;
  color: #2ed573;
  animation: overspin 0.5s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation-delay: 3.4s;
  transform: rotate(180deg);
  opacity: 0;
}

@keyframes overspin {
  0% {
    transform: rotate(180deg);
    opacity: 0;
  }

  100% {
    transform: rotate(0);
    opacity: 1;
  }
}

#wrapper #mouse {
  position: absolute;
  top: 100px;
  left: 80%;
  animation: mouse-pos 3.5s forwards, mouse-pos2 1s forwards;
  animation-delay: 0s, 4s;
  z-index: 20;
}

@keyframes mouse-pos {
  30% {
    top: 100px;
    left: 80%;
  }

  50% {
    top: 15px;
    left: 4%;
  }

  60% {
    top: 15px;
    left: 4%;
  }

  75% {
    top: 5px;
    left: 7.3%;
  }

  85% {
    top: 5px;
    left: 7.3%;
  }

  95% {
    top: 15px;
    left: 105%;
  }

  100% {
    top: 15px;
    left: 105%;
  }
}

@keyframes mouse-pos2 {
  0% {
    top: 15px;
    left: 105%;
  }

  100% {
    top: -85px;
    left: 53%;
  }
}

#wrapper #mouse:after {
  content: "\f245";
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 20px;
  animation: mouse-cont 2s forwards;
  animation-delay: 1.7s;
  color: var(--activeColor);
  text-shadow: 0 1px 10px rgba(125, 255, 125, 1);
}

@keyframes mouse-cont {
  0% {
    font-size: 20px;
  }

  2% {
    font-size: 15px;
  }

  4% {
    font-size: 20px;
  }

  33% {
    content: "\f245";
  }

  34% {
    content: "\f337";
  }

  80% {
    content: "\f337";
  }

  81% {
    content: "\f245";
  }
}

#wrapper #mouse:before {
  content: "";
  position: absolute;
  top: -22px;
  left: -24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #222f3e;
  animation: circle 3.5s forwards;
  animation-delay: 1.7s;
  opacity: 0;
  transform: scale(0);
}

@keyframes circle {
  0% {
    transform: scale(0);
  }

  4% {
    opacity: 1;
  }

  8% {
    transform: scale(1);
    opacity: 0;
  }

  92% {
    transform: scale(0);
    opacity: 0;
  }

  95% {
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

#wrapper .load-bar {
  width: 100%;
  height: 30px;
  background: #dfe6e9;
  border-radius: 5px;
}

#wrapper .load-bar .progress-bar {
  animation: progress 3.5s forwards;
  width: 6%;
  height: 100%;
  background: #a29bfe;
  border-radius: 5px;
  border: 0 solid #0abde3;
}

@keyframes progress {
  0% {
    width: 6%;
  }

  50% {
    border: 0 solid #0abde3;
  }

  51% {
    border: 4px solid #0abde3;
  }

  85% {
    width: 11%;
  }

  95% {
    border: 4px solid #0abde3;
    width: 100%;
  }

  100% {
    width: 100%;
  }
}

#wrapper .status {
  margin-top: 10px;
}

#wrapper .status .state {
  float: left;
  font-size: 0.9em;
  letter-spacing: 1pt;
  text-transform: uppercase;
  width: 100px;
  height: 20px;
  position: relative;
}

#wrapper .status .state:before {
  content: "Arrimage...";
  color: #ffcc07;
  position: absolute;
  left: 0;
  top: 0;
  animation: fadeLeft 0.5s forwards ease;
  animation-delay: 3.2s;
}

@keyframes fadeLeft {
  0% {
    text-indent: 0;
    opacity: 1;
  }

  100% {
    text-indent: -100px;
    opacity: 0;
  }
}

#wrapper .status .state:after {
  content: "Arrimé !";
  position: absolute;
  color: var(--activeColor);
  left: 0;
  top: 0;
  text-indent: 100px;
  opacity: 0;
  animation: fadeLeft2 0.5s forwards ease;
  animation-delay: 3.2s;
}

@keyframes fadeLeft2 {
  0% {
    text-indent: 100px;
    opacity: 0;
  }

  100% {
    text-indent: 0;
    opacity: 1;
  }
}

#wrapper .status .percentage {
  float: right;
}

#wrapper .status .percentage:before {
  animation: percentage-slow 3s forwards, percentage-fast 0.4s forwards;
  animation-delay: 0s, 3s;
  content: "10%";
  color: var(--activeColor);
  font-size: 0.9em;
  letter-spacing: 1pt;
}

@keyframes percentage-slow {
  0% {
    content: "6%";
  }

  25% {
    content: "7%";
  }

  50% {
    content: "8%";
  }

  75% {
    content: "9%";
  }

  100% {
    content: "10%";
  }
}

@keyframes percentage-fast {
  11% {
    content: "11%";
  }

  12% {
    content: "12%";
  }

  13% {
    content: "13%";
  }

  14% {
    content: "14%";
  }

  15% {
    content: "15%";
  }

  16% {
    content: "16%";
  }

  17% {
    content: "17%";
  }

  18% {
    content: "18%";
  }

  19% {
    content: "19%";
  }

  20% {
    content: "20%";
  }

  21% {
    content: "21%";
  }

  22% {
    content: "22%";
  }

  23% {
    content: "23%";
  }

  24% {
    content: "24%";
  }

  25% {
    content: "25%";
  }

  26% {
    content: "26%";
  }

  27% {
    content: "27%";
  }

  28% {
    content: "28%";
  }

  29% {
    content: "29%";
  }

  30% {
    content: "30%";
  }

  31% {
    content: "31%";
  }

  32% {
    content: "32%";
  }

  33% {
    content: "33%";
  }

  34% {
    content: "34%";
  }

  35% {
    content: "35%";
  }

  36% {
    content: "36%";
  }

  37% {
    content: "37%";
  }

  38% {
    content: "38%";
  }

  39% {
    content: "39%";
  }

  40% {
    content: "40%";
  }

  41% {
    content: "41%";
  }

  42% {
    content: "42%";
  }

  43% {
    content: "43%";
  }

  44% {
    content: "44%";
  }

  45% {
    content: "45%";
  }

  46% {
    content: "46%";
  }

  47% {
    content: "47%";
  }

  48% {
    content: "48%";
  }

  49% {
    content: "49%";
  }

  50% {
    content: "50%";
  }

  51% {
    content: "51%";
  }

  52% {
    content: "52%";
  }

  53% {
    content: "53%";
  }

  54% {
    content: "54%";
  }

  55% {
    content: "55%";
  }

  56% {
    content: "56%";
  }

  57% {
    content: "57%";
  }

  58% {
    content: "58%";
  }

  59% {
    content: "59%";
  }

  60% {
    content: "60%";
  }

  61% {
    content: "61%";
  }

  62% {
    content: "62%";
  }

  63% {
    content: "63%";
  }

  64% {
    content: "64%";
  }

  65% {
    content: "65%";
  }

  66% {
    content: "66%";
  }

  67% {
    content: "67%";
  }

  68% {
    content: "68%";
  }

  69% {
    content: "69%";
  }

  70% {
    content: "70%";
  }

  71% {
    content: "71%";
  }

  72% {
    content: "72%";
  }

  73% {
    content: "73%";
  }

  74% {
    content: "74%";
  }

  75% {
    content: "75%";
  }

  76% {
    content: "76%";
  }

  77% {
    content: "77%";
  }

  78% {
    content: "78%";
  }

  79% {
    content: "79%";
  }

  80% {
    content: "80%";
  }

  81% {
    content: "81%";
  }

  82% {
    content: "82%";
  }

  83% {
    content: "83%";
  }

  84% {
    content: "84%";
  }

  85% {
    content: "85%";
  }

  86% {
    content: "86%";
  }

  87% {
    content: "87%";
  }

  88% {
    content: "88%";
  }

  89% {
    content: "89%";
  }

  90% {
    content: "90%";
  }

  91% {
    content: "91%";
  }

  92% {
    content: "92%";
  }

  93% {
    content: "93%";
  }

  94% {
    content: "94%";
  }

  95% {
    content: "95%";
  }

  96% {
    content: "96%";
  }

  97% {
    content: "97%";
  }

  98% {
    content: "98%";
  }

  99% {
    content: "99%";
  }

  100% {
    content: "100%";
  }
}