@font-face {
  font-family: "Alegreya";
  src: url("/assets/fonts/Alegreya-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya";
  src: url("/assets/fonts/Alegreya-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "IM Fell English";
  src: url("/assets/fonts/IMFellEnglish-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IM Fell English";
  src: url("/assets/fonts/IMFellEnglish-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

h1, h2, h3 {
    font-family: "IM Fell English", Serif;
}


.subtitle {
    font-size: 1.3rem;
    font-style: italic;
}


body {
    font-size: 1.2em;
    font-family: "Alegreya", Serif;
    max-width: 38em;
    margin: 3rem 0 3rem 3rem;

}


@media (max-width: 600px) {
    body {
        margin: 1.5rem 1rem 2rem;
    }
}

img {
    display: block;
    width: 100%;
    max-width: 38rem;
    height: auto;
    margin-inline: auto;
}


pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre;
    box-sizing: border-box;
}

pre code {
    white-space: pre;
}

.blog-listing .outline-3 {
  position: relative;
  padding-left: 10rem;
}

.blog-listing .blog-date {
  position: absolute;
  left: 0;
  top: 0;
  width: 8.5rem;
  text-align: right;
  white-space: nowrap;
  font-size: 0.85em;
  opacity: 0.7;
  line-height: 1.8;
}

.blog-listing h3 { margin-top: 0; }

.blog-listing h3 a {
  color: inherit;
  text-decoration: none;
}
.blog-listing h3 a:hover {
  text-decoration: underline;
}

@media (max-width: 40rem) {
  .blog-listing .outline-3 { padding-left: 0; }
  .blog-listing .blog-date {
    position: static;
    width: auto;
    text-align: left;
  }
}

@media (hover: none) {
  .blog-listing h3 a {
    text-decoration: underline;
  }
}


.blog-listing h3 {
  position: static;
  float: none;
  height: auto;
  margin: 0 0 0.25em;
  line-height: 1.3;
}

.blog-listing .outline-text-3 {
  margin: 0;
  clear: both;
}


footer {
    margin: 2rem 0;
}
