:root {
  --dark-wine: #721817ff;
  --amber-flame: #f5b700ff;
  --frosted-mint: #d8f3dcff;
  --dark-emerald: #2d6a4fff;
  --emerald: #40916cff;
  --evergreen: #081c15ff;
  --evergreen-light: #1b4332ff;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter_var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/libre_baskerville_var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #ffffff;
  color: var(--evergreen);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

h1 {
  font-family: "Libre Baskerville", serif;
  color: var(--dark-emerald);
  line-height: 1.25;
}

h2, h3, h4, h5 {
  font-family: "Libre Baskerville", serif;
  color: var(--emerald);
  line-height: 1.25;
}

.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.site-title {
  font-family: "Libre Baskerville", serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--evergreen);
  background-color: var(--frosted-mint);
  padding: 1rem 1.5rem;
  text-transform: capitalize;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-header hr {
  border: none;
  border-top: 1px solid var(--evergreen);
  margin: 1rem 0 2rem;
}

.post-entry {
  padding: 1rem 0;
  border-bottom: 1px solid var(--frosted-mint);
}

.post-entry:last-child {
  border-bottom: none;
}

.post-entry h2 {
  margin: 0;
}

.post-entry a {
  color: inherit;
  text-decoration: underline;
}

.post img {
  max-width: 100%;
  height: auto;
  display: block;
}

.post figure {
  margin: 1.5rem 0;
}

.post figcaption {
  font-style: italic;
  color: var(--evergreen-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.post-meta {
  display: inline-block;
  color: var(--amber-flame);
  background-color: var(--frosted-mint);
  padding: 0.25rem 0.6rem;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .page {
    padding: 4rem 2rem;
  }
}
