body {
  font-family: "Benton Sans", "Helvetica Neue", helvetica, arial, sans-serif;
  line-height: 1.5;
  max-width: 800px;
  margin: 3em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'IBM Plex Mono', monospace;
}

h1 { 
  color: #D33D8F;
}

h2, h3, h4 {
  margin-top: 32px;
}


hr {
  margin: 44px auto;
  width: 100px;
  height: 6px;
  background: #D33D8F;
  border: none;
  box-shadow: none;
}

.CodeMirror {
  height: auto;
  padding: 14px;
  font-size: 16px;
  border: 5px solid #F5DDEE !important;
  margin-top: -5px;
}

p code, li code {
  color: #5671D0;
  font-size: 18px;
}

a:link, a:visited {
  color: black;
  font-weight: bold;
  display: inline-block;
}

.controls {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

button {
  -webkit-appearance: none;
  display: inline-block;
  padding: 6px 14px;
  font-size: inherit;
  text-transform: uppercase;
  cursor: pointer;
  background: white;
  color: #292A36;
  min-width: 100px;
  border: 4px solid #F5DDEE;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 14px;
}

.controls > div {
  padding: 6px 14px;
  text-transform: uppercase;
  background: #F5DDEE;
  color: #292A36;
  border: 4px solid #F5DDEE;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  font-size: 14px;
}

.canvas-container {
  border: 5px solid #F5DDEE !important;
  overflow-x: auto;
  margin-top: -5px;
}

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

.toc {
  list-style-type: none;
  margin: 0;
  padding: 0;
  border-left: 8px solid #F5DDEE;
  padding-left: 14px;
  margin-top: 24px;
  
}

.toc li a {
  font-weight: normal;
  text-decoration: none;
  margin-bottom: 4px;
}

ul ul {
  margin-left: 44px;
}

.content > textarea {
  display: none;
}

@media (max-width: 460px) {
  body {
    margin: 1em;
  }
  .glitchButton .glitchButtonElement {
    margin: 0 !important;
    padding-right: 14px !important;
  }
  .glitchButton img {
    width:20px;
  }
  h1 {
    font-size: 1.8em;
  }
}