html {
  font-size: 100%;
}

body {
  margin: 16px;
  font-family: "Noto Serif", serif;
  font-size: 16px;
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-family: "EB Garamond", serif;
  font-weight: 700;
  line-height: 1.05;
}

h1 {
  margin: 48px auto;
  width: 80%;
  text-align: center;
  font-size: 48px;
}
h2 {
  margin: 28px 0 14px 0;
  font-size: 28px;
}
h3 {
  margin: 24px 0 12px 0;
  font-size: 24px;
}
h4 {
  margin: 20px 0 10px 0;
  font-size: 20px;
}
h5, h6 {
  display: none;
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

code {
  border-radius: 6px;
  padding: 0 6px;
  color: #2da07d;
  background-color: #f5f5f5 !important;
}

code.hljs {
  line-height: 1.2;
  background-color: #f5f5f5 !important;
}

/**************************************/

.site {
  margin: 0 auto;
  max-width: 800px;
}

.header,
.footer {
  text-align: center;
}

.site-title {
  margin: 24px 0 12px 0;
  font-family: "EB Garamond", serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.05;
}

.one-sentence {
  margin: 8px 0;
}

.nav__list { 
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.nav__item {
  display: inline-block;
}
.nav__item:not(:last-child)::after {
  content: "|";
  padding: 0 16px;
}

.splitter {
  margin: 36px 0;
  border: 0;
  width: 100%;
  height: 1px;
  background: #333;
}

.footer {
  margin-bottom: 64px;
}

/**************************************/

.article-highlight {
  margin-bottom: 24px; 
}

.article__title {
  text-align: center;
}

.article__date {
  margin: 12px 0;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
}

.article-list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 24px;
}

hr {
  margin: 24px auto;
  border: 0;
  width: 75%;
  height: 1px;
  background: #333;
}

@media (min-width: 800px) {
  .article-list {
    flex-direction: row;
  }

  .article-list .article {
    width: calc(50% - 24px);
  }
}

/**************************************/

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

.archive__item {
  margin: 16px 0;
}

.archive__item-date {
  font-size: 14px;
  font-weight: 300;
}

.archive__item-link {
  display: block;
  font-size: 18px;
}
