* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.7;
  color: #111;
  background: #fbfbfb;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, time, .back, .definition {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  min-height: calc(100vh - 4rem);
}

header a, footer a {
  color: inherit;
  opacity: 0.5;
  font-size: 0.875rem;
}

header a:hover, footer a:hover {
  opacity: 1;
}

h1 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.definition {
  font-size: 0.85rem;
  opacity: 0.5;
  margin-bottom: 4rem;
}

.definition dt {
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.25rem;
}

.definition dd {
  margin-left: 1rem;
}

.definition dd + dd {
  margin-top: 0.15rem;
}

h2 {
  font-size: 1rem;
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
}

article a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

article p {
  margin-bottom: 1.25rem;
}

article ol, article ul {
  margin-bottom: 1.25rem;
  margin-left: 1.25rem;
}

article li {
  margin-bottom: 0.5rem;
}

article em {
  font-style: italic;
}

time {
  font-size: 0.8rem;
  opacity: 0.5;
}

.empty {
  font-size: 0.875rem;
  opacity: 0.4;
  font-style: italic;
}

.post-link {
  display: block;
  margin-bottom: 1.5rem;
}

.post-link:hover h2 {
  opacity: 0.6;
}

.post-header {
  margin-bottom: 2rem;
}

.post-header h1 {
  margin-bottom: 0.25rem;
}

.back {
  display: block;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  opacity: 0.5;
}

.back:hover {
  opacity: 1;
}

footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  text-align: right;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #eee;
    background: #111;
  }
}
