@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');
/* @import url(theme/fonts/source-sans-pro/source-sans-pro.css); */

section.has-dark-background,
section.has-dark-background h1,
section.has-dark-background h2,
section.has-dark-background h3,
section.has-dark-background h4,
section.has-dark-background h5,
section.has-dark-background h6 {
  color: #fff;
}

section h2 {
  /* TURN THIS OFF FOR PRINTING/EXPORT TO PDF SLIDES */
  background-image: linear-gradient(165deg,  #ff4081, #4caf50);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}

section.text-darkbg h2::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  z-index: -1;
  width: 48%;
  height: 1.2em;
  margin-right: 0.5em;
  background-color: rgba(255, 255, 255, 0.5);
  vertical-align: middle;
}

section.text-darkbg h1,
section.text-darkbg h2,
section.text-darkbg h3,
section.text-darkbg p {
  background-color: rgba(255, 255, 255, 0.5);
  display: table;
  padding: 0 16px;

}

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

.reveal {
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-size: 36px;
  font-weight: normal;
  color: #222;
}

::selection {
  /* color: #fff; */
  background: #ff4081;
  
  text-shadow: none;

  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #000000cc;
}

::-moz-selection {
  /* color: #fff; */
  background: #ff4081;
  text-shadow: none;
}

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

/*********************************************
* HEADERS
*********************************************/
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  margin: 0 0 20px 0;
  color: #444;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: uppercase;
  text-shadow: none;
  word-wrap: break-word;
}

.reveal h1 {
  font-size: 2.5em;
}

.reveal h2 {
  font-size: 1.6em;
}

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

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

.reveal h1 {
  text-shadow: none;
}

/*********************************************
* OTHER
*********************************************/
.reveal p {
  margin: 20px 0;
  line-height: 1.3;
}

/* Ensure certain elements are never larger than the slide itself */
.reveal img,
.reveal video,
.reveal iframe {
  max-width: 100%;
  max-height: 100%;
  /* 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 ul ~ h4 {
  margin-top: 20px;

}

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

.reveal dt {
  font-weight: bold;
}

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

.reveal blockquote {
  display: block;
  position: relative;
  width: 90%;
  margin: 40px 0 auto 0;
  padding: 0 20px;
  font-style: italic;
  /* background-color: rgba(128, 128, 128, 0.2); */
  /* background: linear-gradient(336deg, rgb(240, 217, 240) 0%, rgba(246, 212, 230, 0.734) 35%, rgb(251, 233, 207) 100%) */
  background: linear-gradient(336deg, #4caf4f52 0%, rgba(212,212,246,0.7343531162464986) 35%, #ff408058 100%)
  /* box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); */
}

.reveal blockquote p:first-child,
.reveal blockquote p:last-child {
  display: inline-block;
}
.reveal blockquote ul,
.reveal blockquote dl,
.reveal blockquote ol {
  padding: 20px 0;
}

.reveal q {
  font-style: italic;
}

.reveal pre {
  display: block;
  position: relative;
  width: 90%;
  margin: 20px auto;
  text-align: left;
  font-size: 0.9em;
  font-family: monospace;
  line-height: 1.2em;
  word-wrap: break-word;
  /* box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); */
}

.reveal code {
  font-family: monospace;
  text-transform: none;
}

.reveal pre code {
  display: block;
  padding: 5px;
  overflow: auto;
  max-height: 400px;
  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 {
  font-size: 0.85em;
  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;
}

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

.reveal a:hover {
  color: #6ca0e8;
  text-shadow: none;
  border: none;
}

.reveal .roll span:after {
  color: #fff;
  background: #1a53a1;
}

/*********************************************
* IMAGES
*********************************************/
.reveal section img {
  /* margin: 15px 0px;
  background: rgba(255, 255, 255, 0.12);
  border: 4px solid #222;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); */
  margin: 0 20px;
}

.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: #4caf50;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
}

/*********************************************
* NAVIGATION CONTROLS
*********************************************/
.reveal .controls {
  color: #4caf50;
}

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

.reveal .progress span {
  -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);
}

/*********************************************
* PRINT BACKGROUND
*********************************************/
@media print {
  .backgrounds {
    background-color: #fff;
  }
}


/* custom */

.reveal {
  font-family: "Open Sans";
  font-weight: 300;
}

.reveal * {
  text-align: left;
}

ul {
  /* list-style: none !important; */
  margin-left: 0;
  padding-left: 1em;
  padding-left: 0;
}

/* ul>li:before {
  display: inline-block;
  content: "-";
  width: 0.8em;
  margin-left: -1em;
} */

ul>li,
ol>li {
  font-size: 0.9em;
  /* line-height: 1.5; */
}

ul ul li {
  font-size: 0.8em;
}

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

.reveal p {
  /* font-size: 0.85em; */
  /* margin: 10px 0 10px 0; */
}

.reveal small {
  vertical-align: middle !important;
}

.reveal li code,
.reveal p code {
  padding-left: 2px;
  padding-right: 2px;
  background-color: rgb(241, 164, 48);
  border-radius: .2em;
}

.reveal pre {
  width: calc(100% - 20px);
  margin-left: 10px;
}

.reveal pre>code {
  font-size: 0.9em;
  font-family: "Roboto Mono";
  /* max-height: 500px; */
  max-height: 16em;
  padding: 16px;
}

.reveal p>code,
.reveal li>code,
.reveal td>code {
  font-size: 0.9em;
  white-space: nowrap;
}

.reveal span.hljs-comment {
  color: green !important;
}

.reveal code.txt {
  color: #333;
  background: #f8f8f8;
}

.reveal code.sh,
.reveal code.bash {
  border: 2px solid green !important;
}

.reveal code.yaml {
  border: 2px solid orange !important;
}

.reveal code.typescript {
  border: 2px solid blue !important;
}

.reveal code.javascript {
  border: 2px solid #f7df1e !important;
}

.reveal code.html {
  border: 2px solid orange !important;
}

.reveal code.cpp {
  border: 2px solid rgba(154, 104, 201, 0.7) !important;
}

.reveal code.css {
  border: 2px solid rgba(38, 77, 228, 0.7) !important;
}

.reveal table {
  margin: 0;
}

/* highlighting */

.highlight-fit {
  background-image: linear-gradient(45deg, oklch(63.32% .24 31.68), oklch(69.02% .277 332.77), oklch(53.18% .28 296.97));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lang-bash span.hljs-comment {
  color: #790;
  font-style: italic;
}

.lang-bash span.hljs-number {
  color: #333;
}

.hljs-property {
  color: #aa3e9f;
}

/* mermaid graphs */

.reveal pre code.mermaid {
  overflow: visible;
} 

/* .mermaid span.edgeLabel {
  padding: 0px 8px;
  margin-left: -4px;
} */

.mermaid .nodeLabel {
  /* font-size: 14px; */
  z-index: 99;
  margin: 5px 0 0 24px;
  display: inline-block;
}

.mermaid .nodeLabel.markdown-node-label p {
  margin: -2px 0 0 0;
  color: #000;
}

.mermaid foreignObject {
  overflow: visible;
  height: 100%;
  /* zedcat: looks better */
}

.mermaid {
  line-height: initial; /* zedcat: looks better */
  margin: 1em 0;
}

.reveal p code,
.reveal li code,
.reveal td code {
  background-color: rgb(255, 207, 161);
  border-radius: 7px;
  padding: 0 6px;
  color: #444;
}

.reveal .maxbox,
.reveal code.maxbox {
  border-top: 10px solid #808080;
  border-bottom: 10px solid #808080;
  padding: 0 0.2em;
  color: white;
  background: #333333;
  line-height: 2em;
}

.reveal .maxmsg,
.reveal code.maxmsg {
  border-radius: 10px;
  padding: 0.05em 0.2em 0.2em 0.2em;
  color: white;
  background: #606266;
  line-height: 0em;
}

.reveal section img[alt=howard-angus-vocab] {
  width: 90%;
  border: none;
  background: none;
}
.reveal section img[alt=node] {
  width: 20%;
  border: none;
  background: #333;
  padding: 30px;
}

.reveal .slide-background-content {
  /* background-size: contain; */
  opacity: 0.07777;
}

.reveal .bg-cover .slide-background-content {
  background-size: cover;
}

.reveal .bat-spectro .slide-background-content {
  background-size: cover;
  background-position-x: 0%;
  opacity: 1;
}


.col-2 ul {
  column-count: 2;
  break-inside: avoid;
}
.col-2 ul li {
  break-inside: avoid;
}

/* two column support */
.left-col, col-l {
	margin: -10px 0 15px 0;
	text-align: left;
	float: left;
	z-index:-10;
	width:49%;
  font-size: 0.85em;
	line-height: 1.5;
}

.right-col, col-r {
	margin: -10px 0 15px 0;
	float: right;
	text-align: left;
	z-index:-10;
	width:49%;
	font-size: 0.85em;
	line-height: 1.5;
}

.col-span {
  clear: both;
}


/* use with <!-- .element: class="marked" --> */
.marked {
  background-color: #ff4081;
  padding: 0 0.25em;
}

/* .reveal section img {
  border: none;
} */

/* special lists */

.reveal ul.special-list {
  margin: 0;
  padding: 0;
  list-style: none;

  display: grid;
  margin: 0;

}

.reveal ul.special-list-2 {
  grid-template-columns: 1fr 1fr;
  column-gap: 6%;
}

.reveal ul.special-list-3 {
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 6%;
}

.special-list li {
  background-color: rgb(157, 175, 246);
  margin: 0;
  padding: 0;
  list-style: none;
}

.special-list>li>strong {
  /* background: linear-gradient(336deg, rgba(219,217,240,1) 0%, rgba(212,212,246,0.7343531162464986) 35%, rgba(207,243,251,1) 100%); */
  /* background: #00f; */
  padding: 7px 10px;
  display: table;
  font-size: smaller;
  /* width: 100%; */
}

.special-list li ul {
  /* width: 100%; */
  height: 100%;
  background-color: rgba(255,255,255,0.3);
  list-style-type: none;
  margin: 0;
  padding: 7px 10px;
}

.special-list li ul li {
  background-color: transparent;
  font-size: 0.75em;
}

.special-list-tall li ul li {
  margin: 8px 0;
}

.special-list-2>li:nth-child(1) {
  background-color: rgb(181, 201, 246);
}

.special-list-3>li:nth-child(1) {
  background-color: rgb(191, 232, 247);
}
.special-list-3>li:nth-child(2) {
  background-color: rgb(196, 181, 246);
}
.special-list-3>li:nth-child(3) {
  background-color: rgb(237, 197, 247);
}