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: #333;
  font-family: Helvetica Neue, Noto Sans, Liberation Sans, Arial, sans-serif, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

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: #eee;
}

img {
  max-width: 100%;
}

video {
  max-width: 100%;
}

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

a {
  color: #333;
}

.header {
  width: 100%;
  height: 110px;
  background: #fec;
  flex-shrink: 0;
}

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

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

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

.comments, .comments a {
  font-style: italic;
  color: #666;
}

.post-list {
  padding: 0;
}

.post-item {
  background-color: #eee;
  list-style: none;
  border-radius: 5px;
  margin-bottom: 20px;
  padding: 10px;
}

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

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

.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: #ddd;
  text-align: center;
  border: 1px #bbb solid;
  border-radius: 3px;
}

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

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

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

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

.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);
}

.subtitle {
  font-style: italic;
  font-size: 0.8em;
  margin-top: 0;
  color: #999;
}

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

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

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

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

.prev-next {
  display: flex;
  justify-content: space-between;
}

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

.qr-code {
  width: 115px;
  float: left;
  margin: 10px;
}

@media only screen and (max-device-width: 1080px) {
  .qr-code {
    display: none;
    width: 0;
    margin: 0;
  }

@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%;
  }

