@font-face {
  font-family: 'Linux Libertine';
  src: url('fonts/LinLibertine-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Linux Libertine';
  src: url('fonts/LinLibertine-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Linux Libertine';
  src: url('fonts/LinLibertine-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Linux Biolinum';
  src: url('fonts/LinBiolinum-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Linux Biolinum';
  src: url('fonts/LinBiolinum-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Linux Biolinum';
  src: url('fonts/LinBiolinum-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-body: 'Linux Libertine', 'Times New Roman', serif;
  --font-heading: 'Linux Biolinum', Arial, sans-serif;
  --font-mono: ui-monospace, Menlo, Consolas, 'DejaVu Sans Mono', monospace;
  --muted: #606060;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fff;
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: normal;
}

.page {
  width: calc(100vw - 15rem);
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.6rem 0 2.5rem;
}

#nav {
  font-family: var(--font-heading);
  font-size: 16px;
}

p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 120%;
}

#title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: normal;
  padding-top: 1em;
  padding-bottom: 0.5em;
}

#authors {
  padding-bottom: 0.67em;
}

#authors p {
  font-family: var(--font-heading);
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 1px;
}

#authors p a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #000;
}

#authors p a:hover {
  color: var(--muted);
  border-bottom-color: var(--muted);
}

#authors p span {
  font-size: 17px;
  text-transform: none;
}

.me {
  font-weight: bold;
}

#authors .venue {
  margin-top: 1.2em;
}

#authors .venue span {
  font-size: 20px;
}

#subtitle {
  font-family: var(--font-heading);
  font-size: 17px;
  margin-top: -0.6em;
  padding-bottom: 0.9em;
}

#links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 2em;
  font-family: var(--font-heading);
  font-size: 20px;
}

#links .pending {
  color: var(--muted);
  cursor: default;
}

#teaser {
  display: block;
  width: 100%;
  height: auto;
  padding-bottom: 0.3em;
  margin-bottom: 4px;
}

#caption {
  font-family: var(--font-heading);
  font-size: 0.9em;
}

h2 {
  font-family: var(--font-heading);
  font-size: 1.5em;
  font-weight: normal;
  margin-top: 1.5em;
  margin-bottom: 0.3em;
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
}

pre {
  padding: 0.9rem 1.2rem;
  border-radius: 5px;
  background-color: #eeeeee;
  overflow-x: auto;
}

pre code {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.35;
  white-space: pre;
}

.credit {
  margin-top: 3.5em;
  text-align: center;
  font-size: 13px;
  line-height: 1.3;
  color: #808080;
}

.credit a {
  color: inherit;
}

@media (max-width: 800px) {
  .page {
    width: auto;
    margin: 0 16px;
  }

  #title {
    font-size: 26px;
  }

  #authors p {
    font-size: 18px;
  }

  #authors p span {
    font-size: 15px;
  }

  #authors .venue span {
    font-size: 18px;
  }
}
