body {
  font-family: "Manrope", sans-serif;
  margin: 10px;
  background-color: #FCFCF2;
  color: #073642;
}

p {
  line-height: 22px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

h2, h3 {
  margin: 40px 0 20px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 20px;
}

b,
strong {
  font-weight: bold;
}

h1 {
  margin-bottom: 40px;
}

h1:first-child {
  text-align: right;
}

ul, ol {
  padding-left: 20px;
  margin-bottom: 0;
}

ul {
  list-style-type: square;
}

li {
  line-height: 1.6rem;
}

a {
  text-decoration: none;
  color: #6c71c4;
}

a:hover {
  text-decoration: underline;
  text-underline-position: under;
}

table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  text-align: left;
  border-collapse: collapse;
}

table caption, figcaption {
  font-size: 12px;
  font-style: italic;
  color: #93a1a1;
  padding-bottom: 10px;
}

hr {
  border: none;
  height: 1px;
  margin: 80px 0;
}

hr, table caption, tr {
  background-image: linear-gradient(
    to right,
    #93a1a1 23%,
    rgba(255, 255, 255, 0) 0%
  );
  background-position: bottom;
  background-size: 6px 1px;
  background-repeat: repeat-x;
}

tbody tr:last-of-type {
  background-image: none;
}

th, td {
  padding: 10px 20px;
}

th:first-child, td:first-child {
  padding-left: 0px;
}
th:last-child, td:last-child {
  padding-right: 0px;
}

blockquote, section {
  border-left: 1px dashed #93a1a1;
  padding-left: 20px;
  display: flow;
  overflow: hidden;
}

blockquote {
  margin: 0;
  font-style: italic;
  color: #657b83;
}

pre {
  margin: 20px 0;
}

code {
  color: #657b83;
  background: #fdf6e3;
  border-radius: 3px;
  padding: 3px;
}

pre code {
  font-size: 14px;
}

dt {
  font-weight: bold;
}

dd {
  margin-top: 5px;
  margin-bottom: 10px;
}

figure {
  margin: 0;
}

figure img {
  max-width: 100%;
}

section:first-of-type {
  margin-top: 80px;
}

section:not(:last-of-type) {
  margin-bottom: 80px;
}

section header {
  color: #93a1a1;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

section:last-of-type header {
  margin-bottom: 0;
}

section p:last-of-type {
  margin-bottom: 0;
}

section picture {
  display: inline-block;
  transform: rotate(-6deg);
}
section img {
  width: 300px;
  filter: brightness(95%);
  transform: rotate(9deg);
}

.footnotes {
  margin-top: 80px;
}

.footnotes hr {
  display: none;
}

.crossout {
  text-decoration: line-through;
}

@media (min-width: 800px) {
  body {
    margin: 20px auto;
    max-width: 800px;
  }

  table {
    width: auto;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    color: #e0e0e0;
    background-color: #013542;
  }

  blockquote {
    color: #c7c7c7;
  }

  code, .hljs {
    color: #c7c7c7;
    background: #002b36 !important;
  }

  img {
    opacity: .8;
    transition: opacity .3s ease-in-out;
  }
  
  img:hover {
    opacity: 0.9;
  }

  a {
    color: #A6AAFF;
  }
}
