body {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  grid-template-rows: 1fr auto;
  place-items: center;
  background: #191918;
  color: #faf9f7;
  font-family: system-ui, sans-serif;
}
main {
  padding: 2rem;
  text-align: center;
}
h1 {
  margin: 0 0 1.75rem;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 400;
}
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
a {
  display: inline-block;
  padding: 0.7em 1.25em;
  border: 1px solid;
  color: inherit;
  text-decoration: none;
}
a:hover,
a:focus-visible {
  background: #faf9f7;
  color: #191918;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 1.25rem;
  padding: 0 1rem 1rem;
}

footer a {
  border: 0;
  padding: .75rem .25rem;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}
