:root {
  color-scheme: light;
  background: #f8f7f3;
  color: #343832;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: clamp(3rem, 10vw, 7rem) 1.25rem 3rem;
}

main {
  max-width: 31rem;
  margin-inline: auto;
}

.profile-photo {
  display: block;
  width: clamp(112px, 24vw, 144px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.location {
  margin: 0 0 1.25rem;
  color: #62685d;
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0 0 1.25rem;
  color: #262e27;
  font-size: clamp(2.1rem, 6vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

p {
  margin: 0 0 1.15rem;
}

.intro {
  font-size: 1.2rem;
  line-height: 1.55;
}

.about {
  margin-top: 2rem;
}

footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d7dbd1;
  font-size: 0.9rem;
}

footer p:last-child {
  margin-bottom: 0;
}

a {
  color: #426044;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

a:hover {
  color: #263d28;
  text-decoration-thickness: 2px;
}

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

::selection {
  background: #dce5d5;
  color: #262e27;
}

@media (max-width: 480px) {
  :root {
    font-size: 18px;
  }

  body {
    padding-top: 2.75rem;
  }
}
