html {
  background: #fcfbf8;
  color: #1c1c1c;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 112.5%;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

body {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 0 1.5rem;
}

main,
footer {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
}

main {
  flex: 1;
  padding-top: 22vh;
}

h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.subtitle {
  margin: 0.35rem 0 2.75rem;
  color: #555;
  font-style: italic;
}

p {
  margin: 0 0 1.25rem;
}

.subtitle.legal {
  margin: 2.5rem 0 1rem;
}

footer {
  padding: 4rem 0 2rem;
  color: #6b6b6b;
  font-size: 0.8rem;
}

footer a {
  color: inherit;
  text-underline-offset: 2px;
}

footer a:hover,
footer a:focus-visible {
  color: #1c1c1c;
}

@media (max-width: 480px) {
  main {
    padding-top: 14vh;
  }
}

a {
  color: inherit;
}

/* Contact page */

form {
  margin-top: 0.5rem;
}

label {
  display: block;
  margin: 0 0 0.3rem;
  color: #444;
  font-size: 0.85rem;
}

input,
textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #b9b6ae;
  border-radius: 0;
  background: #fff;
  color: #1c1c1c;
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 1px solid #1c1c1c;
  outline-offset: 0;
  border-color: #1c1c1c;
}

button {
  padding: 0.55rem 1.3rem;
  border: 1px solid #1c1c1c;
  border-radius: 0;
  background: #1c1c1c;
  color: #fcfbf8;
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}

button:hover,
button:focus-visible {
  background: #fcfbf8;
  color: #1c1c1c;
}

.notice {
  padding: 0.75rem 0.9rem;
  border-left: 2px solid #1c1c1c;
  background: #f3f1ec;
  font-size: 0.95rem;
}

.back {
  margin-top: 2.5rem;
  font-size: 0.9rem;
}

/* Hidden from people; bots that fill every field reveal themselves. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
