@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,600;1,400&family=Caveat:wght@500&family=JetBrains+Mono:wght@400&display=swap');

body {
  background-color: #1e1c1a;
  color: #d4cfc8;
  font-family: 'Crimson Pro', serif;
  font-size: 1.2rem;
  line-height: 1.9;
}

h1, h2, h3, h4 {
  font-family: 'Crimson Pro', serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ede8e0;
}

a {
  color: #c49a6c;
  text-decoration: underline;
  text-decoration-color: #7a5c3a;
  text-underline-offset: 3px;
}

a:hover {
  color: #e0b887;
}

main, .main, article, .content {
  max-width: 780px !important;
  width: 100% !important;
}

blockquote {
  border-left: 3px solid #7a5c3a;
  margin-left: 0;
  padding-left: 1.2rem;
  color: #a09890;
  font-style: italic;
  font-family: 'Crimson Pro', serif;
}

code, pre, .highlight {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

code {
  background: #2a2724;
  padding: 0.15em 0.4em;
  border-radius: 3px;
  color: #c49a6c;
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
}

pre {
  background: #2a2724;
  padding: 1.2rem;
  border-radius: 6px;
  overflow-x: auto;
}

hr {
  border: none;
  border-top: 1px solid #3a3530;
  margin: 2.5rem 0;
}
.intro {
  margin-bottom: 3rem;
  font-size: 1.3rem;
}

.posts h2 {
  margin-bottom: 1.2rem;
}

.post-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.4rem 0;
  border-bottom: 1px solid #3a3530;
}

.date {
  font-size: 0.9rem;
  color: #a09890;
  font-family: 'JetBrains Mono', monospace;
}
.xkcd {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #3a3530;
}

.xkcd img {
  max-width: 100%;
  border-radius: 4px;
}

.xkcd-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: #a09890;
  margin-top: 0.5rem;
}

.xkcd-alt {
  font-size: 0.95rem;
  color: #a09890;
  font-style: italic;
}
.comic {
  opacity: 0.35;
  filter: grayscale(1) contrast(8) brightness(2);
}
