@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader {
  animation: spin 900ms linear infinite;
}

.wizard-step.is-active,
.post-card,
.results,
.loading-state {
  animation: fade-in 180ms ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
