/* Styles for the generated static pages. They share the look of the timeline. */
@font-face {
  font-family: Oswald;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/oswald-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/playfair-900-italic.woff2') format('woff2');
}

:root {
  --paper: #fffdf0;
  --stripe: #ece7cd;
  --ink: #262626;
  --ink-soft: #5d584a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-head,
.site-foot,
main {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 16px;
  padding-bottom: 12px;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 900;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: Oswald, 'Arial Narrow', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}

.breadcrumbs {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ink-soft);
}

.breadcrumbs li {
  display: inline;
}

.breadcrumbs li + li::before {
  content: ' / ';
}

h1,
h2 {
  font-family: Oswald, 'Arial Narrow', sans-serif;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 4px;
  font-size: 34px;
}

h2 {
  margin: 30px 0 8px;
  font-size: 21px;
}

.subtitle {
  margin: 0 0 14px;
  font-family: Oswald, 'Arial Narrow', sans-serif;
  font-weight: 500;
  color: var(--ink-soft);
}

.tag {
  display: inline-block;
  padding: 0 7px;
  font-family: Oswald, 'Arial Narrow', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.life-bar {
  height: 14px;
  margin: 12px 0 18px;
}

.profile {
  display: flow-root;
}

.portrait {
  float: right;
  width: 120px;
  height: auto;
  margin: 0 0 10px 16px;
  border: 2px solid var(--ink);
}

.facts {
  margin: 14px 0;
  font-size: 16px;
}

.facts div {
  display: flex;
  gap: 10px;
  padding: 3px 0;
  border-top: 1px solid var(--stripe);
}

.facts dt {
  flex: none;
  width: 100px;
  font-family: Oswald, 'Arial Narrow', sans-serif;
  font-weight: 500;
  color: var(--ink-soft);
}

.facts dd {
  margin: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.button {
  display: inline-block;
  padding: 7px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: Oswald, 'Arial Narrow', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-plain {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ink);
  color: var(--ink);
}

.note {
  padding: 8px 12px;
  background: var(--stripe);
  font-size: 15px;
}

.record-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.record-list li {
  padding: 4px 0;
  border-bottom: 1px solid var(--stripe);
}

.record-list span {
  font-size: 15px;
  color: var(--ink-soft);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credit {
  font-size: 13px;
  color: var(--ink-soft);
}

.site-foot {
  margin-top: 40px;
  padding-top: 12px;
  padding-bottom: 28px;
  border-top: 3px solid var(--ink);
  font-size: 14px;
  color: var(--ink-soft);
}
