:root {
  color-scheme: dark;
  /* font-family: ui-rounded, "Avenir Next", Avenir, "Segoe UI", sans-serif; */
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  color: #f5f3ed;
  background-color: #031611;
  /* Add your picture here, for example: url("background.jpg"). */
  --background-image: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image: radial-gradient(
    ellipse at 50% 40%,
    rgb(0 0 0 / 0%) 0%,
    rgb(0 0 0 / 4%) 25%,
    rgb(0 0 0 / 14%) 50%,
    rgb(0 0 0 / 29%) 75%,
    rgb(0 0 0 / 45%) 100%
  ), var(--background-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* A faint grain breaks up the color bands on large, dark gradients. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23noise)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

header {
  padding: clamp(3rem, 9vh, 6rem) 1.5rem 2rem;
  text-shadow: 0 2px 20px rgb(0 0 0 / 35%);
}

h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2.75rem, 8vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.06em;
}

a {
  display: inline-block;
  padding: 0.5rem;
  color: inherit;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-underline-offset: 0.3em;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

footer {
  margin-top: auto;
  padding: 2rem 1.5rem max(1.5rem, env(safe-area-inset-bottom));
  text-shadow: 0 1px 8px rgb(0 0 0 / 60%);
}

small {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
