@import url('https://fonts.googleapis.com/css2?family=Ojuju:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Changa+One:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Momo+Trust+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Annie+Use+Your+Telescope&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media(max-width: 900px) {
  .imageTrailMobile {
    width: 300px;
    height: 300px;
  }
}

#loadingPage,
#home,
body {
  background-color: #FFFCF2;
}
footer {
  background-color: #FFFCF2;
}

.logo-loading {
  font-family: "Ojuju", sans-serif;
  font-weight: 800;
  font-size: clamp(140px, 24vw, 300px);
  letter-spacing: clamp(-42px, -3.5vw, -20px);
  text-align: center;
  color: #232323;
}

.imageTrail {
  position: absolute;
  inset: 0;
  width: 300px;
  height: 300px;
  border-radius: 20px;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
}

.imageTrailMobile {
  position: absolute;
  inset: 0;
  width: 300px;
  height: 300px;
  border-radius: 20px;
  object-fit: cover;
  pointer-events: none;
  opacity: 1;
}

.logo-loading .char {
  display: inline-block; 
}

.num-loading {
  font-family: 'Ojuju', sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 30px;
  color: #232323;
  text-align: center;
}


.text-logo {
  font-family: "Ojuju", sans-serif;
  font-weight: 800;
  font-style: normal;
  color: #232323;
  font-size: clamp(30px, 3vw, 60px);
  letter-spacing: -1px;
  line-height: -20px;
}

.text-hero-content {
  font-family: 'Changa One', sans-serif;
  font-size: clamp(90px, 7vw + 40px, 200px);
  color: #232323;
}

.line-mask {
  overflow: hidden;
}

/* Arrow */
svg {
  width: 90px;
  height: 60px;

  &.loaded {
    .path {
      stroke-dashoffset: 0;
    }
  }

  &:not(.loaded) {
    .path {
      stroke-width: 0;
    }
  }
}

.path {
  fill: none;
  stroke: #232323;
  stroke-linecap: round;
  stroke-linejoin: round;

  &.path-1 {
    stroke-dasharray: 102;
    stroke-dashoffset: -102;
    transition: .8s linear;
  }

  &.path-2 {
    stroke-dasharray: 125;
    stroke-dashoffset: -125;
    transition: .9s linear .8s;
  }

  &.path-3 {
    stroke-dasharray: 18;
    stroke-dashoffset: -18;
    transition: .15s linear 1.7s;
  }
}

.decor-text {
  font-family: 'Annie Use Your Telescope', cursive;
  font-size: clamp(18px, 1vw + 16px, 28px);
  color: #232323;
}

.text-body {
  font-family: 'Momo Trust Display', sans-serif;
  font-size: clamp(12px, 1.2vw, 16px);
  line-height: clamp(22px, 1.5vw, 28px);
  color: #232323;
}

.bubble-bg {
  overflow: hidden;
}

.can-base {
  position: relative;
  z-index: 20;
}

.can-hover {
  position: absolute;
  inset: 0;
  z-index: 20;
}

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

.scrolbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.zoom-in-pack {
  position: relative;
  z-index: 1;
  will-change: transform;
}

.reveal-type {
  overflow: hidden;
}

.reveal-type .char {
  display: inline-block;
}

.text-intro_slides-container {
  font-family: 'Momo Trust Display', sans-serif;
  font-size: clamp(16px, 1vw + 12px, 24px);
  color: #232323;
}

.char-s,
.char-o,
.char-d,
.char-a {
  font-family: "Ojuju", sans-serif;
  font-size: clamp(120px, 9.67vw + 83.74px, 230px);
  letter-spacing: clamp(-20px, -0.528vw - 12.02px, -14px);
}

.mark {
  position: absolute;
  font-family: "Ojuju", sans-serif;
  opacity: 0;
}

.mark-o {
  opacity: 0;
  pointer-events: none;
  font-size: clamp(80px, 4.40vw + 63.5px, 130px);

}

.mark-d {
  opacity: 0;
  pointer-events: none;
  font-size: clamp(50px, 4.40vw + 33.51px, 100px);
}

.mark-a {
  opacity: 0;
  pointer-events: none;
  font-size: clamp(80px, 4.40vw + 63.5px, 130px);
}

.slide2-paragraph {
  font-family: 'Momo Trust Display', sans-serif;
  font-size: clamp(16px, 1vw + 12px, 24px);
  color: #FFFCF2;
  text-align: center;
}

.bubble-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide-2 .reveal-type {
  position: relative;
  z-index: 2;
}

.bubble {
  position: absolute;
  bottom: 0;
  width: 40px;
  height: 40px;
  background: #FFFCF2;
  border-radius: 50%;
  opacity: 0.5;
  animation: floating 10s infinite ease-in;
}

.bubble:nth-child(1) {
  width: 40px;
  height: 40px;
  left: 10%;
  animation-duration: 8s;
}

.bubble:nth-child(2) {
  width: 20px;
  height: 20px;
  left: 20%;
  animation-duration: 8s;
  animation-delay: 1s;
}

.bubble:nth-child(3) {
  width: 50px;
  height: 50px;
  left: 35%;
  animation-duration: 10s;
  animation-delay: 2s;
}

.bubble:nth-child(4) {
  width: 80px;
  height: 80px;
  left: 50%;
  animation-duration: 7s;
  animation-delay: 0s;
}

.bubble:nth-child(5) {
  width: 35px;
  height: 35px;
  left: 55%;
  animation-duration: 6s;
  animation-delay: 1s;
}

.bubble:nth-child(6) {
  width: 45px;
  height: 45px;
  left: 65%;
  animation-duration: 8s;
  animation-delay: 3s;
}

.bubble:nth-child(7) {
  width: 25px;
  height: 25px;
  left: 75%;
  animation-duration: 7s;
  animation-delay: 2s;
}

.bubble:nth-child(8) {
  width: 80px;
  height: 80px;
  left: 80%;
  animation-duration: 6s;
  animation-delay: 1s;
}

.bubble:nth-child(9) {
  width: 15px;
  height: 15px;
  left: 70%;
  animation-duration: 9s;
  animation-delay: 0s;
}

.bubble:nth-child(10) {
  width: 50px;
  height: 50px;
  left: 85%;
  animation-duration: 5s;
  animation-delay: 3s;
}

@keyframes floating {
  0% {
    bottom: -100px;
    transform: translateX(0);
  }

  50% {
    transform: translateX(100px);
  }

  100% {
    bottom: 1080px;
    transform: translateX(-200px);
  }
}

.how-made {
  font-family: 'Momo Trust Display', sans-serif;
  font-size: clamp(24px, 3.17vw + 12.11px, 60px);
  color: #FFFCF2;
}

.font-ojuju {
  font-size: 100px;
  font-family: "Ojuju", sans-serif;
}

.text-slide-3 {
  font-family: 'Momo Trust Display', sans-serif;
  font-size: clamp(16px, 1vw + 12px, 24px);
  color: #232323;
}

main:has(.crisp-header.is--loading) {
  height: 100dvh;
}

.text-result {
  font-family: 'Momo Trust Display', sans-serif;
  font-size: clamp(24px, 3.17vw + 12.11px, 60px);
  color: #232323;
}

.bg-cover-opactiy {
  position: absolute;
  z-index: 5;
  inset: 0;
  opacity: 0;
  background-color: #000000;
}

.crisp-loader {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 1vw;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.crisp-loader__wrap {
  font-size: var(--size-font);
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.crisp-loader__groups {
  position: relative;
  overflow: hidden;
}

.crisp-loader__group {
  border-radius: .5em;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.crisp-loader__single {
  padding-left: 1em;
  padding-right: 1em;
  position: relative;
}

.crisp-loader__media {
  border-radius: .5em;
  justify-content: center;
  align-items: center;
  width: 10em;
  height: 10em;
  display: flex;
  position: relative;
}

.crisp-loader__media.is--scaling {
  will-change: transform;
  border-radius: 0;
  transition-property: border-radius;
  transition-duration: .5s;
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
  display: flex;
}

.crisp-loader__cover-img {
  object-fit: cover;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  position: absolute;
}

.crisp-loader__media.is--scaling.is--radius {
  border-radius: .5em;
}

.crisp-loader__group.is--relative {
  position: relative;
  left: 100%;
}

.crisp-loader__group.is--duplicate {
  position: absolute;
}

.crisp-loader__cover-img.is--scale-down {
  will-change: transform;
}

.crisp-loader__fade {
  pointer-events: none;
  background-image: linear-gradient(90deg, #FFFCF2 20%, #0000);
  width: 5em;
  height: calc(100% + 2px);
  position: absolute;
  top: -1px;
  left: -1px;
}

.crisp-loader__fade.is--duplicate {
  left: auto;
  right: -1px;
  transform: scaleX(-1);
}

.crisp-header {
  background-color: #FFFCF2;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* Loading: Hidden */
.crisp-header.is--loading.is--hidden {
  display: none;
}

.crisp-header.is--loading .crisp-header__slider {
  display: none;
}

.crisp-header.is--loading .crisp-loader {
  display: flex;
}

.crisp-loader {
  display: none;
}

.crisp-header__content {
  color: #FFFCF2;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100dvh;
  padding: 2.5em;
  display: flex;
  position: relative;
}

.crisp-header__top {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
}

.crisp-header__center {
  width: 100%;
  padding: 1.5em;
  position: absolute;
  left: 0;
}

.crisp-header__bottom {
  grid-column-gap: 2em;
  grid-row-gap: 2em;
  flex-flow: column;
  align-items: center;
  margin-top: auto;
  display: flex;
}

.crisp-header__slider-list {
  grid-template-rows: 100%;
  grid-template-columns: 100%;
  place-items: center;
  width: 100%;
  height: 100%;
  display: grid;
  overflow: hidden;
}

.crisp-header__slider-nav {
  grid-column-gap: .5em;
  grid-row-gap: .5em;
  padding: 1em;
  display: flex;
  position: relative;
  overflow: hidden;
}

.crisp-header__slider-nav-btn {
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: .25em;
  width: 3.5em;
  height: 3.5em;
  position: relative;
  transition: border-color 0.75s cubic-bezier(0.625, 0.05, 0, 1);
}

.crisp-header__slider-nav-btn img {
  transform: scale(1) rotate(0.001deg);
  transition: transform 0.75s cubic-bezier(0.625, 0.05, 0, 1);
}

.crisp-header__slider-nav:has(.crisp-header__slider-nav-btn:hover) img {
  transform: scale(0.825) rotate(0.001deg);
}

.crisp-header__slider-nav:has(.crisp-header__slider-nav-btn:hover) .crisp-header__slider-nav-btn:hover img {
  transform: scale(1) rotate(0.001deg);
}

.crisp-header__slider-nav-btn.is--current {
  border-color: #FFFCF2;
}

.crisp-header__slider {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  border-radius: .5em;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
}

.crisp-header__slider-slide {
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  grid-area: 1 / 1 / -1 / -1;
  place-items: center;
  width: 100%;
  height: 100%;
  display: grid;
  position: relative;
  overflow: hidden;
}

.crisp-header__slider-slide.is--current {
  opacity: 1;
  pointer-events: auto;
}

.crisp-header__slider-slide-inner {
  object-fit: cover;
  will-change: transform;
  width: 100%;
  height: 100%;
  position: absolute;
}

.text-decor {
  font-family: "Ojuju", sans-serif;
  font-size: clamp(80px, 7.03vw + 53.64px, 160px);
  color: #232323;
  text-align: center;
}

.footer-text {
  font-family: "Ojuju", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: clamp(60px, 10vw, 200px);
  text-align: center;
  color: #232323;
  letter-spacing: clamp(-6px, -1vw, -1px);
}
