@charset "UTF-8";

@font-face {
  font-family: "hack-regular";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/hack-regular.woff2") format("woff2"), url("../assets/hack-regular.woff") format("woff");
}

.page {
  margin: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  font-family: "hack-regular", Courier New, sans-serif;
}

.light-mode .page {
  background-color: #fafafa;
  color: #18181a;
}

.dark-mode .page {
  background-color: #18181a;
  color: #fafafa;
}

header,
footer {
  margin: 1.5rem 0
}

h1, h2 {
  margin: 0;
  font-weight: inherit;
}

h1 {
  font-size: clamp(32px, 10vw, 96px);
}

h2 {
  font-size: smaller;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

main .portrait {
  aspect-ratio: 1 / 1;
}

main .portrait img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

blockquote {
  max-width: 600px;
  margin: 0;
  line-height: 1.5;
}

blockquote span:last-child {
  display: block;
  margin-top: 0.5rem;
  font-style: italic;
  font-size: 0.6rem;
}

.pixelfed {
  margin-top: 2rem;
}