@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

html {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background-color: #1f92da;
  background-image: url("assets/blue-frosted-backdrop.png?v=20260828-3");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #000000;
  font-family: "Times New Roman", Times, serif;
  overscroll-behavior: none;
}

body {
  position: relative;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: transparent;
  overscroll-behavior: none;
}

body::before {
  position: fixed;
  z-index: 0;
  top: -12vh;
  right: -8vw;
  bottom: -12vh;
  left: -8vw;
  content: "";
  background-image: url("assets/blue-frosted-backdrop.png?v=20260828-3");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.home {
  position: relative;
  z-index: 1;
  padding: 48px;
}

.menu {
  position: absolute;
  top: 48px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: "Satoshi", "Avenir Next", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.menu a {
  color: rgba(235, 238, 242, 0.96);
  white-space: nowrap;
  text-decoration: none;
  transition: color 700ms ease-out, text-shadow 700ms ease-out;
}

.menu a:hover,
.menu a:focus-visible {
  transition-duration: 180ms;
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .menu a {
    transition: none;
  }
}

h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 600px) {
  html {
    background-image: none;
  }

  body::before {
    /* Rotate the landscape artwork without rotating the page. Large viewport
       units keep its crop still as Safari expands/collapses its toolbars.
       The extra bleed covers the screen edges during viewport changes. */
    top: 50vh;
    top: 50lvh;
    left: 50%;
    right: auto;
    bottom: auto;
    width: 124vh;
    width: 124lvh;
    height: 116vw;
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .home {
    padding: 80px 24px 24px;
  }

  .menu {
    top: 24px;
    right: 24px;
    left: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 16px;
  }

  .menu a:first-child {
    justify-self: start;
  }

  .menu a:nth-child(2) {
    justify-self: center;
  }

  .menu a:last-child {
    justify-self: end;
  }
}
