:root {
  --r-heading1-size: 2em;
  --r-heading2-size: 1.2em;
  --r-heading3-size: 1em;
  --r-heading4-size: 0.9em;
}
.reveal .slides > section,
.reveal .pdf-page > section,
.reveal .slides > .scroll-page {
  text-align: left !important;
}
img {
  padding: 0 !important;
  margin: 0 !important;
}

/* footnotes section */
hr.footnotes {
  margin-left: 0;
  width: 33%;
}
div.footnotes {
  text-indent: -5px;
  padding-left: 20px;
  width: 90%;
  margin-bottom: -15px;
}
div.footnotes > .footnote {
  text-align: left;
}
div.footnotes > .footnote::before {
  content: "*";
}

h5 {
  font-size: 0.85em;
}
h6 {
  font-size: 0.8em;
}
ul,
ol,
p {
  font-size: 0.65em;
}
ul.references {
  font-size: 0.55em;
}
#bio ul {
  font-size: 0.715em;
}
ul > li:not(:last-child),
ol > li:not(:last-child) {
  margin-bottom: 0.5em;
}
.center {
  text-align: center;
}
small {
  font-size: 0.3em !important;
  text-align: center;
  line-height: 1.5em !important;
}
.footer {
  position: fixed;
  bottom: 10px;
  text-wrap: nowrap;
  width: 100%;
  text-align: center;
  z-index: 100;
  font-size: 3vmin;
}
.license {
  font-size: 1.5vmin;
  padding-top: 0.5vmin;
}
pre > code {
  padding: 20px !important;
  border-radius: 10px;
}
pre.code-wrapper {
  border-radius: 10px;
}
:not(pre) > code {
  background-color: #eee;
  padding: 0.125rem 0.25rem;
  border-radius: 5px;
}
.hide-line-numbers .hljs-ln-numbers {
  display: none;
}
.r-stack-left {
  justify-content: start;
}
.r-stack-left > p {
  margin: 0 !important;
}

table:not(.hljs-ln) {
  font-size: 0.65em;
}

/* slide layouts */
section.intro-slide > div {
  text-align: center;
}
section.section-intro-slide > div {
  text-align: center;
  font-size: 1.5em;
}
section.centered-slide > div {
  text-align: center;
}

/* slide numbers */
.reveal .slide-number {
  color: #000;
  background-color: transparent;
}

/* PDF formatting */
.print-pdf .footer {
  position: absolute;
  font-size: 4vmin;
}
.print-pdf .license {
  margin-bottom: -2vmin;
}
.last-modified {
  display: none;
  font-size: 1.25vmin;
}
.print-pdf .last-modified {
  display: inline;
}
.print-pdf .footer > #website {
  display: none;
}
