/* Loader CSS */

.loader {
  overflow: hidden;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #131416;
  touch-action: none;
  animation: changeColor 5s linear infinite;
}
@keyframes changeColor {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}
.loader__box {
  position: relative;
  display: flex;
}
.loader__dot {
  position: relative;
  width: 20px;
  height: 20px;
  margin: 20px 10px;
  border-radius: 50%;
  background: #53F6C7;
  box-shadow: 0 0 10px #53F6C7,
              0 0 20px #53F6C7,
              0 0 40px #53F6C7,
              0 0 60px #53F6C7,
              0 0 80px #53F6C7;
  transform: scale(0.1);
  animation: animateDot 2s linear infinite;
  animation-delay: calc(0.1s * var(--i));
}
.loader__box:last-of-type .loader__dot { 
  animation-delay: calc(-0.1s * var(--i));
}
@keyframes animateDot {
  0% {
    transform: scale(0.1);
  }
  10% {
    transform: scale(1);
  }
  50%, 100% {
    transform: scale(0.1);
  }
}
.loader__tit {
  color: #53F6C7;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 10px;
}

/* Mobile */

@media screen and (max-width: 47.938rem) {
  .loader__dot {
    position: relative;
    width: 10px;
    height: 10px;
    margin: 10px 5px;
  }
  .loader__tit {
    font-size: 14px;
    letter-spacing: 5px;
  }
}