body {
  min-height: 150vh;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  flex-direction: row;
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  justify-content: space-around;
}

body.scrolled nav {
  background: var(--pico-background-color);
  border-bottom: 1px solid var(--pico-card-border-color);
}

nav a {
  text-decoration: none;
  transition-duration: 0s;
}

body:not(.scrolled) nav a {
  --pico-color: white;
  --pico-primary-hover: #ddd;
}

#hero {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
