@font-face {
  font-family: llibertine;
  src: url(font.ttf);
}

html {
  color: #1a1a1a;
  line-height: 1.5;
}

body {
  margin: 0 auto;
  max-width: 43em;
  padding: 2rem;
  hyphens: auto;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-size: 1.1em;
  font-family: llibertine, serif;
  line-height: 1.5;
}

@media (max-width: 600px) {
  body {
    font-size: 1em;
    padding: 1rem;
  }

  h1 {
    font-size: 1.8em;
  }
}

@media print {
  html {
    background-color: #fff;
  }

  body {
    background-color: transparent;
    color: #000;
    font-size: 12pt;
    line-height: 1.5;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3,
  h4 {
    page-break-after: avoid;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.2;
}

h1 {
  font-size: 2.2em;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 1.8em;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.4em;
}

h4 {
  font-size: 1.2em;
}

h5,
h6 {
  font-size: 1em;
  font-style: italic;
}

h6 {
  font-weight: 400;
}

p {
  margin: 0 0 1.5em;
}

a {
  color: #1a1a1a;
}

img,
svg {
  max-width: 100%;
  height: auto;
  margin: 1em 0;
}

blockquote {
  margin: 1.5em 0;
  padding-left: 1em;
  border-left: 2px solid #ccc;
  color: #444;
  font-style: italic;
}

code {
  font-family: monospace;
  background: #f1f1f1;
  padding: 0.2em 0.4em;
  border-radius: 0.2em;
  font-size: 0.9em;
}

pre {
  margin: 1.5em 0;
  overflow: auto;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 1em;
  border-radius: 0.2em;
}

pre code {
  display: block;
  padding: 0;
  overflow: visible;
  overflow-wrap: normal;
  white-space: pre;
  line-height: 1.25;
}

ul,
ol {
  margin: 1em 0;
  padding-left: 2em;
}

li {
  margin-bottom: 0.5em;
}

li>ol,
li>ul {
  margin-top: 0.5em;
}

hr {
  background-color: #1a1a1a;
  border: none;
  height: 1px;
  margin: 2em 0;
}

table {
  margin: 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;
}

th {
  padding: 0.5em;
  text-align: left;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
}

td {
  padding: 0.5em;
  vertical-align: top;
  border: 1px solid #ccc;
}

header {
  margin-bottom: 3em;
  text-align: center;
}

#TOC ul {
  padding-left: 1.3em;
}

#TOC>ul {
  padding-left: 0;
}

#TOC a:not(:hover) {
  text-decoration: none;
}

div.columns {
  display: flex;
  gap: min(4vw, 1.5em);
  margin: 1.5em 0;
}

div.column {
  flex: auto;
  overflow-x: auto;
}

div.hanging-indent {
  margin-left: 1.5em;
  text-indent: -1.5em;
}

ul.task-list {
  list-style: none;
}

ul.task-list li input[type="checkbox"] {
  width: 1.2em;
  margin: 0 0.5em 0.2em -1.5em;
  vertical-align: middle;
}

figure {
  text-align: center;
  margin: 2em 0;
  padding: 1em;
}

figure>embed {
  max-width: 100%;
}

figcaption {
  font-size: 0.9em;
  font-style: italic;
  margin-top: 0.6em;
}

figcaption::before {
  content: "Figure " counter(figure-counter-major) "." counter(figure-counter-minor) ": ";
}

body {
  counter-reset: figure-counter-major figure-counter-minor;
}

figure {
  counter-increment: figure-counter-minor;
}

nav[role="doc-toc"]>ul>li {
  font-weight: 700;
  margin-top: 1.2em;
}

nav[role="doc-toc"]>ul>li:first-child {
  margin-top: 0;
}

nav[role="doc-toc"]>ul>li>ul {
  font-weight: 400;
  margin-top: 0.3em;
}

::selection,
::-moz-selection {
  background: #eaeaea;
  color: black;
}

.graph-container {
  width: 100%;
  margin: 2em 0;
}

.table-container {
  margin: 1.5em 0;
  width: 100%;
  overflow-x: auto;
}

/**/
.reference-list {
  list-style-type: none;
  padding: 0;
}

.reference-item {
  display: flex;
  margin-bottom: 10px;
}

.reference-number {
  font-weight: bold;
  margin-right: 10px;
  min-width: 30px;
  text-align: right;
}

.reference-text {
  flex: 1;
}