custom.css
/*-- scss:rules --*/

/* Import Consolas font and fallbacks */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&display=swap');

/* Global reveal.js overrides */
.reveal {
  font-family: 'Consolas', 'JetBrains Mono', 'Monaco', 'Courier New', monospace !important;
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Hamburger icon override */
.reveal .slide-menu-button .fa-bars::before,
.reveal .slide-menu-button i::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(228, 160, 137)" class="bi bi-list" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"/></svg>') !important;
}

/* Slide backgrounds */
.reveal .slides section {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Headers */
.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
  color: #ffffff !important;
  font-family: 'Consolas', 'JetBrains Mono', 'Monaco', 'Courier New', monospace !important;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.reveal h1 {
  font-size: 2.2em;
  margin-bottom: 0.5em;
}

.reveal h2 {
  font-size: 1.7em;
  margin-bottom: 0.5em;
  border-bottom: 2px solid #e4a089;
  padding-bottom: 0.2em;
}

.reveal h3 {
  font-size: 1.3em;
  color: #e4a089 !important;
}

.reveal .quarto-title-authors {
  color: #e4a089 !important;
}

/* Text and paragraphs */
.reveal p, .reveal li {
  color: #ffffff !important;
  font-family: 'Consolas', 'JetBrains Mono', 'Monaco', 'Courier New', monospace !important;
  font-size: 0.95em;
  line-height: 1.4;
}

/* Links */
.reveal a {
  color: #e4a089 !important;
  text-decoration: none;
}

.reveal a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px #e4a089;
}

/* Code blocks */
.reveal pre {
  background-color: #1a1a1a !important;
  border: 1px solid #333333;
  border-radius: 8px;
  margin: 1em 0;
}

.reveal code {
  font-family: 'Consolas', 'JetBrains Mono', 'Monaco', 'Courier New', monospace !important;
  background-color: #1a1a1a !important;
  color: #e4a089 !important;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.85em;
}

.reveal pre code {
  background-color: transparent !important;
  color: #ffffff !important;
  padding: 1em;
  display: block;
  overflow-x: auto;
}

/* Lists */
.reveal ul, .reveal ol {
  color: #ffffff !important;
}

.reveal ul li {
  margin-bottom: 0.5em;
}

/* Highlight special elements */
.reveal .fragment.highlight-current-blue {
  color: #e4a089 !important;
}

/* Two-column layout improvements */
.reveal .columns {
  display: flex;
  align-items: flex-start;
  gap: 2em;
}

.reveal .column {
  flex: 1;
}

/* Special styling for title slide */
.reveal .title-slide h1 {
  font-size: 2.6em;
  color: #e4a089 !important;
  text-align: center;
  margin-bottom: 0.5em;
}

.reveal .title-slide h2 {
  font-size: 1.5em;
  color: #ffffff !important;
  text-align: center;
  border-bottom: none;
  margin-bottom: 1em;
}

.reveal .title-slide .author {
  font-size: 1.1em;
  color: #cccccc !important;
  text-align: center;
}

/* Progress bar */
.reveal .progress {
  color: #e4a089 !important;
}

.reveal .progress span {
  background-color: #e4a089 !important;
}

/* Slide numbers */
.reveal .slide-number {
  color: #e4a089 !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  font-family: 'Consolas', 'JetBrains Mono', 'Monaco', 'Courier New', monospace !important;
}

/* Tables */
.reveal table {
  border-collapse: collapse;
  margin: 1em auto;
}

.reveal table th,
.reveal table td {
  border: 1px solid #333333;
  padding: 0.5em 1em;
  color: #ffffff !important;
}

.reveal table th {
  background-color: #1a1a1a;
  color: #e4a089 !important;
  font-weight: 600;
}

/* Blockquotes */
.reveal blockquote {
  border-left: 4px solid #e4a089;
  padding-left: 1em;
  background-color: rgba(0, 212, 170, 0.1);
  color: #ffffff !important;
  font-style: italic;
}

/* Custom classes for emphasis */
.reveal .accent-text {
  color: #e4a089 !important;
  font-weight: 600;
}

.reveal .success {
  color: #4ade80 !important;
}

.reveal .warning {
  color: #fbbf24 !important;
}

.reveal .error {
  color: #f87171 !important;
}

/* Image styling */
.reveal img {
  border: none !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

/* Navigation controls */
.reveal .controls {
  color: #e4a089 !important;
}

/* Speaker notes */
.reveal .speaker-notes {
  background-color: #000000 !important;
  color: #ffffff !important;
  font-family: 'Consolas', 'JetBrains Mono', 'Monaco', 'Courier New', monospace !important;
}

/* Quarto (HTML/Reval.js) puts code in <div class="sourceCode"><pre><code>… */
/* Remove only the horizontal scrollbar; keep vertical if needed */
.reveal div.sourceCode {
  overflow-x: clip !important;   /* or 'hidden' if 'clip' is unsupported */
  overflow-y: auto;
  box-sizing: border-box;
  max-width: 100%;
}

/* Make inner boxes not exceed their container width (avoids 1px phantom overflow) */
.reveal pre.sourceCode,
.reveal div.sourceCode > pre,
.reveal pre code.sourceCode {
  box-sizing: border-box;
  max-width: 100%;
}

/* If using the “copy” button, prevent its overlay from causing overflow */
.reveal .code-with-copy {
  overflow: clip;                 /* or 'hidden' */
  padding-right: 2.25rem;         /* room for the button */
}
.reveal .code-with-copy .copy-button {
  right: 0.25rem;
}

/* Footer styling */
.reveal .footer.footer-default,
.reveal .footer-default {
  font-size: 0.6em !important;
  color: #e4a089 !important;
  font-family: 'Consolas', 'JetBrains Mono', 'Monaco', 'Courier New', monospace !important;
}

/* Target any text elements within the footer */
.reveal .footer.footer-default *,
.reveal .footer-default * {
  font-size: 0.6em !important;
  color: #e4a089 !important;
  font-family: 'Consolas', 'JetBrains Mono', 'Monaco', 'Courier New', monospace !important;
}
