body {
  margin: 0;
}

html {
  overflow-y: scroll;
}

#app-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--initial-loader-bg, #0b1a2b);
}

#app-loader__logo {
  display: block;
  block-size: 4rem;
  inline-size: auto;
}

#app-loader__dots {
  display: flex;
  gap: 0.5rem;
}

#app-loader__dots span {
  inline-size: 0.625rem;
  block-size: 0.625rem;
  border-radius: 50%;
  background: var(--initial-loader-color, #f57c1f);
  animation: app-loader-puls 1.05s ease-in-out infinite;
}

#app-loader__dots span:nth-child(2) {
  animation-delay: 0.15s;
}

#app-loader__dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes app-loader-puls {
  0%, 80%, 100% {
    opacity: 0.25;
    transform: scale(0.75);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #app-loader__dots span {
    animation: none;
    opacity: 0.85;
  }
}
