:root {
  color-scheme: light;
  background: #dceefa;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: #dceefa;
}

.hero {
  width: 100vw;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #dceefa;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
}

/* Preserve the complete design on narrow phones instead of cropping the logo/text. */
@media (max-aspect-ratio: 4 / 5) {
  body {
    overflow-y: auto;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    padding: max(16px, env(safe-area-inset-top)) 0 max(16px, env(safe-area-inset-bottom));
  }

  .hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
