.text {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 3rem;
    height: 100vh;
    justify-content: center;
    text-align: center;
    width: 100vw;
  }
  @media (min-width: 768px) {
    .text {
      font-size: 5rem;
    }
  }
  .text:nth-child(n) {
    background: #7e05d7;
  }
  .text:nth-child(2n) {
    background: #000;
  }
  .text:nth-child(3n) {
    background: #bd04a9;
  }
  .text .char {
    display: inline-block;
    -webkit-animation-delay: calc(0.25s + var(--char-index) * 0.1s);
            animation-delay: calc(0.25s + var(--char-index) * 0.1s);
    transition: all 0.25s calc(0.25s + var(--char-index) * 0.1s);
  }
  .text--enter [data-scroll='out'] .char {
    opacity: 0;
    -webkit-transform: translate(0, -150%);
            transform: translate(0, -150%);
  }
  .text--enter .char {
    opacity: 1;
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
  .text--random [data-scroll='out'] .char:nth-of-type(1) {
    -webkit-transform: translateX(202%) translateY(-45%);
            transform: translateX(202%) translateY(-45%);
  }
  .text--random [data-scroll='out'] .char:nth-of-type(2) {
    -webkit-transform: translateX(198%) translateY(184%);
            transform: translateX(198%) translateY(184%);
  }
  .text--random [data-scroll='out'] .char:nth-of-type(3) {
    -webkit-transform: translateX(134%) translateY(56%);
            transform: translateX(134%) translateY(56%);
  }
  .text--random [data-scroll='out'] .char:nth-of-type(4) {
    -webkit-transform: translateX(-51%) translateY(250%);
            transform: translateX(-51%) translateY(250%);
  }
  .text--random [data-scroll='out'] .char:nth-of-type(5) {
    -webkit-transform: translateX(-109%) translateY(-81%);
            transform: translateX(-109%) translateY(-81%);
  }
  .text--random [data-scroll='out'] .char:nth-of-type(6) {
    -webkit-transform: translateX(234%) translateY(134%);
            transform: translateX(234%) translateY(134%);
  }
  .text--swapsies [data-scroll='in'] .char:nth-of-type(1),
  .text--swapsies [data-scroll='out'] .char:nth-of-type(1) {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  .text--swapsies [data-scroll='in'] .char:nth-of-type(2),
  .text--swapsies [data-scroll='out'] .char:nth-of-type(2) {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  .text--swapsies [data-scroll='in'] .char:nth-of-type(3),
  .text--swapsies [data-scroll='out'] .char:nth-of-type(3) {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  .text--swapsies [data-scroll='in'] .char:nth-of-type(4),
  .text--swapsies [data-scroll='out'] .char:nth-of-type(4) {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  .text--swapsies [data-scroll='in'] .char:nth-of-type(5),
  .text--swapsies [data-scroll='out'] .char:nth-of-type(5) {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  .text--swapsies [data-scroll='in'] .char:nth-of-type(6),
  .text--swapsies [data-scroll='out'] .char:nth-of-type(6) {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  .text--swapsies [data-scroll='in'] .char:nth-of-type(7),
  .text--swapsies [data-scroll='out'] .char:nth-of-type(7) {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  .text--swapsies [data-scroll='in'] .char:nth-of-type(8),
  .text--swapsies [data-scroll='out'] .char:nth-of-type(8) {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  .text--swapsies [data-scroll='in'] .char {
    -webkit-animation-duration: 0.5s;
            animation-duration: 0.5s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
  }
.text--swapsies [data-scroll='in'] .char:nth-of-type(1) {
  -webkit-animation-name: swap-left;
          animation-name: swap-left;
}
.text--swapsies [data-scroll='in'] .char:nth-of-type(2) {
  -webkit-animation-name: swap-right;
          animation-name: swap-right;
}
.text--swapsies [data-scroll='in'] .char:nth-of-type(3) {
  -webkit-animation-name: swap-left;
          animation-name: swap-left;
}
.text--swapsies [data-scroll='in'] .char:nth-of-type(4) {
  -webkit-animation-name: swap-right;
          animation-name: swap-right;
}
.text--swapsies [data-scroll='in'] .char:nth-of-type(5) {
  -webkit-animation-name: swap-left;
          animation-name: swap-left;
}
.text--swapsies [data-scroll='in'] .char:nth-of-type(6) {
  -webkit-animation-name: swap-right;
          animation-name: swap-right;
}
.text--swapsies [data-scroll='in'] .char:nth-of-type(7) {
  -webkit-animation-name: swap-left;
          animation-name: swap-left;
}
.text--swapsies [data-scroll='in'] .char:nth-of-type(8) {
  -webkit-animation-name: swap-right;
          animation-name: swap-right;
}




 /* width */
 ::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: linear-gradient(181deg, rgb(252, 241, 206), transparent);;
  border-radius: 0px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #000; 
}

/* Preloader */
  
.shape-overlays {
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99998;
}

.preloader {
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: #000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
}

.shape-overlays.is-opened {
  pointer-events: auto;
}

.shape-overlays__path:nth-of-type(1) {
  fill: #0F0043;
}

.shape-overlays__path:nth-of-type(2) {
  fill: #231f20;
}

.shape-overlays__path:nth-of-type(3) {
  fill: #fff;
}
.loading {
  background: #000;
  height: 5px;
  width: 0%;
  position: fixed;
  top: 0;
  z-index: 1;
}

/* !@Preloader */

/* Cursor Start */

.mouse-cursor {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  visibility: hidden;
}

.cursor-inner {
  margin-left: -17px;
  margin-top: -12px;
  width: 30px;
  border-radius: 80px;
  height: 30px;
  z-index: 10000001;
   background: linear-gradient(-1deg, #cbb1a3, #000);
}