/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-button {
  list-style: none;
}

.menu-button::-webkit-details-marker {
  display: none;
}

.math-confetti {
  position: fixed;
  top: -16px;
  z-index: 60;
  width: 10px;
  height: 14px;
  border-radius: 2px;
  pointer-events: none;
  animation-name: math-confetti-fall;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}

@keyframes math-confetti-fall {
  to {
    transform: translateY(100vh) rotate(520deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .math-confetti {
    display: none;
  }
}
