/**
 * White compact & high contrast reveal.js theme, with headers not in capitals.
 *
 * By Peter Kehl. Based on white.(s)css by Hakim El Hattab, http://hakim.se
 *
 * - Keep the source similar to black.css - for easy comparison.
 * - $mainFontSize controls code blocks, too (although under some ratio).
 */
@import url(./fonts/source-sans-pro/source-sans-pro.css);
section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
  color: #fff;
}

/*********************************************
 * GLOBAL STYLES
 *********************************************/
:root {
  --r-background-color: #F8F9FA;
  --r-main-font: Source Sans Pro, Helvetica, sans-serif;
  --r-main-font-size: 25px;
  --r-main-color: #2d3748;
  --r-block-margin: 20px;
  --r-heading-margin: 0 0 20px 0;
  --r-heading-font: Source Sans Pro, Helvetica, sans-serif;
  --r-heading-color: #1a202c;
  --r-heading-line-height: 1.2;
  --r-heading-letter-spacing: -0.01em;
  --r-heading-text-transform: none;
  --r-heading-text-shadow: none;
  --r-heading-font-weight: 600;
  --r-heading1-text-shadow: none;
  --r-heading1-size: 2.5em;
  --r-heading2-size: 1.6em;
  --r-heading3-size: 1.3em;
  --r-heading4-size: 1em;
  --r-code-font: monospace;
  --r-link-color: #B39A6A;
  --r-link-color-dark: #8C7850;
  --r-link-color-hover: #C9B48A;
  --r-selection-background-color: #DCCFB7;
  --r-selection-color: #fff;
  --r-accent-color: #24584C;
  --r-accent-light: #E8F0EE;
  --r-accent-gradient: linear-gradient(135deg, #24584C, #3D7A6D);
  --r-card-bg: #ffffff;
  --r-card-border: #e2e8f0;
  --r-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --r-muted-color: #718096;
}

.reveal-viewport {
  background: var(--r-background-color);
}

.reveal {
  font-family: var(--r-main-font);
  font-size: var(--r-main-font-size);
  font-weight: normal;
  color: var(--r-main-color);
}

.reveal ::selection {
  color: var(--r-selection-color);
  background: var(--r-selection-background-color);
  text-shadow: none;
}

.reveal ::-moz-selection {
  color: var(--r-selection-color);
  background: var(--r-selection-background-color);
  text-shadow: none;
}

.reveal .slides section,
.reveal .slides section > section {
  line-height: 1.3;
  font-weight: inherit;
}

/*********************************************
 * HEADERS
 *********************************************/
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  margin: var(--r-heading-margin);
  color: var(--r-heading-color);
  font-family: var(--r-heading-font);
  font-weight: var(--r-heading-font-weight);
  line-height: var(--r-heading-line-height);
  letter-spacing: var(--r-heading-letter-spacing);
  text-transform: var(--r-heading-text-transform);
  text-shadow: var(--r-heading-text-shadow);
  word-wrap: break-word;
}

.reveal h1 {
  font-size: var(--r-heading1-size);
  text-shadow: var(--r-heading1-text-shadow);
}

.reveal h2 {
  font-size: var(--r-heading2-size);
  padding-bottom: 0.3em;
  border-bottom: 3px solid var(--r-accent-color);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.reveal h3 {
  font-size: var(--r-heading3-size);
  color: var(--r-accent-color);
}

.reveal h4 {
  font-size: var(--r-heading4-size);
}

/*********************************************
 * OTHER
 *********************************************/
.reveal p {
  margin: var(--r-block-margin) 0;
  line-height: 1.3;
}

/* Remove trailing margins after titles */
.reveal h1:last-child,
.reveal h2:last-child,
.reveal h3:last-child,
.reveal h4:last-child,
.reveal h5:last-child,
.reveal h6:last-child {
  margin-bottom: 0;
}

/* Ensure certain elements are never larger than the slide itself */
.reveal img,
.reveal video,
.reveal iframe {
  max-width: 95%;
  max-height: 95%;
}

.reveal strong,
.reveal b {
  font-weight: bold;
}

.reveal em {
  font-style: italic;
  color: var(--r-accent-color);
  font-weight: 600;
}

.reveal ol,
.reveal dl,
.reveal ul {
  display: inline-block;
  text-align: left;
  margin: 0 0 0 1em;
}

.reveal ol {
  list-style-type: decimal;
}

.reveal ul {
  list-style-type: disc;
}

.reveal ul ul {
  list-style-type: square;
}

.reveal ul ul ul {
  list-style-type: circle;
}

.reveal ul ul,
.reveal ul ol,
.reveal ol ol,
.reveal ol ul {
  display: block;
  margin-left: 40px;
}

.reveal dt {
  font-weight: bold;
}

.reveal dd {
  margin-left: 40px;
}

.reveal blockquote,
.reveal q {
  font-style: italic;
  background: var(--r-accent-light);
  border-left: 4px solid var(--r-accent-color);
  border-radius: 0 0.5em 0.5em 0;
  margin: var(--r-block-margin) auto;
  color: var(--r-heading-color);
}

.reveal blockquote {
  display: block;
  position: relative;
  width: 70%;
  padding: 1em 1.5em;
  box-shadow: none;
}

.reveal blockquote p:first-child,
.reveal blockquote p:last-child {
  display: inline-block;
}

.reveal q {
  display: block;
  width: 80%;
  padding: 0.8em 1.2em;
  text-align: left;
}

.reveal pre {
  display: block;
  position: relative;
  width: 90%;
  margin: var(--r-block-margin) auto;
  text-align: left;
  font-size: 0.55em;
  font-family: var(--r-code-font);
  line-height: 1.2em;
  word-wrap: break-word;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0.5em;
  border: 1px solid var(--r-card-border);
}

.reveal code {
  font-family: var(--r-code-font);
  text-transform: none;
  tab-size: 2;
}

.reveal pre code {
  display: block;
  padding: 5px;
  overflow: auto;
  max-height: 400px;
  word-wrap: normal;
}

.reveal .code-wrapper {
  white-space: normal;
}

.reveal .code-wrapper code {
  white-space: pre;
}

.reveal table {
  margin: auto;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0.5em;
  overflow: hidden;
}

.reveal table th {
  font-weight: bold;
  background: var(--r-accent-color);
  color: #fff;
}

.reveal table th,
.reveal table td {
  text-align: left;
  padding: 0.5em 0.8em;
  border-bottom: 1px solid var(--r-card-border);
}

.reveal table tbody tr:nth-child(even) {
  background: var(--r-accent-light);
}

.reveal table th[align=center],
.reveal table td[align=center] {
  text-align: center;
}

.reveal table th[align=right],
.reveal table td[align=right] {
  text-align: right;
}

.reveal table tbody tr:last-child th,
.reveal table tbody tr:last-child td {
  border-bottom: none;
}

.reveal sup {
  vertical-align: super;
  font-size: smaller;
}

.reveal sub {
  vertical-align: sub;
  font-size: smaller;
}

.reveal small {
  display: inline-block;
  font-size: 0.6em;
  line-height: 1.2em;
  vertical-align: top;
}

.reveal small * {
  vertical-align: top;
}

.reveal img {
  margin: var(--r-block-margin) 0;
}

/*********************************************
 * LINKS
 *********************************************/
.reveal a {
  color: var(--r-link-color);
  text-decoration: none;
  transition: color 0.15s ease;
}

.reveal a:hover {
  color: var(--r-link-color-hover);
  text-shadow: none;
  border: none;
}

.reveal .roll span:after {
  color: #fff;
  background: var(--r-link-color-dark);
}

/*********************************************
 * Frame helper
 *********************************************/
.reveal .r-frame {
  border: 4px solid var(--r-main-color);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.reveal a .r-frame {
  transition: all 0.15s linear;
}

.reveal a:hover .r-frame {
  border-color: var(--r-link-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
}

/*********************************************
 * NAVIGATION CONTROLS
 *********************************************/
.reveal .controls {
  color: var(--r-link-color);
}

/*********************************************
 * PROGRESS BAR
 *********************************************/
.reveal .progress {
  background: rgba(0, 0, 0, 0.2);
  color: var(--r-link-color);
}

/*********************************************
 * SECTION TITLE SLIDES
 *********************************************/
.reveal section.section-title {
  background: var(--r-accent-gradient);
  border-radius: 0.75em;
  padding: 1.2em;
  box-sizing: border-box;
}

.reveal section.section-title h1,
.reveal section.section-title h2 {
  color: #fff;
  border-bottom: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.reveal section.section-title h4 {
  color: rgba(255, 255, 255, 0.8);
}

.reveal section.section-title .author {
  color: #fff;
}

.reveal section.section-title .divider {
  background: rgba(255, 255, 255, 0.5);
}

.reveal section.section-title .source,
.reveal section.section-title .source a {
  color: rgba(255, 255, 255, 0.7);
}

.reveal section.section-title .source a:hover {
  color: #fff;
}

/*********************************************
 * CARD COMPONENT
 *********************************************/
.reveal .card {
  background: var(--r-card-bg);
  border: 1px solid var(--r-card-border);
  border-radius: 0.75em;
  padding: 1.2em;
  box-shadow: var(--r-card-shadow);
}

.reveal .card h3 {
  margin-top: 0;
}

.reveal .card p {
  margin-bottom: 0;
}

/*********************************************
 * ICON ACCENT
 *********************************************/
.reveal .icon-accent {
  color: var(--r-accent-color);
  font-size: 1.4em;
  margin-bottom: 0.4em;
  display: block;
}

/*********************************************
 * ACCENT PILL / BADGE
 *********************************************/
.reveal .badge {
  display: inline-block;
  background: var(--r-accent-light);
  color: var(--r-accent-color);
  padding: 0.15em 0.6em;
  border-radius: 9999px;
  font-size: 0.75em;
  font-weight: 600;
}

/*********************************************
 * ENHANCED LIST STYLING
 *********************************************/
.reveal ul.styled-list {
  list-style: none;
  margin-left: 0;
}

.reveal ul.styled-list li {
  position: relative;
  padding-left: 1.3em;
  margin-bottom: 0.4em;
}

.reveal ul.styled-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35em;
  height: 0.35em;
  background: var(--r-accent-color);
  border-radius: 50%;
}

.reveal ul.styled-list ul {
  list-style: none;
  margin-left: 0;
  margin-top: 0.3em;
}

.reveal ul.styled-list ul li::before {
  width: 0.28em;
  height: 0.28em;
  background: var(--r-accent-color);
  opacity: 0.6;
}

/*********************************************
 * TITLE SLIDE STYLING
 *********************************************/
.reveal .title-slide h2 {
  border-bottom: none;
  font-size: 2.2em;
  margin-bottom: 0.1em;
}

.reveal .title-slide h4 {
  color: var(--r-muted-color);
  font-weight: 400;
}

.reveal .title-slide .author {
  margin-top: 1em;
  font-size: 1.1em;
  color: var(--r-accent-color);
  font-weight: 600;
}

/*********************************************
 * SOCIAL LINKS
 *********************************************/
.reveal .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: var(--r-accent-light);
  color: var(--r-accent-color);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.reveal .social-links a:hover {
  background: var(--r-accent-color);
  color: #fff;
  transform: scale(1.1);
}

/*********************************************
 * DIVIDER LINE
 *********************************************/
.reveal .divider {
  width: 4em;
  height: 3px;
  background: var(--r-accent-gradient);
  border: none;
  margin: 1em auto;
  border-radius: 2px;
}

/*********************************************
 * SOURCE ATTRIBUTION
 *********************************************/
.reveal .source {
  font-size: 0.6em;
  color: var(--r-muted-color);
  margin-top: 0.5em;
}

.reveal .source a {
  color: var(--r-muted-color);
}

.reveal .source a:hover {
  color: var(--r-accent-color);
}

/*********************************************
 * PRINT BACKGROUND
 *********************************************/
@media print {
  .backgrounds {
    background-color: var(--r-background-color);
  }
}