/* Loading Display */

.loadingContainer {
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 10;
}

.loadingScreen {
  background: #fff;
  height: 100%;
  position: relative;
  transition: opacity 0.4s ease-out;
  width: 100%;
  z-index: 11;
}

.loadingScreen__board {
  height: 9.4375rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12.5rem;
}

.loadingScreen__hook {
  left: 3.875rem;
  position: absolute;
  top: 0;
  width: 2.625rem;
}

.loadingScreen__sign {
  animation: loadingSign 1s linear infinite;
  position: absolute;
  top: 1.375rem;
  transform-origin: top center;
  width: 12.5rem;
}

.loadFinish .loadingScreen {
  opacity: 0;
}

.loadingDoor {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.loadingDoor svg {
  height: auto;
  left: 50%;
  min-height: 100dvh;
  min-width: 100vw;
  object-fit: cover;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.scalingDoor {
  transform-origin: center;
  transition: transform 1.4s ease-in-out;
  transition-delay: 0.2s;
}

.loadFinish .scalingDoor {
  transform: scale(30);
}

/* MV */

.mvDisplay {
  height: 100%;
  position: relative;
  width: 100%;
}

.mvDisplay__img {
  width: 100%;
}

.mvSign {
  display: none;
}

/* Coming soon text */

.comingSoon {
  align-items: center;
  background: url(../images/coming-soon/bg-1400.jpg) no-repeat center center / cover;
  display: flex;
  justify-content: center;
  min-height: calc(100dvh - 1.875rem);
}

.comingSoon__text {
  bottom: min(0.8333vw, 0.75rem);
  position: fixed;
  right: min(2.777vw, 2.5rem);
  width: min(31.388vw, 28.25rem);
}

.comingSoon__text svg {
  overflow: visible;
}

.st0,
.st1 {
  opacity: 0;
  transform: translateY(min(2.777vw, 2.5rem));
  transition: 0.4s ease-out;
}

.loadFinish .st0,
.loadFinish .st1 {
  opacity: 1;
  transform: translateY(0);
}

.st0:nth-child(1),
.st1:nth-child(1) {
  transition-delay: 1s;
}

.st0:nth-child(2),
.st1:nth-child(2) {
  transition-delay: 1.1s;
}

.st0:nth-child(3),
.st1:nth-child(3) {
  transition-delay: 1.2s;
}

.st0:nth-child(4),
.st1:nth-child(4) {
  transition-delay: 1.3s;
}

.st0:nth-child(5),
.st1:nth-child(5) {
  transition-delay: 1.4s;
}

.st0:nth-child(6),
.st1:nth-child(6) {
  transition-delay: 1.5s;
}

.st0:nth-child(7),
.st1:nth-child(7) {
  transition-delay: 1.6s;
}

.st0:nth-child(8),
.st1:nth-child(8) {
  transition-delay: 1.7s;
}

.st0:nth-child(9),
.st1:nth-child(9) {
  transition-delay: 1.8s;
}

.st0:nth-child(10),
.st1:nth-child(10) {
  transition-delay: 1.9s;
}

/* Animation Keyframes */

@keyframes loadingSign {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(6.19deg);
  }
  50% {
    transform: rotate(18.95deg);
  }
  75% {
    transform: rotate(6.19deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@media screen and (min-width: 1440px) {
  .comingSoon__text .letter {
    transform: translateY(2.5rem);
  }
  .mvDisplay {
    min-height: 100dvh;
  }
  .mvDisplay img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .comingSoon {
    background: url(../images/coming-soon/bg-767.jpg) no-repeat center center / cover;
    min-height: 100dvh;
  }
  .footer {
    flex-direction: column;
    gap: 0;
    justify-content: center;
    padding: 0.5rem 0.9375rem;
  }
  .privacyLink,
  .copyright {
    font-size: min(0.75rem, 3.2vw);
  }

  .mvDisplay {
    padding: 33.43vw 0 16.533vw;
    position: relative;
  }

  .mvSign {
    display: block;
    left: 16.33vw;
    position: absolute;
    top: 0;
    width: 42.53vw;
  }
  .comingSoon__text {
    bottom: min(0.8333vw, 0.75rem);
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    width: 85.33vw;
  }

  .st0,
  .st1 {
    opacity: 0;
    transform: translateY(50%);
    transition: 0.6s ease-out;
  }
}
