html {
  color: #ffffff;
  background-color: #fdfdfd;
}
body {
  position: relative;
  margin: 0 auto;
  max-width: 36em;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
  hyphens: auto;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-size: 18px;
  font-family: Sans-serif;  
}
body p {
  position: relative;
  line-height: 32px;
}
body ul, ol {
  line-height: 34px;
}
.me {
  transition: 1s;
}

@media (max-width: 700px) {
  .me {
    transform: rotate(20deg);
    transition: 1s;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1.0em;
    padding: 24px;
  }
  h1 {
    font-size: 1.8em;
  }
}
@media print {
  html {
    background-color: white;
  }
  body {
    background-color: transparent;
    color: black;
    font-size: 12pt;
  }
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  h2, h3, h4 {
    page-break-after: avoid;
  }
}
p {
  margin: 1em 0;
}
a {
  color: #a3bff2;
}
a:visited {
  color: #f3b2e0;
}
img {
  max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 1.4em;
}
h5, h6 {
  font-size: 1em;
  font-style: italic;
}
h6 {
  font-weight: normal;
}
ol, ul {
  padding-left: 1.7em;
  margin-top: 1em;
}
li > ol, li > ul {
  margin-top: 0;
}
blockquote {
  margin: 1em 0 1em 1.7em;
  padding-left: 1em;
  border-left: 2px solid #e6e6e6;
  color: #606060;
}
code {
  font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
  font-size: 90%;
  margin: 0;
  hyphens: manual;
  white-space: nowrap;
}
pre {
  margin: 1em 0;
  overflow-x: auto;
  padding: 10px;
  max-width: var(--content-width);
  background-color: rgba(0,0,0,255);
  border: 1px dashed rgb(50, 50, 50);
}
.sourceCode {
  overflow: auto;
}

hr {
  background-color: #1a1a1a;
  border: none;
  height: 1px;
  margin: 1em 0;
}
table {
  margin: 1em 0;
  border-collapse: collapse;
  width: 100%;
  overflow-x: auto;
  display: block;
  font-variant-numeric: lining-nums tabular-nums;
}
table caption {
  margin-bottom: 0.75em;
}
tbody {
  margin-top: 0.5em;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}
th {
  border-top: 1px solid #1a1a1a;
  padding: 0.25em 0.5em 0.25em 0.5em;
}
td {
  padding: 0.125em 0.5em 0.25em 0.5em;
}
header {
  margin-bottom: 4em;
  text-align: center;
}
footer {
  margin-top: 4em;
}
#TOC li {
  list-style: none;
}
#TOC ul {
  padding-left: 1.3em;
}
#TOC > ul {
  padding-left: 0;
}
#TOC a:not(:hover) {
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
    html {
      color: #eeeeff;
      background-color: #000;
    }
    a {
      color: #bfbcff;
    }
    a:visited {
      color: #f1b2ff;
    }
}

.footnote-wrapper {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.footnote-wrapper .tooltiptext {
  visibility: hidden;
  transition-delay: 0.2s;
  width: 32em;
  background-color: rgb(0, 0, 0);
  border-style: solid;
  border-width: 1px;
  border-radius: 8px;
  border-color: #fff;
  color: #fff;
  text-align: center;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  margin-left: -16em;
}

.footnote-wrapper:hover .tooltiptext {
  visibility: visible;
  transition-delay: 0.0s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.footer-div {
  display: flex;
}

.footer-div .previous {
  width:100%; text-align:left;
}

.footer-div .home {
  width:100%; text-align:center;
}

.footer-div .next {
  width:100%; text-align:right;
}

.small {
  font-size: 0.8em;
}

#canvas {
  position: fixed;
  background-color:#2c3047;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  z-index: -10;
}

@media (prefers-color-scheme: dark) {
  #canvas {
    background-color:#000;
  }
}