* {
  box-sizing: border-box;
}

a {
  color: rgb(61, 146, 201);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

#layout {
  padding: 0;
}

.sidebar {
  background: rgb(61, 79, 93);
  color: #fff;
}

.header {
  margin: 3em auto;
  text-align: center;
}

.brand-title,
.brand-tagline {
  margin: .15em 0;
}

.brand-title-anchor {
  color: #fff;
  text-decoration: none;
}

.brand-tagline {
  color: rgb(176, 202, 219);
  font-size: 1.5em;
  font-weight: 300;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  display: inline-block;
}

.nav-item a {
  margin-top: .5em;
  border: 2px solid rgb(176, 202, 219);
  background: transparent;
  color: #fff;
  font-size: 85%;
  letter-spacing: .05em;
}

.nav-item a:hover,
.nav-item a:focus {
  border-color: rgb(61, 146, 201);
  text-decoration: none;
}

.content {
  padding: 2em 1em 0;
}

.content-subhead {
  margin-top: .67em;
  padding: .4em 0;
  border-bottom: 1px solid #eee;
  color: #aaa;
  font-size: 80%;
  font-weight: 500;
  letter-spacing: .1em;
}

.post {
  padding-bottom: 2em;
}

.post-title {
  margin-bottom: .2em;
  color: #222;
  font-size: 2em;
  line-height: 1.4;
}

.post-meta {
  margin: 0;
  color: #999;
  font-size: 90%;
  line-height: 1.8em;
}

.post-meta a,
.post-meta time {
  margin: 0 .1em;
  padding: .2em 1em;
  font-size: 80%;
  white-space: nowrap;
}

.post-date-sticker time {
  background: #df2d4f;
  color: #fff;
}

.post-category-sticker a {
  background: #4d85d1;
  color: #fff;
}

.post-tags-sticker a {
  background: #ffea85;
  color: #000;
}

.index-group {
  margin-bottom: 2em;
}

.archive-years {
  margin: 0;
}

.archive-row {
  margin: .4em 0;
}

.post-description {
  color: #444;
  line-height: 1.8em;
}

.post-description p {
  text-align: justify;
}

.post-navigation {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em;
  margin: .67em 0;
  padding: .4em 0;
  border-bottom: 1px solid #eee;
  font-size: 80%;
  font-weight: 500;
}

.post-navigation a {
  color: rgb(61, 146, 201);
  text-decoration: none;
}

.post-navigation a:hover,
.post-navigation a:focus {
  text-decoration: none;
}

.post-navigation-label {
  color: #aaa;
}

.post-navigation-next {
  margin-left: auto;
  text-align: right;
}

@media (max-width: 47.999em) {
  .post-navigation {
    align-items: flex-start;
    flex-direction: column;
  }

  .post-navigation-next {
    margin-left: 0;
    text-align: left;
  }
}

@media (min-width: 48em) {
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
  }

  .header {
    margin: 80% 2em 0;
    text-align: right;
  }

  .content {
    margin-left: 25%;
    padding: 2em 3em 0;
  }
}
