.intro-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--light-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation: hide 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 2.9s;
}

.intro-container::before,
.intro-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--color-black);
  animation: splitDelay 1.3s cubic-bezier(0.4, 0, 0.2, 1) forwards 2s;
}

.intro-container::before {
  left: 0;
  animation-name: splitLeft;
}

.intro-container::after {
  right: 0;
  animation-name: splitRight;
}

.main-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.line {
  position: absolute;
  background: #fff;
  z-index: 10000;
}

.line-vertical {
  width: 3px;
  height: 100%;
}

.line-left {
  left: 7%;
  animation: lineUp 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s;
}

.line-right {
  right: 7%;
  animation: lineDown 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s;
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: logoFadeIn 1.5s ease forwards 0.5s;
  z-index: 10000;
}

.logo::before {
  content: "";
  position: absolute;
  top: calc(-50vh - 15px);
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: calc(50vh - 20px);
  background: white;
  animation: lineUp 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s;
}

.logo::after {
  content: "";
  position: absolute;
  bottom: calc(-50vh - 15px);
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: calc(50vh - 20px);
  background: white;
  animation: lineDown 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s;
}

.line-top {
  top: 20%;
  transform: translateX(-100%);
  animation: lineRight 1s ease forwards;
}

.line-bottom {
  bottom: 20%;
  transform: translateX(100%);
  animation: lineLeft 1s ease forwards;
}

@keyframes lineUp {
  to {
    transform: translateY(-100%);
  }
}

@keyframes lineDown {
  to {
    transform: translateY(100%);
  }
}

@keyframes lineRight {
  to {
    transform: translateX(0);
  }
}

@keyframes lineLeft {
  to {
    transform: translateX(0);
  }
}

@keyframes logoFadeIn {
  to {
    opacity: 0;
  }
}

@keyframes splitLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes splitRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes splitDelay {
  0%,
  95% {
    transform: translateX(0);
  }
}

@keyframes hide {
  100% {
    z-index: -1;
  }
}
