body {
  margin: auto;
  background-color: #ffdd99;

  font-family: "Source Sans Pro", sans-serif;
  font-size: 100%;
  max-width: 40em;
}

#top-banner {
  padding-top: 0.25em;
}

h1 {
  color: #e60000;
  font-size: 2.7em;
  text-align: center;
  font-weight: bold;
}

h2 {
  color: #0000e6;
  font-size: 2.0em;
  text-align: center;
  font-weight: bold;
}

h3 {
  color: #009933;
  font-size: 1.75em;
  text-align: center;
  font-weight: bold;
}

h4 {
  color: #0000e6;
  font-size: 1.5em;
  text-align: left;
  font-weight: bold;
}

h5 {
  color: #0000e6;
  font-size: 1.5em;
  text-align: center;
  font-weight: bold;
  padding-top: 0em;
}

/*for code links*/
h6 {
  color: #0000e6;
  font-size: 0.9em;
  text-align: right;
  padding-top: 0.2em;
  padding-right: 0.2em;
  margin: 0em;
  font-weight: normal;
}

p {
  color: #0000e6;
  font-size: 1.0em;
  text-align: left;
  padding-top: 0.6em;
  padding-bottom: 0.6em;
  /*text-indent: 1em;*/
  margin-top: 0em;
  margin-bottom: 0em;
}

.txt_block {
    padding-top: 2em;
    padding-bottom: 2em;
}

ul {
  font-size: inherit;
  color: #0000e6;
  font-size: 1.0em;
  text-align: left;
}

.special-p {
    color: #009933;;
}

a {
  color: inherit;
  /*text-decoration: inherit;*/
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

code {
  color: #0000e6;
  font-size: 1.0em;
  text-align: left;
}

.code-pre {
    padding-bottom: 0.5em;
    padding-left: 0.5em;
}

.para-code-scroll {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    border: 2px solid #0000e6;
    margin-top: 1.6em;
    margin-bottom: 1.6em;
}

.inline-code-scroll {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    border: 2px solid #0000e6;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

.canvas-container {
    text-align: center;
    width: 100%;
    padding-top: 1.0em;
    padding-bottom: 1.0em;
}

canvas {
    display: inline-block;
    image-rendering: pixelated;
}

pre {
  color: inherit;
  font-size: inherit;
}

.diagram_text {
    color: inherit;
}

.mjx-chtml.MJXc-display{
  margin: 0;
}

.button-container {
  display:flex;
  justify-content:center;
  align-items:center;
    width: 100%;
}

.button {
    /*-webkit-appearance: none;
    appearance: none;*/
    width: 1.7em;
    height: 1.7em;
    border-radius: 50%;
    background-color: #e60000;
    border: none;
    /*outline: none;*/
    cursor: pointer;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    display: inline-block;
    color: #ffdd99;
    /*text-align: center;
    font-size: auto;
    place-items: center;*/
}

hr {
    width: 80%;
    text-align: center;
    background-color: #0000e6;
    border: none;
    height: 0.1em;
}

.special-formula {
    display: block;
    text-align: center;
    color: black;
    padding-top: 1em;
    padding-bottom: 1em;
    /*height: 9em;*/
}

.special-formula-span {
    height: 100%;
    font-size: 1.2em;
}

/*sliders*/

.slide-container {
    width: 100%;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    height: 0.1em;
    border: none;
    height: auto;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 0.14em;
    border-radius: 0.1em;
    background: #0000e6;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    background: #e60000;
    outline: none;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    background: #e60000;
    outline: none;
    cursor: pointer;
}