:root {
  color-scheme: light;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  background: #f5f5f2;
  color: #111;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  inline-size: min(100% - 2.5rem, 75rem);
  min-block-size: 100vh;
  min-block-size: 100svh;
  margin-inline: auto;
}

h1 {
  margin: 0 0 2rem;
  font-size: clamp(1.3rem, 7.5vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
  white-space: nowrap;
}

address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  font-style: normal;
}

address p {
  margin: 0;
  line-height: 1.6;
}

address a {
  overflow-wrap: anywhere;
}

.error-page p {
  margin: 0 0 0.75rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

a {
  min-block-size: 1.5rem;
  color: inherit;
  font-size: clamp(1rem, 2vw, 1.125rem);
  text-underline-offset: 0.25em;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-block-start: 3rem;
}

.social-links a {
  display: grid;
  place-items: center;
  min-inline-size: 2.75rem;
  min-block-size: 2.75rem;
}

.social-links svg {
  inline-size: 2rem;
  block-size: 2rem;
  fill: currentColor;
}

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

@media (hover: hover) {
  .social-links a:hover {
    opacity: 0.6;
  }
}
