/* AMFP Enhanced: Doxygen pages in the documentation site's type and colours (guide/stylesheets/amfp.css).
   Doxygen's own TOGGLE colour style gives the light / dark switch; this only sets fonts and accents. */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&family=Source+Code+Pro:wght@400;600&display=swap");

/* :not(.amfp) lifts this to the specificity of Doxygen's html.dark-mode block, which repeats the fonts. */
html:not(.amfp) {
  --font-family-normal: "Source Serif 4", Georgia, serif;
  --font-family-monospace: "Source Code Pro", SFMono-Regular, Menlo, Consolas, monospace;
  --font-family-title: "Cinzel", Georgia, serif;
  --font-family-nav: "Source Serif 4", Georgia, serif;
  --page-link-color: #7a4e1d;
  --page-visited-link-color: #7a4e1d;
}
html.dark-mode:not(.amfp) {
  --page-background-color: #14110d;
  --page-foreground-color: #d9cbb0;
  --page-link-color: #d2a865;
  --page-visited-link-color: #d2a865;
  --header-background-color: #1c1813;
  --side-nav-background: #1a1611;
  --code-background: #1f1a14;
}
#projectname { font-family: var(--font-family-title); letter-spacing: .06em; }
#projectbrief { font-style: italic; }
div.header .title, h1, h2, h3 { font-family: var(--font-family-title); letter-spacing: .03em; }
