:root {
  --text-color: #333;
  --aside-color: #29627e;
  --body-max-width: 650px;
  --list-item-spacing: .25rem;

  --font-logo-size: 48px;
  --font-h1-size: 28px;
  --font-h2-size: 22px;
  --font-h3-size: 19px;
  --font-base-size: 16px;
  --font-aside-size: 15px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  scrollbar-gutter: stable;
}

body {
  font-family: open_sans, Verdana;
  margin: 40px auto;
  max-width: var(--body-max-width);
  line-height: 1.5;
  font-size: var(--font-base-size);
  color: var(--text-color);
  padding: 0 10px 70px 10px;
}

.small-caps {
  font-variant-caps: small-caps;
}

.fraction {
  font-variant-numeric: diagonal-fractions;
}

header h1 {
  font-size: var(--font-logo-size);
}

h1, h2, h3 {
  font-family: georgia;
  margin: 20px 0;
  line-height: 1.2;
}

h1 { font-size: var(--font-h1-size); }
h2 { font-size: var(--font-h2-size); }
h3 { font-size: var(--font-h3-size); }

.subheader {
  margin: 20px 0;
  line-height: 1.2
}

a {
  color: var(--text-color);
}

a:visited {
  color: var(--text-color);
}

header a.title {
  text-decoration: none;
  font-weight: bold;
}

header ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  margin: 20px 0;
  padding-left: 0;
}

header ul li {
  margin-right: 1rem;
}

.article-list {
  /* display: grid; */
  /* grid-template-columns: 1fr; */
  article {
    display: flex;
    flex-direction: column;
  }

  article + article {
    margin-top: var(--list-item-spacing);
  }

  time {
    color: gray;
    /* text-align: right; */
    font-feature-settings: "tnum";
  }
}

@media (min-width: 700px) {
  .article-list {
    article {
      display: grid;
      grid-template-columns: 2fr 1fr;
    }
  }
}

iframe.youtube {
  display: block;
  margin: 1rem auto;
  max-width: 90%;
}

@media (min-width: 700px) {
  .blog-list li {
    grid-template-columns: 2fr 1fr;
  }
}
