:root {
  --initial-loader-bg: #282A42;
  --initial-loader-color: #666CFF;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--initial-loader-bg);
}

#loading-bg {
  width: 100%;
  height: 100%;
  background: var(--initial-loader-bg);
  display: block;
  position: absolute;
}

.loading-logo {
  position: absolute;
  left: calc(50% - 45px);
  top: 40%;
}

.loading {
  position: absolute;
  left: calc(50% - 35px);
  top: 50%;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-sizing: border-box;
}

.effect-1,
.effect-2,
.effect-3 {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-sizing: border-box;
  border: 3px solid transparent;
}

.effect-1 {
  border-left: 3px solid var(--initial-loader-color);
  animation: rotate 1s linear infinite;
}

.effect-2 {
  border-right: 3px solid var(--initial-loader-color);
  animation: rotateOpacity 1s linear infinite 0.1s;
}

.effect-3 {
  border-top: 3px solid var(--initial-loader-color);
  animation: rotateOpacity 1s linear infinite 0.2s;
}

.effects {
  transition: border 0.3s ease;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(1turn);
  }
}

@keyframes rotateOpacity {
  0% {
    transform: rotate(0deg);
    opacity: 0.1;
  }
  100% {
    transform: rotate(1turn);
    opacity: 1;
  }
}
