/* Full-screen ASCII art background drawn by ascii-bg.js */
#ascii-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* Compact screens: the home text sits over the art, so give it a dark,
   slightly see-through backing (same breakpoints as css/style.css) */
@media (max-width: 1100px), (max-aspect-ratio: 3/2), (max-height: 560px) {
  .home {
    padding: 1.25rem 1.5rem;
    background: rgba(14, 14, 14, 0.9);
    box-shadow: 0 0 2.5rem 1rem rgba(14, 14, 14, 0.6);
  }

  /* the top nav sits over the art too */
  .site-nav {
    padding: 0.2rem 1ch;
    background: rgba(14, 14, 14, 0.9);
    box-shadow: 0 0 1.5rem 0.75rem rgba(14, 14, 14, 0.6);
  }
}

@media (max-width: 480px) {
  .home {
    padding: 1rem 1.1rem;
  }
}
