body {
  font-family: Verdana, sans-serif;
  margin: auto;
  padding: 20px;
  max-width: 720px;
  text-align: left;
  background-color: #fff;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  color: #444;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  color: #222;
}

a {
  color: #3273dc;
}

.title {
  text-decoration: none;
  border: 0;
}

.title span {
  font-weight: 400;
}

nav a {
  margin-right: 10px;
}

code {
  padding: 2px 5px;
  background-color: #f2f2f2;
}

pre code {
  color: #222;
  display: block;
  padding: 20px;
  white-space: pre-wrap;
  font-size: 14px;
  overflow-x: auto;
}

blockquote {
  border-left: 1px solid #999;
  color: #222;
  padding-left: 20px;
  font-style: italic;
}

footer {
  padding: 25px;
  text-align: center;
}

img {
  max-width: 100%;
}

/* blog posts */
ul.blog-posts {
  list-style-type: none;
  padding: unset;
}

ul.blog-posts li {
  display: flex;
}

ul.blog-posts li span {
  flex: 0 0 130px;
}

ul.blog-posts li a:visited {
  color: #8b6fcb;
}

/* post content */
.article {
  line-height: 1.6;
}

.post-hero {
  margin: 1em 0;
}

.post-hero img {
  display: block;
  margin: 0 auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #ccc;
  padding: 6px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f2f2f2;
}

.table-wrap {
  overflow-x: auto;
}

.callout {
  padding: 12px 16px;
  margin: 1em 0;
  border-left: 1px solid #999;
  background: #f2f2f2;
  font-style: italic;
}

.callout.amber {
  background: #f8f1e3;
}

.callout.green {
  background: #eef7f0;
}

ol.steps > li {
  margin-bottom: 8px;
}

.related {
  margin-top: 2em;
}

.related-title {
  font-size: 1.1rem;
}

.related-list {
  list-style: none;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  position: static;
}

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

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  strong,
  b {
    color: #eee;
  }

  a {
    color: #8cc2dd;
  }

  code {
    background-color: #777;
  }

  pre code {
    color: #ddd;
  }

  blockquote {
    color: #ccc;
  }

  th {
    background: #444;
  }

  .callout {
    background: #3a3a3a;
  }

  .callout.amber {
    background: #4a4230;
  }

  .callout.green {
    background: #2f3d34;
  }
}
