/* Keep the capitalization written in Markdown headings. */
.reveal {
  --r-main-font: "Times New Roman", Times, serif;
  --r-heading-font: "Times New Roman", Times, serif;
  /* Edit these values to change the sizes of h1, h2, and h3 headings. */
  --h1-font-size: 2.5em;
  --h2-font-size: 2.0em;
  --h3-font-size: 1.9em;
  --h4-font-size: 1.0em;
  --h5-font-size: 0.75em;
  --h6-font-size: 0.50em;
  --r-main-font-size: 22px;

}

.reveal h1 { font-size: var(--h1-font-size); }
.reveal h2 { font-size: var(--h2-font-size); }
.reveal h3 { font-size: var(--h3-font-size); }
.reveal h4 { font-size: var(--h3-font-size); }
.reveal h5 { font-size: var(--h3-font-size); }
.reveal h6 { font-size: var(--h3-font-size); }

/* Keep Reveal.js slide numbers in the bottom-right corner and bracket them. */
.reveal .slide-number {
  /* top: 5px; */
  /* bottom: 15px; */
  left: 1392px;
  bottom : 22px;
  font-size: 1.5em;
  color: rgb(255, 140, 0)
}

.reveal .slide-number::before { content: r"$\langle$"; }
.reveal .slide-number::after { content: r"$\rangle$"; }

/* Wrap selected Markdown text in <span class="small-text">…</span>. */
.reveal .large-text {
  font-size: 0.5em;
}

.reveal,
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  font-family: "Times New Roman", Times, serif !important;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  text-transform: none !important;
}

/* Add extra spacing between letters in level-four headings (####). */
.reveal h4,.reveal h3, .reveal h2, .reveal h1, 
.reveal h5 {
  letter-spacing: 0.025em;
}

/* Scale down the long heading on the title slide only. */
.reveal .slides > section:first-child h1 {
  font-size: 1.8em;
  line-height: 1.15;
  max-width: 90%;
  margin-inline: auto;
}

/* Keep figures inside the visible slide area without distorting them. */
.reveal .slides section img {
  max-width: 90%;
  max-height: 58vh;
  height: auto;
  object-fit: contain;
}

/* Let slide lists use the available text width instead of shrink-wrapping. */
.reveal .slides section ul,
.reveal .slides section ol {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
}

/* Keep the QGP diagram within the right-hand table column. */
.reveal table {
  width: 100%;
  table-layout: fixed;
}

.reveal table thead {
  display: none;
}

.reveal table td {
  border: none !important;
}

.reveal table th:first-child,
.reveal table td:first-child {
  width: 58%;
}

.reveal table td:first-child {
  text-align: justify;
}

.reveal table th:last-child,
.reveal table td:last-child {
  width: 42%;
}

.reveal table img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 58vh;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.reveal .positioned-text {
  position: absolute;
  left: 5%;
  top: 90%;
  width: 90%;
  font-size: 0.75em;
  line-height: 1.2;
  text-align: left;
}
.reveal figcaption {
  font-size: 0.6em;
}
