:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: #c5d6c9;
  color: #1a2f24;
}

body {
  font-optical-sizing: auto;
}

.font-display {
  font-optical-sizing: auto;
}

dialog::backdrop {
  background: rgba(19, 32, 26, 0.78);
}

#lightbox {
  background: transparent;
  border: 0;
  padding: 0;
  max-width: min(96vw, 1100px);
}

#lightbox img {
  display: block;
  max-width: 96vw;
  max-height: 86vh;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
