/**
 * A simple theme for reveal.js presentations, similar
 * to the default theme. The accent color is darkblue.
 *
 * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
 * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
 */
@font-face {
    font-family: 'News Cycle';
    src: url('../fonts/News%20Cycle/newscycle-bold-webfont.woff2') format('woff2'),
         url('../fonts/News%20Cycle/newscycle-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'News Cycle';
    src: url('../fonts/News%20Cycle/newscycle-regular-webfont.woff2') format('woff2'),
         url('../fonts/News%20Cycle/newscycle-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato/fonts/Lato-Regular.eot');
    src: url('../fonts/Lato/fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Lato/fonts/Lato-Regular.woff2') format('woff2'),
         url('../fonts/Lato/fonts/Lato-Regular.woff') format('woff'),
         url('../fonts/Lato/fonts/Lato-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* roboto-mono-regular - latin_latin-ext */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Mono'), local('RobotoMono-Regular'),
       url('../fonts/roboto_mono/roboto-mono-v5-latin_latin-ext-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto_mono/roboto-mono-v5-latin_latin-ext-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-mono-italic - latin_latin-ext */
@font-face {
  font-family: 'Roboto Mono';
  font-style: italic;
  font-weight: 400;
  src: local('Roboto Mono Italic'), local('RobotoMono-Italic'),
       url('../fonts/roboto_mono/roboto-mono-v5-latin_latin-ext-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto_mono/roboto-mono-v5-latin_latin-ext-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-mono-700 - latin_latin-ext */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Mono Bold'), local('RobotoMono-Bold'),
       url('../fonts/roboto_mono/roboto-mono-v5-latin_latin-ext-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto_mono/roboto-mono-v5-latin_latin-ext-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-mono-700italic - latin_latin-ext */
@font-face {
  font-family: 'Roboto Mono';
  font-style: italic;
  font-weight: 700;
  src: local('Roboto Mono Bold Italic'), local('RobotoMono-BoldItalic'),
       url('../fonts/roboto_mono/roboto-mono-v5-latin_latin-ext-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto_mono/roboto-mono-v5-latin_latin-ext-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/*********************************************
 * GLOBAL STYLES
 *********************************************/
body {
  background: #000;
  background-color: #fff; }

.reveal {
  font-family: "Lato", sans-serif;
  font-size: 3dvh;
  font-weight: normal;
  color: #000; }

.reveal .slides {
    height: 100%;
    margin-top: 0;
}

::selection {
  color: #fff;
  background: rgba(0, 0, 0, 0.99);
  text-shadow: none; }

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

.reveal .slides>section {
  min-height: 90% !important;
  top: auto;
  height: 100dvh;
}

.reveal .slides>section>section {
  display: flex !important;
  flex-direction: column;
  min-height: 100% !important;
  width: 100%;
  padding-bottom: 2em !important;
}

/* This allows wrapper containers to fill the slide */
.reveal section.present {
    height: 100%;
}

div.centered-container {
    display: flex;
    height: 100%;
    padding-bottom: 2em;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}


div.left-container {
    text-align: left;
}

div.bullet-container
{
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-grow: 1;
    height: 100%;

    & h1, h2, h3, h4, h5, h6 {
        text-align: left;
    }

    & ul > li {
        margin-top: 0.25em;
        margin-bottom: 0.25em;
    }

    & ul,ol > li:not(:last-child) > ul,ol >li :last-child {
        margin-bottom: 0.7em;
    }

    & ul > li > ul >li :not(:last-child) {
        margin-bottom: 0em;
    }

    div.bullets-with-header {
        /* Placeholder for if we need to style these */
    }
}

/*********************************************
 * Title slide
 *********************************************/

.main-title {
  font-size: 3em;
  color: #000;
  font-family: "News Cycle", "Cantarell", sans-serif;
  font-weight: bold;
}

.main-subtitle {
  font-size: 0.7em;
}

.main-title-info .author {
    font-size: 2em;
}


/*********************************************
 * HEADERS
 *********************************************/
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  margin: 0 0 20px 0;
  color: #000;
  font-family: "News Cycle", "Cantarell", sans-serif;
  font-weight: bold;
  line-height: 0.9em;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
  text-align: center;
  word-wrap: break-word; }

.reveal h1 {
  font-size: 1.6em;
  margin-bottom: 0.5em;
  }

.reveal h2 {
  font-size: 1.4em;
  margin-bottom: 0.5em;
}

.reveal h3 {
  font-size: 1.3em; }

.reveal h4 {
  font-size: 1.2em; }

.reveal h1 {
  text-shadow: none; }

.reveal h1:first-child,
.reveal h2:first-child {
  text-decoration: underline;
  text-align: left;
  margin-bottom: 0.5em;
}

/*********************************************
 * OTHER
 *********************************************/
.reveal p {
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 5px;
  margin-bottom: 5px;
  line-height: 1.3; }

/* 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; }

.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: 0px; }

.reveal dt {
  font-weight: bold; }

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

.reveal q,
.reveal blockquote {
  quotes: none; }

.reveal blockquote {
  display: block;
  position: relative;
  width: 70%;
  margin: 20px auto;
  padding: 5px;
  font-style: italic;
  }

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

.reveal q {
  font-style: italic; }

.reveal pre {
  display: block;
  position: relative;
  width: 95%;
  /* margin: auto; */
  text-align: left;
  font-size: 0.55em;
  font-family: monospace;
  line-height: 1.2em;
  word-wrap: break-word; }

.reveal code {
  font-family: monospace; }

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

.reveal table {
  margin: auto;
  border-collapse: collapse;
  border-spacing: 0; }

.reveal table th {
  font-weight: bold; }

.reveal table th,
.reveal table td {
  text-align: left;
  padding: 0.2em 0.5em 0.2em 0.5em;
  border-bottom: 1px solid; }

.reveal table.dataframe th {
  font-size: 24px;
  background: '#cacaca';
}

.reveal table.dataframe td {
  font-size: 20px;
  line-height: 1.2em;
}
.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; }

.reveal sub {
  vertical-align: sub; }

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

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

/*********************************************
 * LINKS
 *********************************************/
.reveal a {
  color: #00008B;
  text-decoration: none;
  -webkit-transition: color .15s ease;
  -moz-transition: color .15s ease;
  transition: color .15s ease; }

.reveal a:hover {
  color: #0000f1;
  text-shadow: none;
  border: none; }

.reveal .roll span:after {
  color: #fff;
  background: #00003f; }

/*********************************************
 * IMAGES
 *********************************************/

.reveal section img {
  margin: 15px 0px;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  box-shadow: none;
}

img.splash,
img#splash {
    border: 2px solid;
    border-color: #444;
    background: none;
    max-width: 90vw;
    max-height: 80vh;
}

img#splash-noborder {
    border: none;
    border-color: #444;
    background: none;
    max-width: 90vw;
    max-height: 80vh;
}


/* Multi-image galleries */
div.gallery {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

div.gallery > div.gallery-item > img {
    margin-top: 0.5em;
    margin-right: 0.5em;
    margin-right: 0.5em;
    max-height: 95%;
}

div.gallery.two-wide > div.gallery-item,
div.gallery.two-wide > img {
    width: calc(50% - 1.1em);
}

div.gallery.two-high > div.gallery-item {
    max-height: calc(40dvh - 1.1em);
}

div.gallery.three-wide > div.gallery-item,
div.gallery.three-wide > img {
    max-width: calc(30dvw - 1.1em);
}

div.gallery.three-wide > div.gallery-item,
div.gallery.three-wide > img {
    max-width: calc(33dvw - 1.1em);
}

div.gallery.four-wide > div.gallery-item,
div.gallery.four-wide > img {
    width: calc(25dvw - 1.1em);
}

div.gallery.four-wide > img {
    width: calc(25dvw - 1.1em);
}

div.gallery.two-high > div.gallery-item {
    max-height: calc(40dvh - 1.1em);
}

/* Screenshot-specific */
img.screenshot {
    border: 2px solid;
    border-color: #909090;
    margin: 1em;
    max-width: calc(min(90%, 90dvw));
}

img.mobile-screenshot {
    max-height: 80dvh;
}

div.gallery > div.gallery-item > img.screenshot {
    margin-top: 0.5em;
    margin-right: 0.5em;
    margin-right: 0.5em;
    max-height: 95%;
}


/* border: 4px solid #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } */
.reveal section img.plain {
  border: 0;
  box-shadow: none; }

.reveal a img {
  -webkit-transition: all .15s linear;
  -moz-transition: all .15s linear;
  transition: all .15s linear; }

.reveal a:hover img {
  background: rgba(255, 255, 255, 0.2);
  border-color: #00008B;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }

/*********************************************
 * NAVIGATION CONTROLS
 *********************************************/
.reveal .controls .navigate-left,
.reveal .controls .navigate-left.enabled {
  border-right-color: #000; }

.reveal .controls .navigate-right,
.reveal .controls .navigate-right.enabled {
  border-left-color: #000; }

.reveal .controls .navigate-up,
.reveal .controls .navigate-up.enabled {
  border-bottom-color: #000; }

.reveal .controls .navigate-down,
.reveal .controls .navigate-down.enabled {
  border-top-color: #000; }

.reveal .controls .navigate-left.enabled:hover {
  border-right-color: #000; }

.reveal .controls .navigate-right.enabled:hover {
  border-left-color: #000; }

.reveal .controls .navigate-up.enabled:hover {
  border-bottom-color: #000; }

.reveal .controls .navigate-down.enabled:hover {
  border-top-color: #000; }

.reveal .controls {
  top: 5px;
  right: 5px;
  height: 105px;
  width: 105px;
  bottom: auto;
  left: auto;
  color: #000;
}

.reveal.hide-right-arrow .controls .navigate-right,
.reveal.hide-right-arrow .controls button.navigate-right,
.reveal.hide-right-arrow .controls .navigate-right.enabled,
body.hide-right-arrow .controls .navigate-right,
.reveal:has(section.present .hide-right-arrow) .controls .navigate-right {
  display: none !important;
}

/*********************************************
 * PROGRESS BAR
 *********************************************/
.reveal .progress {
  background: rgba(0, 0, 0, 0.2); }

.reveal .progress span {
  background: #00008B;
  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }

  /*******************
  * Slides
  *******************/
.reveal {
  overflow-y: hidden;
}

.reveal .slides {
  height: 98%;
  width: 80%;
  max-width: 80%;
  top: auto;
  bottom: auto;
  left: 10%;
  right: 10%;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: auto !important;
  margin-bottom: auto !important;
}

.reveal .slides>section {
  min-height: 90% !important;
}

.reveal .slides>section>section {
  min-height: 100% !important;
}

.reveal ul ul
{
  padding: 0px 25px;
}

ol, ul {
    width: 95%;
}

div.prompt {
  display: none;
  }

div.input_area {
  margin-right: 10%;
}

div.output_area {
  margin-top: 20px;
  margin-bottom: 20px;
}

div.output_subarea {
  padding: 0px;
  max-width: 100%;
}

div.splash {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 90dvh;
}

div.splash p {
    font-size: 3em;
    margin-bottom: 2em;
}

div.splash :last-child {
    margin-bottom: unset;
}

div.side-by-side {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center
}

div.side-by-side div.left,
div.side-by-side div.right {
    max-width: 45dvw;
}

/*#################################
 * Useful classes
 */

.not-centered {
    text-align: left;
}

/*##################################
 * Footer
 */

div.sbcontainer {
    position: fixed;
    top: 5em;
    right: 20px;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    flex-flow: column nowrap;
    align-items: flex-end;
}

img.sbitem {
    opacity: 0.5;
    width: 1.1em;
}

span.footnote,
p.footnote,
figcaption.footnote,
div.footnote {
    font-size: 0.9em;
    font-style: italic;
}

div.footnote {
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Separate two unrelated blocks of code so the backgrounds don't merge */
div.code-separator {
    margin-bottom: 0.5em;
}

/* Tables used for alignment */

table.alignment-table td,
table.alignment-table tr {
    border-bottom: 0px;
    border-top: 0px;
    border-right: 0px;
    border-left: 0px;
}

/*################################
 * Fragments
 */

/* Custom class to bold fragments */
/* use by adding "fragment custom bolds" */
.reveal .slides > section .fragment.bolds, .fragment.bolds {
    font-weight: normal;
    visibility: visible;
    opacity: 1;
    will-change: font-weight;
}

.reveal .slides > section .fragment.bolds.visible, .fragment.bolds.visible {
    font-weight: bold;
}

/* Custom class to bold fragments ONLY while they are the active step */
.reveal .slides > section .fragment.highlight-current-bold, .fragment.highlight-current-bold {
    font-weight: inherit;
    visibility: inherit;
    opacity: inherit;
}

.reveal .slides > section .fragment.highlight-current-bold.current-fragment, .fragment.highlight-current-bold.current-fragment {
    font-weight: bold;
}

/* Custom class to both bold and color the active fragment blue */
.reveal .slides > section .fragment.highlight-current-fragment, .fragment.highlight-current-fragment {
    font-weight: inherit;
    visibility: inherit;
    opacity: inherit;
}

.reveal .slides > section .fragment.highlight-current-fragment.current-fragment, .fragment.highlight-current-fragment.current-fragment {
    font-weight: bold;
    color: #1b91ff;
}

/* Custom classes for dashed stroke/outline highlight */
.reveal .slides > section .fragment.highlight-dashed, .fragment.highlight-dashed {
    visibility: inherit;
    opacity: inherit;
}

.reveal .slides > section .fragment.highlight-dashed.visible, .fragment.highlight-dashed.visible {
    outline: 4pt dashed;
    stroke: currentColor;
    stroke-width: 4pt;
    stroke-dasharray: 5, 5;
}

.reveal .slides > section .fragment.highlight-current-dashed, .fragment.highlight-current-dashed {
    visibility: inherit;
    opacity: inherit;
}

.reveal .slides > section .fragment.highlight-current-dashed.current-fragment, .fragment.highlight-current-dashed.current-fragment {
    outline: 4pt dashed;
    stroke: currentColor;
    stroke-width: 4pt;
    stroke-dasharray: 5, 5;
}

/* Custom class that performs no visual transition (useful for clearing "current" highlights) */
.reveal .slides > section .fragment.do-nothing, .fragment.do-nothing {
    visibility: inherit;
    opacity: inherit;
}

/* Custom class for fragments that disappear */

.disappearing-fragment.fragment.fade-out.visible {
    display: none;
    height: 0px;
    line-height: 0px;
    font-size: 0px;
}

.disappearing-fragment.fragment:not(.current-fragment):not(.fade-out) {
    display: none;
    height: 0px;
    line-height: 0px;
    font-size: 0px;
}

.nospace-fragment.fragment:not(.visible):not(.fade-out) {
    display: none;
    height: 0px;
    line-height: 0px;
    font-size: 0px;
}

/*****************************
 * Custom highlighting
 */

span.pytest-pass {
    font-weight: bold;
    color: #269109;
}

span.pytest-bad {
    color: #d10000;
}

span.pytest-error {
    color: #d10000;
    font-weight: bold;
}

span.pytest-good {
    color: #269109;
}

span.pytest-ok {
    font-weight: bold;
}

span.pytest-warn {
    color: #c27e00
}

span.pytest-warning-count {
    font-weight: bold;
    color: #c27e00;
}

.reveal pre {
    display: inline-block;
    /* width: auto; */
}

.reveal pre code
{
    display: inline-block;
}

.reveal pre code,
.reveal pre tt {
    font-size: 1.1em;
    line-height: 1.1;
}

.reveal tt {
    /* Don't collapse spaces in <tt> blocks */
    white-space:pre;
}

code.hljs, tt.hljs {
    display: inline-block;
    min-width: 60%;
    background: #fff;
}

div.big-code pre code,
div.big-code pre tt {
    font-size: 1.5em;
    line-height: 1.3;
}

div.medium-code pre code,
div.medium-code pre tt {
    font-size: 1.3em;
    line-height: 1.2;
}

div.code-indented {
    pre {
        margin-left: 3.5em;
    }

    ul, ol {
        margin-left: 0.5em;
    }
}

/****************************
 *  HACK
 *
 *  The C code in this is too long and should be smaller font than the
 *  rest of the code.
 */

code.lang-C {
    font-size: 0.8em;
    line-height: normal;
}

.emoji {
    font-family: Noto Color Emoji !important;
}

.small-spacer {
    height: 0.25em;
}

/* Normalize strike so that the line is constant across multiple fonts.
 *
 * Credit Scott Kellum: https://typetura.social/@scott/110233491361318220 */
strike {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-decoration-thickness: 0.1em;
    text-underline-offset: -0.3em;
}

/** Speaker notes */

div.speaker-controls-notes div.value {
    line-height: 1.1 !important;
    font-size: 0.9em !important;
}

/** Sidebar group (CC-0 + QR) */

div.sbgroup {
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-end;
    gap: 0.4em;
    margin-bottom: 0.5em;
}

/** QR code overlay */

div.qr-container {
    /* Set width freely in dvh; height follows automatically via aspect-ratio.
       The SVG has a fixed height attribute so height:auto doesn't track width. */
    width: 8dvh;
    aspect-ratio: 1;
    opacity: 0.5;
}

div.qr-container svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 1200px) {
    div.qr-container { display: none; }
}
