:root {
  color-scheme: dark;
  --navy: #023d7c;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}

body {
  min-width: 280px;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100svh;
  min-height: 320px;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.hero-extension {
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-image: url("./assets/sw-gov-homepage-hero-16x9-final.png");
  background-position: center;
  background-size: cover;
  filter: blur(30px) brightness(0.62) saturate(0.78);
  transform: scale(1.04);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 54%, rgb(0 20 42 / 22%) 100%);
}

.hero picture {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.hero-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 36px rgb(0 15 34 / 25%));
}

@media (max-width: 1024px) and (orientation: portrait) {
  .hero-extension {
    background-image: url("./assets/sw-gov-homepage-hero-tablet-portrait.png");
  }
}

@media (max-width: 1024px) and (orientation: landscape) {
  .hero-extension {
    background-image: url("./assets/sw-gov-homepage-hero-tablet-landscape.png");
  }
}

@media (max-width: 600px) {
  .hero-extension {
    background-image: url("./assets/sw-gov-homepage-hero-mobile.png");
  }
}
