* {
  box-sizing: border-box;
}

body {
  width: 98%;
  height: 100%;
  overflow: auto;
}

body {
  padding: 2em 2em 2em 13em;
  font-size: 16px;
  line-height: 1.6;
  font-family: "Roboto", sans-serif;
  text-align: justify;
  text-justify: inter-word;
}

.toc {
  position: fixed;
  /* background: #ccc; */
  left: 0;
  top: 2em;
  padding: 1em;
  width: 14em;
  height: 100vh;
  line-height: 2;
}
.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc ul ul {
  padding-left: 2em;
}
.toc li a {
  display: inline-block;
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.toc li.visible > a {
  color: #111;
  transform: translate(5px);
}

.toc-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.toc-marker path {
  transition: all 0.3s ease;
}

.contents {
  padding: 1em;
  max-width: 100%;
  font-size: 1.2em;
  font-family: "Frank Ruhl Libre", sans-serif;
}
.contents img {
  max-width: 100%;
}
.contents .code-block {
  white-space: pre;
  overflow: auto;
  max-width: 100%;
}
.contents .code-block code {
  display: block;
  background-color: #f9f9f9;
  padding: 10px;
}
.contents .code-inline {
  background-color: #f9f9f9;
  padding: 4px;
}
.contents h2,
.contents h3 {
  padding-top: 0;
}
figcaption {
  color: black;
  font-style: italic;
  padding: 2px;
  text-align: center;
}
table {
  border-collapse: collapse;
  border-style: hidden;
}
table td {
  border: 1px solid black;
}

@media screen and (max-width: 1200px) {
  body {
    font-size: 14px;
  }
}