@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Global Reveal.js Styles */
.reveal {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  color: #222831;
  background: #f4f4f4;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Headings: Adjusted Size & Left-Aligned */
h1 {
  font-size: 30pt;
  font-weight: 700;
  color: #004477;
  text-align: left;
  margin-bottom: 10px;
}

h2 {
  font-size: 22pt;
  font-weight: 600;
  color: #0066aa;
  text-align: left;
  margin-bottom: 8px;
}

/* Paragraph Styling */
.reveal p {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
}

/* Vertically Centered Slide Content */
.reveal .slides section {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers bullet points vertically */
  align-items: center; /* Keeps content centered */
  text-align: left;
  max-height: 85vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
}

/* Staggered Bullet Points: Bullet on One Line, Text Below */
.reveal ul {
  list-style-type: none;
  font-size: 22px;
  color: #222831;
  line-height: 1.5;
  text-align: left;
  padding-left: 20px;
  width: 80%; /* Prevents bullets from stretching across the slide */
}

.reveal li {
  display: flex;
  align-items: flex-start;
  flex-direction: row;  /* Keeps text flowing normally */
  padding-bottom: 10px;
}

.reveal li::before {
  content: "●";
  color: #0066aa;
  font-weight: bold;
  font-size: 18px;
  margin-right: 8px; /* Space between bullet and text */
  flex-shrink: 0;
}

/* Sub-bullets (also staggered) */
.reveal ul ul {
  list-style-type: none;
  font-size: 20px;
  color: #666;
  padding-left: 20px;
}

.reveal ul ul li::before {
  content: "○";
  color: #888;
  font-size: 16px;
}

/* Tables */
.reveal table {
  max-width: 80vw !important;
  word-wrap: break-word;
  font-size: 22px;
  border-collapse: collapse;
}

.reveal table th, .reveal table td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
}

.reveal table th {
  background: #0055aa;
  color: #fff;
  font-weight: 600;
}

/* Quotes */
.reveal blockquote {
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: #444;
  padding: 10px;
  border-left: 3px solid #0055aa;
  background: #f9f9f9;
  border-radius: 4px;
}

/* Custom Scrollbar Styling */
.reveal .slides section {
  scrollbar-width: thin;
  scrollbar-color: #0055aa #e0e0e0;
}

.reveal .slides section::-webkit-scrollbar {
  width: 6px;
}

.reveal .slides section::-webkit-scrollbar-thumb {
  background-color: #0055aa;
  border-radius: 3px;
}

.reveal .slides section::-webkit-scrollbar-track {
  background: #e0e0e0;
}

/* Image Styling */
.reveal .quarto-figure {
  text-align: center;
  max-width: 100% !important;
  max-height: 85vh !important;
  margin: 0 auto;
}

.reveal .quarto-figure img {
  max-width: 85% !important;
  height: auto !important;
  margin: auto;
  border-radius: 4px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

/* Button-Like Elements */
.reveal .button {
  display: inline-block;
  padding: 8px 16px;
  background: #0055aa;
  color: white;
  font-size: 20px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.reveal .button:hover {
  background: #0077cc;
  box-shadow: 0px 3px 6px rgba(0, 85, 170, 0.2);
}

/* Highlights */
.reveal .highlight {
  background: #ffdd57;
  color: #222;
  padding: 4px 6px;
  border-radius: 3px;
  font-weight: bold;
}
