/* Smaller overall type: shrink the base font (set on body.deck in
   support/css/deck.css) and bring slide titles (h1, set in
   support/css/style.css) down closer to body-text size instead of the
   default 1.8x. */
body.deck {
  font-size: 30px;
}
h1 {
  font-size: 1.15em;
}

/* Show correct/wrong answers in PDF export.
   The data-pdf-correct attribute is set by the header-includes script in
   decker.yaml, which runs in print-pdf mode before pdf-ready fires. */
@media print {
  .quizzer button.answer[data-pdf-correct="true"] {
    border-color: var(--accent3);
    background-color: var(--accent3-bbg);
  }
  .quizzer button.answer[data-pdf-correct="false"] {
    border-color: var(--accent0);
    background-color: var(--accent0-bbg);
  }
}

/* Beamer-style overlay stacks: one full picture per fragment step,
   stacked in place. See lecture-02-deck.md for the technique, and the
   tex/ + Makefile pipeline for compiling multi-page LaTeX/TikZ
   animations into per-page SVGs that use the same stacking. */
.overlay {
  position: relative;
}
.overlay .step {
  position: absolute;
  top: 0;
  left: 0;
}
