body {
  font-family: 'Exo 2', Verdana, sans-serif;
}
td {
  padding-right: 1em;
}
.control-key {
  border: 2px solid var(--bs-border-color);
  border-radius: 0.6em;
  padding: 0.2em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  background-color: var(--bs-tertiary-bg);
  margin-left: 1em;
}
/* dark mode toggle; show the mode you'll switch to */
.theme-toggle .theme-icon-sun {
  display: none;
}
[data-bs-theme="dark"] .theme-toggle .theme-icon-sun {
  display: inline;
}
[data-bs-theme="dark"] .theme-toggle .theme-icon-moon {
  display: none;
}
/* replacements for Bootstrap 3 components dropped in Bootstrap 5 */
.jumbotron {
  padding: 3rem 0;
  margin-bottom: 2rem;
  background-color: var(--bs-tertiary-bg);
}
.jumbotron h1 {
  font-size: 3rem;
}
.thumbnail {
  display: block;
  padding: 4px;
}
.caption {
  padding: 9px;
}
.logo-gradient {
  background: linear-gradient(to right, #ff9999, #ffff99, #99ff99, #99ffff);
  background-clip: text;
  -webkit-background-clip: text;
  color:rgba(0,0,0,0) !important;
  text-shadow: none !important;
}

/* CRT-style bezel: fixed 4:3 frame, any screenshot is letterboxed inside it */
.monitor {
  aspect-ratio: 4 / 3;
  padding: 6%;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, #d9d3c3, #b4ad9b);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35), inset 0 2px 2px rgba(255, 255, 255, 0.5);
}
.monitor img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  border-radius: 8% / 10%;
  box-shadow: inset 0 0 18px #000, 0 0 0 3px #4a463d;
}

[data-bs-theme="dark"] .monitor {
  background: linear-gradient(145deg, #4a4a4a, #2b2b2b);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6), inset 0 2px 2px rgba(255, 255, 255, 0.12);
}
[data-bs-theme="dark"] .monitor img {
  box-shadow: inset 0 0 18px #000, 0 0 0 3px #161616;
}
/* Screenshots captured at native resolution (224-320px wide) are scaled up
   inside the bezel; keep their pixels crisp instead of smoothing them.  Large
   captures are scaled down, where nearest-neighbour would look worse. */
.monitor img.pixelated {
  image-rendering: pixelated;
}

/* flat book cover with a stack of pages showing at the right and bottom (oblique view) */
.book {
  width: fit-content;
  max-width: 100%;
  margin: 0 8px 14px 0;
}
.book img {
  display: block;
  border-radius: 1px 3px 3px 1px;
  box-shadow:
    1px 1px #f6f1e4, 2px 2px #cfc8b4, 3px 3px #f6f1e4, 4px 4px #cfc8b4,
    5px 5px #f6f1e4, 6px 6px #cfc8b4, 7px 7px #f6f1e4,
    8px 8px 8px rgba(0, 0, 0, 0.35);
}
