/**
 * Black theme for reveal.js. This is the opposite of the 'white' theme.
 *
 * By Hakim El Hattab, http://hakim.se
 */
@import url(../../lib/font/source-sans-pro/source-sans-pro.css);

@import url('https://fonts.googleapis.com/css?family=Eczar');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC');
@import url('https://fonts.googleapis.com/css?family=Quicksand');
@import url('https://fonts.googleapis.com/css?family=Inconsolata');
@import url('https://fonts.googleapis.com/css?family=Alegreya');
@import url('https://fonts.googleapis.com/css?family=Merienda');

:root {
  --theme-color: #50c878;
  --text-color: #dfdfdf;
      --supplement-title-color: #b8b8b8;
  --strong-color: #ffc55a;
  --em-color: #87ceff;
  --link-color: #ffe77d;
  --hover-color: #00d0aa;
  --comment-color: #bfbfbf;
  --selection-fg-color: #f0f0f0;
  --selection-bg-color: #81c0ff;
  --title-color: ;
  --mark-color: #ffc55a;
  --code-color: #bdc9f0;
  --text-font-size: 1.1em;
  --comment-font-size: 0.6em;
  --reference-font-size: 0.7em;
}

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: #0f0f0f; }

/*********************************************
 * GLOBAL STYLES
 *********************************************/
body {
  background: #0f0f0f;
  background-color: #0f0f0f;

  background-image: url(logo.png);
  background-size: 6%;
  background-repeat: no-repeat;
  background-position: 1% 99%;
}

.reveal {
  font-family: 'Quicksand', 'Helvetica', sans-serif;
  font-size: 32px;
  font-weight: normal;
  color: var(--text-color); }

::selection {
  /*color: var(--selection-fg-color);*/
  background: var(--selection-bg-color);
  text-shadow: none; }

::-moz-selection {
  /*color: var(--selection-fg-color);*/
  background: var(--selection-bg-color);
  text-shadow: none; }

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

/*********************************************
 * HEADERS
 *********************************************/
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  margin: 0 0 15px 0;
  color: var(--text-color);
  font-family: 'Eczar', Helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.2em;
  letter-spacing: normal;
  text-shadow: none;
  word-wrap: break-word; }

/* Title */
.reveal h1 {
  font-family: "Alegreya";
  font-size: 3.6em;
  color: #e3e3e3;
  margin-bottom: 30px; }

/* Section */
.reveal h2 {
  font-size: 3.0em; }

/* Subsection */
.reveal h3 {
  font-size: 2.4em; }

/* Frame Title */
.reveal h4 {
  font-size: 1.6em;
  border-bottom: solid 1px;
  /*margin-left: 20px;*/
  text-align: left; }

/* Supplement Title */
.reveal h5 {
  font-size: 1.6em;
  border-bottom: solid 1px;
  /*margin-left: 20px;*/
  color: var(--supplement-title-color);
  text-align: left; }

/* Subtitle */
.reveal h6 {
  font-size: 1.2em;
  font-style: italic;
  color: #e3e3e3;
  margin-top: 15px; }

.reveal h1 {
  text-shadow: none; }

/*********************************************
 * OTHER
 *********************************************/
.reveal p {
  font-size: var(--text-font-size);
  /*margin: 0.5em;*/
  margin-left: 10px;
  line-height: 1.4em;
  text-align: left; }

/* Ensure certain elements are never larger than the slide itself */
.reveal img,
.reveal video,
.reveal iframe {
  max-width: 90%;
  max-height: 90%; }

.reveal strong,
.reveal b {
  font-weight: bold; }

.reveal em {
  font-style: italic; }

.reveal ol,
.reveal dl,
.reveal ul {
  /*display: inline-block;*/
  margin-left: 10px;
  text-align: left;
  line-height: 1.4em;
  margin: 0.2em 0 0 1em;
  }

.reveal ol {
  list-style-type: decimal; }

.reveal ul {
  list-style-type: disc; }

.reveal ul ul {
  list-style-type: circle; }

.reveal ul ul ul {
  list-style-type: square; }

.reveal ul ul,
.reveal ul ol,
.reveal ol ol,
.reveal ol ul {
  font-size: 0.8em;
  display: block;
  margin-left: 40px; }

.reveal dt {
  font-weight: bold; }

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

/* 
.reveal blockquote {
  font-size: 70%;
  text-align: left;
  display: block;
  position: relative;
  width: 100%;
  margin: 0px;
  padding: 5px 5px 5px 5px;
  margin: 10px 5px 10px 5px;
  font-style: italic;
  background: rgba(127, 127, 127, 0.05);
  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 q {
  font-style: italic; }

.reveal pre {
  display: block;
  position: relative;
  width: 90%;
  margin: 10px auto;
  text-align: left;
  font-size: 0.8em;
  font-family: 'Inconsolata', monospace;
  line-height: 1.2em;
  word-wrap: break-word;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }

.reveal code {
  font-family: 'Inconsolata', monospace;
  color: var(--code-color);
  font-size: 110%;
  text-transform: none; }

.reveal pre code {
  color: var(--text-color);
  display: block;
  padding: 5px;
  overflow: auto;
  max-height: 400px;
  font-size: 100%;
  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.3em 1.0em 0.3em 1.0em;
  border-bottom: 1px solid; }

.reveal table td {
  font-size: 80%;
}

.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: var(--link-color);
  font-family: "Georgia";
  font-style: italic;
  text-decoration: none;
  -webkit-transition: color .15s ease;
  -moz-transition: color .15s ease;
  transition: color .15s ease; }

.reveal a:hover {
  color: var(--hover-color);
  text-shadow: none;
  border: none; }

.reveal .roll span:after {
  color: #fff;
  background: #068de9; }

/*********************************************
 * IMAGES
 *********************************************/
.reveal section img {
  /* margin: 15px 0px; */
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 10vw;
  /*margin: 0px;*/
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid #aaa;
  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: var(--theme-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }

/*********************************************
 * NAVIGATION CONTROLS
 *********************************************/
.reveal .controls {
  color: var(--theme-color); }

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

.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: #222; } }

/*********************************************
 * MATH Mode
 *********************************************/

.MathJax_Display {
  /* font-size: 60%; */
}

/*********************************************
 * Self Defined
 *********************************************/
#signature {
  font-family: "Merienda";
}
.Mark {
  color: var(--mark-color);
  font-weight: bold;
}

.Highlight {
  background-color: #d06f89;
}

.reveal .Comment {
  color: var(--comment-color);
  font-style: italic;
  font-size: var(--comment-font-size);
}

.reveal strong,
.reveal b {
    color: var(--strong-color);
}

.reveal em {
    color: var(--em-color);
}

.reveal blockquote {
    font-size: var(--comment-font-size);
    font-style: italic;
}

.frame {
  height: 95%
}

