@font-face { font-family: 'LM Roman'; src: url(fonts/lmroman10-regular.otf); }
@font-face { font-family: 'LM Roman'; src: url(fonts/lmroman10-italic.otf); font-style: italic; }
@font-face { font-family: 'LM Roman'; src: url(fonts/lmroman10-bold.otf); font-weight: bold; }
@font-face { font-family: 'LM Mono'; src: url(fonts/lmmono10-regular.otf); }

html, body { margin: 0; height: 100%; background: #000; color: #fff; overflow: hidden; }
body { font: 26px/1.3 'LM Roman', 'Latin Modern Roman', 'CMU Serif', serif; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* every slide is a 1600×900 black canvas, scaled to fit the window */
.slide { display: none; position: absolute; left: 50%; top: 50%; width: 1600px; height: 900px; transform: translate(-50%, -50%) scale(var(--k, 1)); }
.slide.on { display: block; }
.slide > * { position: absolute; margin: 0; }
.slide img { display: block; }

h1 { font-weight: normal; font-size: 64px; line-height: 1.1; text-wrap: balance; }
h2 { font-weight: normal; font-size: 42px; left: 70px; top: 22px; }
.t { font-size: 26px; }
.s { font-size: 21px; }
.blue { color: #8fc1ff; }
.orange { color: #f2a541; }
.red { color: #ff5a4f; }
.dim { color: #9a9a9a; }
.it { font-style: italic; }
.mono { font-family: 'LM Mono', monospace; }

/* pictures and screenshots; the caption under each says where it came from */
figure img { width: 100%; }
figcaption { font-size: 17px; line-height: 1.25; color: #9a9a9a; margin-top: 6px; }
figcaption .mono { color: #8fc1ff; font-size: 16px; }
figure a:hover { text-decoration: none; }
figure a:hover figcaption .mono { text-decoration: underline; }
.label { font-size: 34px; text-align: center; margin-bottom: 8px; }

table { border-collapse: collapse; font-size: 22px; line-height: 1.2; }
th, td { padding: 5px 12px; text-align: left; vertical-align: top; }
thead th { border-top: 2px solid #fff; border-bottom: 1px solid #fff; font-weight: normal; }
tbody tr:last-child td { border-bottom: 2px solid #fff; }
td.c, th.c { text-align: center; }
.yes { color: #8fc1ff; }
.no { color: #ff5a4f; }

ol, ul { padding-left: 1.2em; }
li { margin: 0 0 8px; }

.links { font-size: 19px; line-height: 1.35; columns: 3; column-gap: 40px; }
.links h3 { font-size: 22px; font-weight: bold; margin: 0 0 6px; break-after: avoid; }
.links p { margin: 0 0 4px; break-inside: avoid; }
.links a { color: #8fc1ff; }
.links .src { color: #9a9a9a; }

.merci { font-family: 'LM Mono', monospace; color: #3c8a5a; font-size: 30px; }

/* the slide number, and speaker notes (N) */
.where { position: fixed; right: 14px; bottom: 8px; font-size: 15px; color: #555; }
.slide .notes { display: none; }
#notes { display: none; position: fixed; left: 0; right: 0; bottom: 0; max-height: 40%; overflow: auto; background: rgba(20, 20, 20, 0.94); border-top: 1px solid #444; font: 17px/1.4 system-ui, sans-serif; padding: 10px 18px; }
html.show-notes #notes { display: block; }
#notes p { margin: 0 0 4px; }
