:root {
  --font: #feffeb;
  --font-alt: #fc9;
  --accent: #321;
  --highlight: #5b3a20;
}

body {
  max-width: 800px;
  margin: auto;
  padding: 1em;
  line-height: 1.5;
  background: #200a07;
  color: var(--font);
}

a {
  color: #77ddff;
}

a:visited {
  color: #7ad;
}

/* header and footer areas */
.menu { padding: 0; }
.menu li { display: inline-block; }
.article-meta, .menu a {
  text-decoration: none;
  background: var(--accent);
  padding: 5px;
  color: var(--font-alt);
}
.menu, .article-meta, footer { text-align: center; }
.title { font-size: 1.1em; }
footer a { text-decoration: none; }
hr {
  border-style: dashed;
  color: var(--highlight);
}

header {
  text-align: center;
}

header a {
  font-family: monospace;
  font-size: xx-large;
  text-decoration: none;
  color: var(--font);
}

header a:visited { color: var(--font); }

.terms {
  color: var(--font-alt);
}

/* code */
pre {
  border: 1px solid var(--accent);
  box-shadow: 5px 5px 5px var(--accent);
  padding: 1em;
  overflow-x: auto;
  background-color: black;
  color: white;
}
code { background: var(--highlight); }
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
  background: var(--accent);
  border-left: 5px solid var(--font-alt);
  padding: 3px 1em 3px;
}

table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }

figure {
    max-width: 100%;
}

figure img {
    max-width: 100%;
    max-height: 60vh;
    display: block;
    margin: auto;
}

.photofigure img {
    max-width: 100%;
    max-height: none;
    display: block;
    margin: auto;
}



figcaption {
    text-align: center;
    font-style: italic;
}

.pagination {
  display: flex;
  flex-direction: row;
}

.pagination > li {
  list-style-type: none;
  padding: 5px;
}
