body {
  margin: 0;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
}

#loading-bg {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--initial-loader-bg, #fff);
  block-size: 100%;
  gap: 1rem 0;
  inline-size: 100%;
}


/* Ripple (motion.dev "loading ripple"): três anéis que crescem e desvanecem,
   desfasados um terço do ciclo para a onda ser contínua. Mesmos valores do
   componente LoadingRipple.vue, que só existe depois de o Vue montar. */
.ripple-container {
  position: relative;
  block-size: 100px;
  inline-size: 100px;
}

.ripple {
  position: absolute;
  box-sizing: border-box;
  border: 5px solid var(--initial-loader-color, #14ae5c);
  border-radius: 50%;
  animation: ripple 2s ease-out infinite;
  inset: 0;
  opacity: 0;
  will-change: transform, opacity;
}

.ripple:nth-child(2) {
  animation-delay: 0.667s;
}

.ripple:nth-child(3) {
  animation-delay: 1.333s;
}

@keyframes ripple {
  from {
    opacity: 1;
    transform: scale(0.2);
  }

  to {
    opacity: 0;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ripple {
    animation: none;
  }

  .ripple:first-child {
    opacity: 0.6;
  }
}
