/* Import Google Fonts (Montserrat, Inter, and Space Mono) */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300,500;700&family=Merriweather:wght@300,400&family=Inter:wght@300;400&family=Fira+Code:wght@400&display=swap');

:root {
  --font-heading: 'Oswald', 'Montserrat', "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  --font-body: 'Merriweather', 'Inter', "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  --font-caption: 'Inter', sans-serif;
  --font-mono: 'Fira Code', Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}

/* Body copy: Merriweather 400, 16px */
body,  p, li, table,
.content main {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
}

/* Chapter titles: Oswald 700 */
.content main h1 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Section headings: Oswald 500 */
.content main h2,
.content main h3,
.content main h4 {
  font-family: var(--font-heading);
  font-weight: 500;
}

/* Captions: Inter */
figcaption,
.content main table caption,
.caption {
  font-family: var(--font-caption);
  font-weight: 400;
}

/* Monospace: Fira Code */
code,
pre,
.hljs {
  font-family: var(--font-mono) !important;
}

.sidebar .sidebar-scrollbars .chapter li a { 
  font-family: var(--font-heading); 
  font-weight: 300;
  font-size: 12px;
}

/* Disable text selection across all content except code samples (optional) */
body {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;     /* IE 10 and 11 */
  user-select: none;         /* Standard */
}

  
/* Optional: if you want readers to copy terminal commands */
pre, code {
-webkit-user-select: text;
user-select: text;
}

/* Hide the print icon button in the top right toolbar */
#print-button {
    display: none !important;
}