img {
  max-width: 65%;
  max-height: 80%;
}
img.vertical {
  max-width: 50%;
}
@media (max-width: 1200px) {
  img {
    max-width: 90%;
  }
  img.vertical {
    max-width: 65%;
  }
}

body {
  text-align: center;
  padding-bottom: 150px;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans",
    "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
}

.toc {
  position: fixed;
  width: 254px;
  right: 0;
  text-align: left;
  background-color: white;
}

@media (max-width: 1200px) {
  .toc {
    font-size: 0.6em;
    width: 166px;
  }
}

@media (max-width: 600px) {
  .toc {
    display: none;
  }
}

.toc li {
  margin: 3px 2px;
}

.toc * {
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
}

/* TOC lib related */
/* @import url("https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.27.4/tocbot.css"); */

.toc {
  overflow-y: auto;
}
.toc > .toc-list {
  overflow: hidden;
  position: relative;
}
.toc > .toc-list li {
  list-style: none;
}
.toc-list {
  margin: 0;
  padding-left: 10px;
}
a.toc-link {
  color: currentColor;
  height: 100%;
}
.is-collapsible {
  max-height: 1000px;
  overflow: hidden;
  transition: all 300ms ease-in-out;
}
.is-collapsed {
  max-height: 0;
}
.is-position-fixed {
  position: fixed !important;
  top: 0;
}
.is-active-link {
  font-weight: 700;
}
.toc-link::before {
  background-color: #eee;
  content: " ";
  display: inline-block;
  height: inherit;
  left: 0;
  margin-top: -1px;
  position: absolute;
  width: 2px;
}
.is-active-link::before {
  background-color: #54bc4b;
}
