title,
.title {
  text-align: center;
  margin-bottom: 0.2em;
}

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

.subtitle {
  text-align: center;
  font-size: medium;
  font-weight: bold;
  margin-top: 0;
}

@font-face {
  font-family: "CMU Serif";
  src: url("./fonts/cmunrm.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CMU Serif";
  src: url("./fonts/cmunbx.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "CMU Serif", serif;
  line-height: 1.6;
  font-size: 18px;
  padding: 0 10px;
  margin: 60px auto;
  max-width: 700px;
}

#preamble {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.headshot {
  display: block;
  margin: 0 auto 0.75em;
  border-radius: 50%;
  width: 208px;
  height: 208px;
  object-fit: cover;
}

.tagline {
  text-align: center;
  font-style: italic;
  margin-top: -0.5em;
  margin-bottom: 0.5em;
}

.contact {
  display: flex;
  justify-content: center;
  gap: 1.75em;
  font-size: 0.95em;
  margin-top: 0.15em;
  margin-bottom: 2em;
}

.contact a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.contact-icon {
  vertical-align: middle;
  flex-shrink: 0;
}

#summary {
  margin-bottom: 2em;
}

#content section {
  margin-bottom: 2.5em;
}

.section-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 2em 0 0;
}

h2,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-style: italic;
  font-size: 24px;
}

h2 {
  font-style: normal;
  font-size: 24px;
  font-weight: bold;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

a:link,
a:visited {
  color: blue;
}

code,
.code {
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 1.125rem;
  line-height: 1.6;
  padding: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  font-size: 85%;
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 3px;
}

.entry {
  margin-top: 1.25em;
}

.entry-header {
  display: flex;
  flex-direction: column;
  font-weight: bold;
}

.entry-title {
  font-size: 1em;
}

.entry-meta {
  font-size: 0.9em;
  font-style: italic;
  color: #777;
}

@media (min-width: 640px) {
  .entry-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 1em;
  }
}