html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

html {
  font-size: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-size: 1.1em;
  color: #000;
  background-color: #fff;
  /* font-family: Helvetica Neue, Noto Sans, Liberation Sans, Arial, sans-serif, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; */
  font-family: Quicksand, sans-serif;
}

h1, h2, h3 {
  margin: 0;
  margin-top: 10px;
}

pre {
  font-size: 1.25em;
  padding: 5px 10px;
}

code {
  white-space: pre-wrap;
}

p code, li code {
  background-color: #fff;
}

img {
  max-width: 100%;
}

video {
  max-width: 100%;
}

iframe[src*="youtube"], iframe[src*="vimeo"] {
  aspect-ratio: var(--aspect-ratio, 16/16);
}

a {
  color: #333;
  text-decoration: none;
}

p a {
  text-decoration: underline;
}

.header {
  width: 100%;
  padding-bottom: 10px;
  background: #eee;
  flex-shrink: 0;
}

.content {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  flex: 1 0 auto;
}

.footer {
  width: 100%;
  height: 50px;
  background: #eee;
  flex-shrink: 0;
  font-size: 12px;
  padding-top: 0px;
}

.meta-item,  .readmore {
  font-style: italic;
  font-size: 0.9em;
  color: #333;
  margin: 5px 0;
  line-height: 1.5em;
}

.comments, .comments a {
  font-style: italic;
  font-size: 0.9em;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.post-list {
  padding: 0;
}

.post-item {
  background-color: #eee;
  list-style: none;
  margin-bottom: 20px;
  padding: 10px;
  height: 100%;
}

.post-item h3 {
  margin: 0;
}

.thumb {
  float: left;
  margin-right: 10px;
}

.tag-item {
  list-style: none;
  font-style: italic;
  color: #eee;
  padding: 0;
  margin: 10px;
}

.tag-list {
  padding: 10px 20px;
  background-color: #eee;
}

.summary-image {
  margin-top: 10px;
  border-radius: 3px;
}

.nav {
  float: left;
}

.nav-item {
  margin-right: 10px;
}

.social {
  float: right;
  margin-bottom: 10px;
}

.social-icon {
  width: 26px;
}

.meta-item {
}

.pagination-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

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

.page-item {
  float: left;
  margin: 0 4px 4px 0;
  background-color: #eee;
  text-align: center;
  border: 1px #555 solid;
  border-radius: 3px;
}

.page-item a {
  color: #aaa;
  line-height: 28px;
  vertical-align: middle;
  display: block;
  width: 30px;
  height: 30px;
  text-decoration: none;
}

.page-item.disabled {
  background-color: #888;
  border: 1px #444 solid;
}

.page-item.disabled a {
  color: #888;
}

.page-item.active a {
  font-weight: bold;
  color: #000;
}

.disabled {
  color: #aaa;
}

.shadowed, .highlight {
  -webkit-box-shadow: 2px 2px 4px 2px rgba(0,0,0,0.25);
  -moz-box-shadow: 2px 2px 4px 2px rgba(0,0,0,0.25);
  box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.25);
}

.citation {
  font-style: italic;
  font-size: 0.8em;
  color: #333;
}

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

td {
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 0.6rem;
}

th {
  text-align: left;
  padding-left: 0.6rem;
}

.prev-next {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.prev-next a {
  color: #333;
}

.prev-next > div {
  margin: 0 10px
}

@media only screen and (max-device-width: 820px) {
  .content {
    width: 90%;
  }

  .social, .nav {
    float: none;
    margin-top: 20px;
  }

  .social-icon {
    width: 18px;
  }

  html {
    font-size: 90%;
  }


