@font-face {
  font-family: "Latin Modern Roman";
  src: url("fonts/latin-modern/lmroman10-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Latin Modern Roman";
  src: url("fonts/latin-modern/lmroman10-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Latin Modern Roman";
  src: url("fonts/latin-modern/lmroman10-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
}

@font-face {
  font-family: "Latin Modern Roman";
  src: url("fonts/latin-modern/lmroman10-bolditalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
}

@font-face {
  font-family: "Latin Modern Mono";
  src: url("fonts/latin-modern/lmmono10-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}

html {
  font-family: "Latin Modern Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  min-height: 100%;
}

body {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 46rem;
  min-height: 100vh;
  padding: 1.5rem 1rem 0;
}

a {
  color: inherit;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-main {
  flex: 1;
  margin-bottom: 2rem;
}

.profile-photo {
  float: right;
  margin: 2.5rem 1rem 0;
  width: 10rem;
  height: auto;
}

.site-footer,
.post-meta,
.post-summary {
  color: #555;
  font-size: 0.9rem;
}

.site-footer {
  text-align: center;
}

.site-footer p {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

pre {
  overflow-x: auto;
}

code,
pre {
  font-family: "Latin Modern Mono", monospace;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.post-list {
  list-style: none;
  padding-left: 0;
}

.post-list li {
  margin-bottom: 1.5rem;
}

.post-list h2 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.post-list .post-meta,
.post-list .post-summary {
  margin: 0.5rem 0 0;
}

.post-header {
  margin-bottom: 1rem;
}

#bibliography {
  font-size: 1.25rem;
  margin-top: 3rem;
}

#refs {
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .profile-photo {
    float: none;
    margin: 2rem 0 0;
    width: 8rem;
  }
}
