html,
body {
  font-family: sans-serif;
  background: #111;
  color: #eee;
}

h2 {
    margin-top: 0px;
}

main {
  min-height: 100vh;
  padding: 1em;
  overflow-x: scroll;
  margin: auto;
  max-width: 40em;
}

img {
  max-width: 100%;
}

svg {
  max-width: 100%;
}

footer ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
}

footer li {
  margin: 0;
  display: inline;
  padding: 2px 3px;
  text-align: center;
}

footer li em {
  margin: 0;
  display: block;
  padding: 2px 3px;
}


blockquote {
  margin-left: 0.75em;
  font-size: 95%;
}

pre,
code {
  overflow-x: auto;
  padding: 10px;
  font-size: 95%;
}

pre.ascii-art {
  padding-bottom: unset;
  color:  #0d0;
  overflow-x: unset;
  font-family: "Courier New", Courier, monospace;
  background-color: transparent;
  border: none;
  line-height: 1;
  font-size: 1em;
  align-items: center;
  justify-content: center;
  display: flex;
}

@media (max-width: 768px) {
  pre.ascii-art {
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  pre.ascii-art {
    font-size: 0.5em;
  }
}

table {
  min-width: 90vw;
  border-collapse: collapse;
  border: 1px solid #bdbdbd;
}

th {
  text-align: left;
  white-space: nowrap;
  padding: 3px 6px;
  background: #4a4a4a;
  border: 1px solid #bdbdbd;
}

td {
  white-space: nowrap;
  border: 1px solid #bdbdbd;
  padding: 5px 10px;
}

.post-header h2 {
  margin-bottom: 3px;
}

nav {
  max-width: 15em;
}

@media (min-width: 66em) {
  nav {
    position: fixed;
  }
}

fieldset {
  border: #0d0 1px solid;
  color: #eee;
  padding: 1em;
  margin: 1em;
}

legend {
  border: #0d0 1px solid;
  padding: .3em;
  background: #111;
}

a {
  color: #0d0;
  text-decoration: none;
}

a:visited {
  color: #0d0;
  text-decoration: none;
}

.list-content h1, .list-content h2 {
  font-size: 1.2em;
}

.list-content h2 {
  font-size: 1.1em;
}

.archive {
  margin-bottom: 15px;
}

@media (min-width: 699px) {
  main {
    width: 500px;
    overflow-x: visible;
  }

  img {
    max-width: 500px;
  }

  footer li {
    display: inline;
  }

  footer li em {
    display: inline;
  }
}