/* Small amount of hand-written CSS for things Tailwind utilities cover awkwardly. */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

/* Stencil-style section headings echoing the printed menu. */
.rule-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 0.6rem;
}

.rule-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 3px;
  transform: translateX(-50%);
  background: #930f0f;
}

.rule-heading--light::after {
  background: #ffffff;
}

.rule-heading--left::after {
  left: 0;
  transform: none;
}
