/* Fonts */

@import url('https://fonts.googleapis.com/css2?family=Sen:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inconsolata&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rouge+Script&display=swap');

/* General */

body {
  font-family: "Sen", sans-serif;
  color: #222;
}

.remark-slide-content {
  font-size: 28px;
  padding: 1em 2em;
}

.remark-slide-number {
  font-family: "Sen", sans-serif;
  color: #222;
  opacity: 1;
}

.remark-container {
  background: #fff;
}

.remark-slide-container {
  background: #fff; /* Full screen background */
}

.remark-slide-scaler {
  -webkit-box-shadow: none; /* Remove slide shadows */
}

/* Headings */

h1, h2, h3, h4, h5, h6 {
  font-family: "Sen", sans-serif;
  font-weight: 300;
  margin: 0.4em 0em;
}

.remark-slide-content h1 {
  font-family: "Rouge Script", sans-serif;
  font-size: 3em;
  color: #000;
}
.remark-slide-content h2 {
  font-size: 1.6em;
  color: #000;
}
.remark-slide-content h3 {
  font-size: 1.4em;
  color: #000;
}
.remark-slide-content h4 {
  font-size: 1.2em;
  color: #222;
}
.remark-slide-content h5 {
  font-size: 1em;
  color: #222;
  text-align: center;
}
.remark-slide-content h6 {
  font-size: 1em;
  text-align: right;
}

blockquote {
  border-left: solid 3px #999;
  padding-left: 1em;
}

a, a:link, a:visited, a:focus, a:hover, a:active{
  color: #999;
}

/* Custom styles */

.small { font-size: 0.8em; }

.smaller { font-size: 0.6em; }

.compact td {
  font-size: 0.6em;
  line-height: 1em;
  padding: 0px;
}

.compact th {
  font-size: 0.6em;
  padding: 0px;
}

.scroll {
  height: 90%;
  overflow-y: scroll;
}

.footnote {
  font-size: 0.6em;
  bottom: 3em;
  position: absolute;
  padding-right: 56px; /* 2em*28px */
}

.toc h1 {
  font-size: 1.4em;
  margin: 0.4em;
}

.toc h2 { font-size: 1.4em;
  margin: 0.4em; 
}

.toc p {
  font-size: 1.4em;
  margin: 0em;
}


/* Inverse */

.inverse {
  background-color: #222;
}
.inverse h1, .inverse h2, .inverse h3, .inverse p {
  font-weight: 300;
  color: #fff;
}
.inverse .remark-slide-number {
  display: none;
}

/* Title slide */

.title-slide {
  background-color: #fff;
}
.title-slide h1 {
  color: #317873;
  text-align: left;
  margin: 0em;
}
.title-slide h2 {
  color: #000;
  margin: 0em 0em 1em 0em; /* Gap below subtitle */
  text-align: left;
}
.title-slide h3 {
  color: #222;
  font-size: 1.2em;
  text-align: left;
}

/* Clean */

.clean .remark-slide-number {
  display: none;
}

/* Two-column layout */

.pull-left {
  float: left;
  width: 47%;
}

.pull-right {
  float: right;
  width: 47%;
}
.pull-right ~ * {

  clear: both;
}

/* Table */

.remark-slide table {
  font-size: 0.8em;
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}

.remark-slide table thead th {
  border-bottom: 1px solid #ddd;
}

th, td {
  padding: 5px;
}

/* Code */

.remark-code, .remark-inline-code {
  font-family: "Inconsolata", monospace;
  font-size: 0.6em;
}
.remark-code-line-highlighted {
  background-color: #afbfcf
}

/* Media */

img, video, iframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

@page { margin: 0; }

@media print {
  .remark-slide-scaler {
    width: 100% !important;
    height: 100% !important;
    transform: scale(1) !important;
    top: 0 !important;
    left: 0 !important;
  }
