:root {
  --width: 800px;
  --font-scale: 1em;
  --background-color: #fff;
  --tangaroa: #04143a;
  --light-slate-gray: #6d758d;
  --havelock-blue: #468ee5;
  --visited-color: #8b6fcb;
  --code-background-color: #f2f2f2;
  --code-color: #04143a;
  --blockquote-color: #04143a;
  --link-water: #dbe9fa;
  --light-gray: #eee;
}

html,
body {
  font-family: monospace;
}

body {
  font-family: monospace;
  font-size: var(--font-scale);
  margin: auto;
  padding: 0;
  max-width: var(--width);
  text-align: left;
  background-color: var(--background-color);
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  color: var(--light-slate-gray);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: monospace;
  color: var(--tangaroa);
}

a {
  color: var(--havelock-blue);
  cursor: pointer;
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

strong,
b {
  color: var(--tangaroa);
}

button {
  margin: 0;
  cursor: pointer;
}

time {
  font-family: monospace;
  font-style: normal;
  font-size: 15px;
}

main {
  line-height: 1.6;
  padding: 0 1rem;
}

table {
  width: 100%;
}

hr {
  border: 0;
  border-top: 1px dashed;
}

img {
  max-width: 100%;
}

code {
  font-family: monospace;
  padding: 2px;
  background-color: var(--code-background-color);
  color: var(--code-color);
  border-radius: 3px;
}

blockquote {
  border-left: 1px solid #999;
  color: var(--code-color);
  padding-left: 20px;
  font-style: italic;
}

body.post p,
body.page p {
  margin-block-start: 1.5em;
  margin-block-end: 1.5em;
}

.inline {
  width: auto !important;
}

.highlight,
.code,
pre {
  padding: 1px 15px;
  background-color: var(--code-background-color);
  color: var(--code-color);
  border-radius: 3px;
  margin-block-start: 1em;
  margin-block-end: 1em;
  overflow-x: auto;
}

pre code {
  display: block;
  padding: 0;
  background-color: transparent;
  color: inherit;
  border-radius: 0;
}

header a.title h1 {
  text-decoration: none;
  font-size: 17px;
  margin: 0;
  font-family: monospace;
  color: var(--tangaroa);
}

header a.title {
  text-decoration: none;
  font-size: 17px;
  margin: 11px 0 0;
  font-family: monospace;
  color: var(--tangaroa);
  font-weight: bold;
}

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

header {
  display: flex;
  justify-content: space-between;
  border-color: #eee;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  margin-bottom: 4rem;
  padding: 0 1rem;
}

header nav p {
  display: inline-flex;
  gap: 1rem;
  margin-block-start: 13px !important;
  margin-block-end: 13px !important;
}

header nav a {
  color: var(--light-slate-gray);
}

footer {
  font-size: 12px;
  padding: 1em 20px !important;
  text-align: center;
  background-color: #f4f4f4;
  margin-top: 4rem;
  color: var(--light-slate-gray);
}

@media (prefers-color-scheme: dark) {
  footer {
    background-color: #f4f4f4;
    color: var(--light-slate-gray);
  }
}

footer #footer-directive {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  display: inline-block;
}

footer #footer-directive p {
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 16px;
}

footer #footer-directive p span.footline:not(:last-child)::after,
footer #footer-directive {
  content: '';
  margin: 0;
}

@media screen and (min-width: 400px) {
  footer #footer-directive p {
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 0;
  }

  footer #footer-directive p span.footline:not(:last-child)::after,
  footer #footer-directive {
    content: '\2022';
    margin: 0 8px;
  }
}

footer a {
  color: var(--light-slate-gray);
}

footer > span {
  display: none;
}

section.hero {
  text-align: center;
}

section.hero img.avatar {
  border-radius: 999px;
}

@media screen and (max-width: 560px) {
  section.hero img.avatar {
    margin-top: -10px;
    margin-bottom: -5px;
  }
}

section.hero h1.name {
  font-size: 2.25em;
  margin-bottom: -7px;
}

section.hero ul.tags {
  padding: 0;
  list-style: none;
}

section.hero ul.tags li.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 1px 2px 1px 3px;
  color: var(--havelock-blue);
  background-color: var(--link-water);
}

section.hero p.bio {
  max-width: 600px;
  margin: 25px auto;
  text-align: center;
}

section.hero p.bio a {
  color: var(--light-slate-gray);
}

ul.socials {
  padding: 0;
  list-style: none;
  margin: auto;
  text-align: center;
  max-width: 400px;
}

ul.socials li {
  display: inline-block;
  padding: 2px;
}

ul.socials li a {
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

ul.socials li a .underlined {
  text-decoration: underline;
}

ul.socials li svg {
  color: var(--havelock-blue);
  fill: var(--havelock-blue);
}

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: var(--visited-color);
}

#upvote-form {
  display: block !important;
  margin-top: 30px;
}

#upvote-form .upvote-button.upvoted {
  color: var(--havelock-blue) !important;
}
