html {
  --math-color: #325bba;
  --aside-color: #808080;
  --aside-math-color: #778bba;
  --line-thickness: 0.094em;
}

.content {
  width: 45rem;
  max-width: 100%;
  margin-inline: auto;
}

.aside-container {
  position: relative;
}

.content {
  font-size: 16px;
  font-family: "Fira Sans", sans-serif;
}

strong {
  font-weight: 500;
}

h1, h2 {
  font-family: "Playfair Display", "Fira Sans", sans-serif;
  font-weight: 600;
}

.MathJax {
  color: var(--math-color);
  max-width: 100% !important;
  overflow-x: auto;
  overflow-y: hidden;
  font-size: 100% !important;
}

aside {
  position: absolute;
  left: 100%;
  top: 0;
  width: 20rem;
  color: var(--aside-color);
  --math-color: var(--aside-math-color);
  margin-top: -1rem;
  margin-left: 1rem;
}

code {
  font-family: "Fira Code", monospace;
  font-variant-ligatures: none;
  color: purple;
}

a {
  color: black;
  text-underline-offset: 0.2em;
  text-decoration-thickness: var(--line-thickness);
}

a:hover {
  color: white;
  background-color: black;
  text-decoration-color: black;
}

hr {
  height: var(--line-thickness);
  color: grey;
  background-color: grey;
  border: none;
}

summary {
  color: var(--aside-color);
}

details > p {
  margin-left: 14px;
}

@media screen and (max-width: 1400px) {
  aside {
    position: unset;
    left: unset;
    top: unset;
    width: 20rem;
    margin-top: unset;
    margin-left: auto;
    text-align: right;
    margin-right: 0;
  }
}

