/* Computer Modern: "Portfolio Serif" is CMU Serif (SIL Open Font License, fonts/cmu-serif/OFL.txt)
   trimmed to Latin letters and punctuation and saved as WOFF2 (about 20KB per style instead of 120KB).
   It carries its own name because the license reserves the original one for unmodified fonts.
   Shared by every page, including project_pages/, so the type system lives in one place. */

@font-face {
  font-family: "Portfolio Serif";
  src: url("fonts/cmu-serif/cmunrm.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Portfolio Serif";
  src: url("fonts/cmu-serif/cmunbx.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Portfolio Serif";
  src: url("fonts/cmu-serif/cmunti.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
  font-display: block;
}

@font-face {
  font-family: "Portfolio Serif";
  src: url("fonts/cmu-serif/cmunbi.woff2") format("woff2");
  font-weight: bold;
  font-style: italic;
  font-display: block;
}

:root {
  --font: "Portfolio Serif", "Latin Modern Roman", Georgia, serif;
  /* One size for all text: --fs. --fs-small is used only for the monospace BibTeX code block. */
  --fs: 1rem;
  --fs-small: 0.875rem;
  /* The one exception: your name at the top of the home page. */
  --fs-name: 1.75rem;
}
