/* Scroll animations, see js/reveal.js */

/* Only until reveal.js has run; the page head removes this after a timeout at the latest */
html.reveal-pending main,
html.reveal-pending footer {
  visibility: hidden;
}

[data-reveal="waiting"] {
  opacity: 0;
  transform: translateY(14px);
}

[data-reveal="shown"] {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media print {
  html.reveal-pending main,
  html.reveal-pending footer {
    visibility: visible;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
