.site-loader {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-items: center;
  background: #fff;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;

  &.is-hidden {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
  }
}

.site-loader__content {
  display: grid;
  justify-items: center;
  gap: 28px;
}

.site-loader__logo {
  width: min(190px, 55vw);
  height: auto;
}

.site-loader__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 18px;

  i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #143b5c;
    animation: site-loader-bounce 1.4s infinite ease-in-out both;

    &:nth-child(1) {
      animation-delay: -0.32s;
    }

    &:nth-child(2) {
      animation-delay: -0.16s;
    }
  }
}

@keyframes site-loader-bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader {
    transition-duration: 0.01ms;
  }

  .site-loader__dots i {
    animation: none;
  }
}
