/* 白屏阶段会执行的 CSS 加载动画 */

* {
  margin: 0;
  padding: 0;
}

#app-loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  height: 100svh;
  background-color: #1b3e28;
}

.loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
  /* height: 30vh; */
}

.loading-box-text {
  font-weight: 900;
  font-size: 26px;
  color: #ffffff;
  transform: translateY(-3vw);
  letter-spacing: 2px;
  margin-top: 3vw;

  span {
    color: #ff32c3;
  }
}

img {
  width: 100%;
  height: auto;
}

.dots-container {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
  transform: translateY(-3vw);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff600;
  animation: dot-flashing 1s infinite linear;
}

.dot:nth-child(1) {
  animation-delay: 0s;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

.dot:nth-child(4) {
  animation-delay: 0.6s;
}

.dot:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes dot-flashing {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

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