html {
  font-size: 133%;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background-color: #e8e0d4;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  color: #3a3530;
  line-height: 1.6;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

a {
  color: #5a7a8a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  padding-bottom: 0.25rem;
}

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

header a {
  color: #9a918a;
  text-decoration: none;
}

header a:hover {
  text-decoration: none;
}

nav {
  padding: 0.75rem 0;
}

nav a {
  color: #5a524a;
  margin-right: 1rem;
}

main {
  padding: 1.5rem 0;
}

p + p {
  margin-top: 1rem;
}

article ul,
article ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

article li + li {
  margin-top: 0.25rem;
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #5a5248;
  margin-bottom: 1rem;
}

h2, h3, h4 {
  color: #5a5248;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  width: fit-content;
}

h2 {
  font-size: 1.25rem;
}

h3 {
  font-size: 1.1rem;
}

.heading-anchor {
  color: #9a918a;
  margin-left: 0.3rem;
  opacity: 0;
  text-decoration: none;
}

:hover > .heading-anchor {
  opacity: 1;
}

.heading-anchor:hover {
  text-decoration: none;
}

pre {
  padding: 1rem;
  margin: 1rem 0;
  overflow-x: auto;
  border-radius: 4px;
  line-height: 1.4;
}

.highlight pre {
  background: #ddd5c8 !important;
}

.chroma { color: #3a3530; background-color: #ddd5c8; }
.chroma .c, .chroma .ch, .chroma .cm, .chroma .c1, .chroma .cs, .chroma .cp, .chroma .cpf { color: #9a9088; }
.chroma .k, .chroma .kc, .chroma .kd, .chroma .kp, .chroma .kr, .chroma .kt { color: #7a6450; }
.chroma .kn { color: #8a6848; }
.chroma .s, .chroma .sa, .chroma .sb, .chroma .sc, .chroma .dl, .chroma .sd, .chroma .s2, .chroma .sh, .chroma .si, .chroma .sx, .chroma .sr, .chroma .s1, .chroma .ss { color: #6a8a5a; }
.chroma .se { color: #7a6a8a; }
.chroma .m, .chroma .mb, .chroma .mf, .chroma .mh, .chroma .mi, .chroma .il, .chroma .mo { color: #7a6a8a; }
.chroma .o, .chroma .ow { color: #8a6848; }
.chroma .nf, .chroma .fm { color: #5a7a8a; }
.chroma .na, .chroma .nc, .chroma .nd, .chroma .ne, .chroma .nx { color: #5a7a8a; }
.chroma .nb, .chroma .bp { color: #7a6450; }
.chroma .nv, .chroma .vc, .chroma .vg, .chroma .vi, .chroma .vm { color: #3a3530; }
.chroma .nt { color: #8a6848; }
.chroma .ge { font-style: italic; }
.chroma .gs { font-weight: bold; }

code {
  font-family: "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

:not(pre) > code {
  background: #ddd5c8;
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
}

article time {
  display: block;
  color: #8a8078;
  margin-bottom: 1rem;
}

.post-list {
  list-style: none;
}

.post-list li {
  padding: 0.25rem 0;
}

.post-list time {
  display: inline;
  color: #8a8078;
  font-variant-numeric: tabular-nums;
  margin-right: 0.75rem;
}
