:root {
    --r-main-font-size: 56px;
    --r-heading-font: Lato, sans-serif;
    --r-heading1-size: 1.75em;
    --r-heading2-size: 1.25em;
    --r-heading3-size: 1em;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4 {
  font-weight: bold;
  padding: 0.5em 0em;
  margin: 0;
}

.reveal p {
  text-align: left;
  width: 90%;
  margin: 0.25em auto;
}

.reveal ul, .reveal ol {
  display: block;
}

.reveal li {
  margin: 0.5em; 
}

.reveal .subhead {
  text-align: center;
  font-size: 1.2em;
}

.reveal .center {
  text-align: center;
}

.reveal .theorem {
  background-color: #eee;
  padding: 0.75em;
  border-radius: 1em;
  width: 90%;
  margin: var(--r-block-margin) auto;
}

section {
  top: 0px !important;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

section::after {
  content: "";
}

.vertical-center {
  margin-top: auto;
  margin-bottom: auto;
}

.column {
  display: flex; 
  justify-content: space-evenly; 
  align-items: center;
}

.theorem > :first-child {
  margin-top: 0;
}

.theorem > :last-child {
  margin-bottom: 0;
}

mjx-container.MathJax:last-child {
  margin-bottom: 0 !important;
}

.slides section .fragment { 
  transition: all 0.5s; 
}

.slides section .fragment.fade-in-then-out{ 
  transition: all 0.5s; 
}

.no-border {
  border: none !important;
}

.full-border {
  border: 1px solid !important;
}

.text-center {
  text-align: center !important;
}

.background-gray {
  background-color: #eee;
}

.fragment.frag-background-gray.visible {
  background-color: #eee;
}

.overlap {
  display: grid;
  justify-items: center;
  align-items: center;
}

.overlap > * {
  grid-column-start: 1;
  grid-row-start: 1;
}

.comment {
  float: right;
  background-color: #ffdede;
  padding: 0.2em 0.4em;
  border-radius: 0.1em;
  border: 1px solid;
}

.gist-data {
  height: 320px;
  overflow-y: visible;
}

.gist {
  zoom: 2.5;
}

strong {
  font-weight: bold;
  /* color: #255fdd; */
}

.reveal .slides .citations { 
  margin: auto 0 0 0; 
  font-size: 0.8em;
}

.reveal .citations td {
  vertical-align: top;
  text-align: left;
  border: none; 
}

.reveal .citations td:first-child {
  width: 4em; 
}

img {
  scale: 1;
}

/* .reveal .slides table {
  border-style: hidden;
  margin: 0;
} */

.reveal .padded-table td {
  padding-left: 1em; 
  padding-right: 1em;
}

/* .reveal table td, .reveal table th {
  border: 2px solid gray;
  text-align: center;
} */

.img-fill {
  width: 100%;
}

.left-double {
  border-left-style: double !important;
  border-left-width: 6px !important;
}

.pad-top-bottom {
  padding-top: 1em;
  padding-bottom: 1em;
}

.mono {
  font-family: monospace;
  font-size: 0.9em;
}

.fixed {
  position: fixed;
}

.fixed > * {
  position: absolute;
  color: #db3939;
}

.reveal .hljs {
  min-height: unset;
}

.reveal pre code {
  font-size: 1.5em;
  line-height: 1.5em;
  max-height: unset;
}

.reveal pre {
  box-shadow: none;
}

.reveal {
  /* background-color: #ccc; */
}

.reveal .slides {
  background-color: white;
}

.reveal a {
  color: #0276d4;
}

.reveal a:hover {
  text-decoration: underline;
  color: #0276d4 !important;
}

.reveal .material-symbols-outlined {
  font-size: 56px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 56;
}

.tt {
  font-family: monospace;
  font-size: 0.9em;
  padding: 0.15em 0.4em;
  background-color: rgb(250, 250, 250);
  font-style: normal;
}

.reveal .answer {
  text-align: right;
  font-style: italic;
  margin-bottom: 1em;
  margin-top: 0.5em;
}

.big-box {
  display: inline-block;
  min-width: calc(100px + 2em + 20px);
  height: calc(100px + 2em + 20px);
  border: 5px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.5em;
}

.box {
  display: inline-block;
  min-width: calc(100px + 1em + 10px);
  height: calc(100px + 1em + 10px);
  border: 5px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.5em;
}

.small-box {
  display: inline-block;
  min-width: 100px;
  min-height: 100px;
  border: 5px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding:0.5em;
}

.column div {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.divider {
  border: 1px solid #b7b7b7;
  height: 350px;
}