/**
 * Black theme for reveal.js. This is the opposite of the 'white' theme.
 *
 * By Hakim El Hattab, http://hakim.se
 */
@import url(/fonts/merchant/merchant.css);
section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 {
  color: #222;
}

/*********************************************
 * GLOBAL STYLES
 *********************************************/
:root {
  --r-background-color: #111;
  --r-main-font: Merchant, Helvetica, sans-serif;
  --r-main-font-size: 36px;
  --r-main-color: #ced5e0;
  --r-block-margin: 20px;
  --r-heading-margin: 0 0 20px 0;
  --r-heading-font: Merchant, Helvetica, sans-serif;
  --r-heading-color: #e8f1ff;
  --r-heading-line-height: 1.2;
  --r-heading-letter-spacing: normal;
  --r-heading-text-shadow: none;
  --r-heading-font-weight: 600;
  --r-heading1-text-shadow: none;
  --r-heading1-size: 4em;
  --r-heading2-size: 1.3em;
  --r-heading3-size: 1em;
  --r-heading4-size: 1.5em;
  --r-code-font: monospace;
  --r-link-color: #42affa;
  --r-link-color-dark: #068de9;
  --r-link-color-hover: #8dcffc;
  --r-selection-background-color: #bee4fd;
  --r-selection-color: #fff;
  --r-highlight-color: #ffc400;
}

.reveal-viewport {
  background-color: var(--r-background-color);
  background-image: url("../../images/endless-constellation.svg");
  background-position: center;
  background-repeat: repeat;
}

.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;
  text-align: left;
}

/*********************************************
 * 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-shadow: var(--r-heading-text-shadow);
  word-wrap: break-word;
}

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

.reveal h2 {
  font-size: var(--r-heading2-size);
  text-align: center;
}

.reveal h3 {
  position: relative;
  z-index: 11;
  margin: 0;
  padding: 0.25em 1em;
  background: #191919;
  border-bottom: 1px solid #335e8c;
  font-size: var(--r-heading3-size);
  text-align: left;
}

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

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

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

.reveal .font-size-large {
  font-size: 1.8em;
}
.reveal .font-size-large h4 {
  margin: 1em 0;
}
.reveal .font-size-large p {
  margin: 1em 0;
}

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

.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: circle;
}
.reveal ul li {
  margin: 0.5em 0;
}

.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 {
  position: relative;
  font-size: 2em;
  line-height: 1.2em;;
}

.reveal blockquote:before, .reveal blockquote:after {
  position: absolute;
  font-size: 4em;
  line-height: 0;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: rgb(160, 0, 85);
}

.reveal blockquote:before {
  content: "\201C";
  top: 0.3em;
  left: -0.4em;
}

.reveal blockquote:after {
  content: "\201D";
  bottom: -0.2em;
  right: -0.4em;
}

.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: 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: 0px 5px 15px rgba(0, 0, 0, 0.15);
}

.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: 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 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 {
  display: block;
  margin: var(--r-block-margin) auto;
}

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

.reveal .icon {
  width: 1.5em;
  height: 1.5em;
  fill: var(--r-main-color);
  margin: 0 0.8em 0 0;
}

.reveal figure > figcaption {
  font-size: 0.5em;
}


/*********************************************
* EYE
*********************************************/

@keyframes pupil-anim-1 {
  0%   {
    top:45%; 
    left:8%; 
  }
  20%   {
    top:45%; 
    left:8%; 
  }
  25%  {
    top:5%; 
    left:10%; 
  }
  45%  {
    top:5%; 
    left:10%; 
  }
  50%  {
    top:38%; 
    left:20%; 
  }
  70%  {
    top:38%; 
    left:20%; 
  }
  75%  {
    top:20%; 
    left:50%; 
  }
  95%  {
    top:20%; 
    left:50%; 
  }
  100% {
    top:45%; 
    left:8%; 
  }
}

.eye-outside {
  position: absolute;
  z-index: 1;
  width: 100px;
  height: 100px;
  background: #cfcfcf;
  border: 1px solid #fff;
  border-radius: 50%;
  box-shadow: 5px -2px 2px #000000;
}
.eye-outside > .pupil {
  position: absolute;
  top: 37px;
  left: 13px;
  width: 50px;
  height: 50px;
  background: black;
  border: 2px solid #444;
  border-radius: 50%;
  animation-name: pupil-anim-1;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}
.eye-outside.large {
  width: 200px;
  height: 200px;
}
.eye-outside.large > .pupil {
  width: 100px;
  height: 100px;
}

#Eye_1 {
  top: 10%;
  right: 4%;
}

#Eye_2 {
  top: 2%;
  right: 30%;
  transform: rotate(150deg);
}
#Eye_2 > .pupil {
  animation-delay: 2s;
  animation-direction: reverse;
  animation-timing-function:cubic-bezier(0.39, 0.575, 0.565, 1);
}

#Eye_3 {
  bottom: 22%;
  right: 11%;
  transform: rotate(150deg);
}
#Eye_3 > .pupil {
  animation-delay: 2s;
}

#Eye_4 {
  bottom: -15%;
  left: 51%;
  transform: rotate(221deg);
}
#Eye_4 > .pupil {
  animation-delay: 1s;
  animation-timing-function: cubic-bezier(0.95, 0.05, 0.795, 0.035);
  animation-direction: alternate;
}

#Eye_5 {
  top: -3%;
  left: 29%;
  transform: rotate(221deg);
}
#Eye_5 > .pupil {
  animation-delay: 1s;
  animation-timing-function:cubic-bezier(0.075, 0.82, 0.165, 1);
  animation-direction: alternate-reverse;
}

#Eye_6 {
  bottom: -17%;
  left: -3%;
  transform: rotate(10deg);
}
#Eye_6 > .pupil {
  animation-delay: 4s;
  animation-timing-function: ease-out;
  animation-direction: alternate;
}

/*********************************************
 * TITLE SLIDE
 *********************************************/
 .reveal .title-slide h1 {
   margin: 0;
   padding: 0 2%;
  }
  .reveal .title-slide h1 > span {
    font-size: 0.65em;
    padding: 0 0 0 0.2em;
  }
  .reveal .title-slide h1 strong {
    font-size: 2em;
    line-height: 0.95em;
    text-transform: none;
  }
  .reveal .title-slide h1 strong > span {
    position: relative;
    z-index: 0;
    display: block;
  }
  
  .reveal .title-slide h1 strong > span:nth-child(1) {
    padding: 0 20% 90px 0;
    border-bottom: 1px dashed magenta;
  }
  .reveal .title-slide h1 strong > span:nth-child(2) {
    top: -68px;
    padding: 0 20% 90px 0;
    border-bottom: 1px dashed teal;
  }
  .reveal .title-slide h1 strong > span:nth-child(3) {
    top: -140px;
    padding: 0 20% 90px 0;
    border-bottom: 1px dashed yellow;
  }
  
  .reveal .title-slide h1 strong > span > span.outline {
    position: absolute;
    top: 10px;
    left: 15px;
    z-index: -1;
    color: transparent;
  }
  .reveal .title-slide h1 strong > span:nth-child(1) > span.outline {
    -webkit-text-stroke: 2px magenta;
  }
  .reveal .title-slide h1 strong > span:nth-child(2) > span.outline {
    -webkit-text-stroke: 2px teal;
  }
  .reveal .title-slide h1 strong > span:nth-child(3) > span.outline {
    -webkit-text-stroke: 2px yellow;
  }
  
  .reveal .title-slide h2 {
    margin-top: -1em;
    padding: 0 0 0 0.6em;
    font-size: 2.5em;
    text-align: left;
    color: var(--r-main-color);
  }
  
/*********************************************
  * TOC
  *********************************************/
.reveal .toc {
  padding: 4em 30%;
}
.reveal .toc h2 {
  margin: 3em 0;
  text-align: left;
}
.reveal .toc p {
  font-size: 1.8em;
}
.reveal .toc ol li {
  padding: 8px 0;
}


/*********************************************
 * SPACERS
 *********************************************/

 .reveal .height-100 {
   height: 100vh;
}
  
.reveal .height-with-header {
    height: calc(100vh - 63px);
}
  
.reveal .height-100 .centered,  .reveal .height-with-header .centered{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.reveal .height-100 .centered + p, .reveal .height-with-header .centered + p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 2%;
  font-size: 1.5em;
  text-align: center;
}
  
.reveal .padded.small {
  padding: 0 2%;
}

/*********************************************
 * HELPERS
 *********************************************/

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


 /*********************************************
 * FLEXBOX
 *********************************************/
.reveal .flexbox {
  display: flex;
}
.reveal .flexbox.column {
  flex-direction: column;
}

.align-vertical {
  align-items: center;
}

.space-between {
  justify-content: space-between;
}
.space-between figure {
  padding: 0 15%;
}
.space-between figure img {
  width: 400px;
}

.align-horizontal {
  justify-content: center;
}

.align-left {
  justify-content: flex-start;
}

.reveal .flexbox.flexbox_images > figure {
  flex: 1 1 auto;
}
.reveal .flexbox.flexbox_images > figure > img {
  margin: 0;
}

.reveal img.max30 {
  height: 30vh;
  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);
}

/*********************************************
 * BACKGROUND VIDEO
 *********************************************/

#background-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  transform: scale(1.1);
}

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

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