/* ==========================================================================
   animations.css
   ========================================================================== */

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js .reveal-on-load {
  opacity: 0;
  animation: reveal var(--speed-normal) ease forwards;
}

.hero__boot li {
  opacity: 0;
  animation: reveal var(--speed-normal) ease forwards;
}

.hero__boot li:nth-child(1) { animation-delay: 60ms; }
.hero__boot li:nth-child(2) { animation-delay: 160ms; }
.hero__boot li:nth-child(3) { animation-delay: 260ms; }
.hero__boot li:nth-child(4) { animation-delay: 360ms; }

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

  .js .reveal-on-load,
  .hero__boot li {
    opacity: 1;
    animation: none;
    transform: none;
  }
}
