/* ==========================================================================
   Pixelbound: Foundry edition theme
   Brand colour and type for the whole template. Change a value here and
   every page follows; the online editor edits this same block.
   ========================================================================== */

:root {
  --accent: #5412c4;
  --accent-ink: #ffffff;
  --font-display: "Press Start 2P", ui-monospace, monospace;
  --font-body: "Rubik", system-ui, sans-serif;
}

body, input, select, textarea, button {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6,
.logo, #logo, #header h1, .navbar-brand, .masthead-heading, .masthead h1,
.section-heading, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.major h2, .major h3, header.major h1, header.major h2 {
  font-family: var(--font-display) !important;
}

::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }

/* The author credit the CC BY licence asks for, where the layout has no footer. */
.foundry-credit {
  position: fixed; right: 12px; bottom: 10px; z-index: 10000; margin: 0;
  padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.45);
  color: #fff; font: 11px/1.6 var(--font-body); letter-spacing: 0; text-transform: none;
}
.foundry-credit a { color: inherit; text-decoration: underline; border: 0; }
:focus-visible { outline-color: var(--accent) !important; }

.masthead .masthead-heading { font-size: clamp(1.5rem, 4vw, 2.6rem) !important; line-height: 1.5 !important; }
.page-section-heading, h2 { line-height: 1.4; }
