:root {
  --bg: #f5eed8;
  --fg: #2b2419;
  --dim: #8a7a5c;
  --accent: #a8520c;
  --rule: #d8cdb0;
}

html, body {
  background-color: var(--bg);
}

body {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color: var(--fg);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

#content {
  max-width: 660px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

h1, h2, h3 {
  color: var(--fg);
  font-weight: 700;
  letter-spacing: 0;
  margin: 2.4em 0 0.6em;
}

h1 { font-size: 1.3em; margin-top: 0; }
h3 { font-size: 1em; }

p { margin: 0.9em 0; }

a:link, a:visited {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

blockquote {
  border-left: 2px solid var(--rule);
  padding-left: 14px;
  margin: 1.2em 0;
  color: var(--dim);
  font-style: normal;
}

ul, ol {
  padding-left: 22px;
  margin: 0.9em 0;
}

ul { list-style: none; padding-left: 0; }
ul li { padding-left: 0; }
ul li::before {
  content: "- ";
  color: var(--dim);
}

ol li::marker { color: var(--dim); }

img { width: 100%; max-width: 100%; }

#controls {
  position: fixed;
  top: 64px;
  left: 32px;
  width: 160px;
  font-size: 13px;
}
#controls ul { list-style: none; padding-left: 0; margin: 0; }
#controls ul li::before { content: ""; }
#controls li { margin: 8px 0; }
#controls a {
  text-decoration: none;
  color: var(--dim);
  transition: color 0.15s ease;
}
#controls a:hover,
#controls a.active { color: var(--fg); }
@media (max-width: 1100px) {
  #controls { display: none; }
}

.social-icons { margin: 16px 0 24px; }
.social-icons a {
  text-decoration: none;
  margin-right: 16px;
  color: var(--dim);
  transition: color 0.15s ease;
}
.social-icons a:hover { color: var(--accent); }
.social-icons svg {
  height: 18px;
  width: auto;
  vertical-align: middle;
}

.back { font-size: 13px; color: var(--dim); text-decoration: none; }
.back:hover { color: var(--fg); }
ul.posts { list-style-type: none; padding-left: 0; }
ul.posts li::before { content: ""; }
ul.posts li { margin: 16px 0; }
.post-date { display: block; font-size: 13px; color: var(--dim); }
