/* app.css: styles every page shares. Each page has its own file in css/pages/. */

/* -- screen: one full view of the app; only one is visible at a time -- */
.screen {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@keyframes screen-enter {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
}

/* The animation only exists for people who have not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .screen:not([hidden]) {
    animation: screen-enter var(--motion-quick) ease-out;
  }
}

/* -- visually hidden: read by screen readers, not shown -- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
