* {
  margin: 0;
  padding: 0;
}

body {
  color: #FFF;
  font-family: "Roboto Slab";
}

#three-container {
  height: 65vh;
  width: 50vw;

  position: absolute;
  left: 0;
  top: 0;
}

#two-container {
  height: 65vh;
  width: 50vw;

  position: absolute;
  left: 50vw;
  top: 0;
}

#controls {
  background-color: #222;
  box-sizing: border-box;
  height: 35vh;
  width: 100vw;
  padding: 1em;

  position: absolute;
  top: 65vh;
}

#controls-left {
  position: absolute;
  left: 0;
}

#controls-right {
  position: absolute;
  left: 50vw;
  padding-left: 1em;
}

table {
  border-collapse: separate;
  border-spacing: 1em .5em;
}

th {
  text-align: right;
  vertical-align: top;
}

#function-input, input[type="number"] {
  background-color: #333;
  border: 0 none transparent;
  color: #FFF;
  padding: 4px;
  width: 20em;
}

input[type="number"] {
  font-size: 1em;
}

#function-input {
  width: 20em;
}

#graph-text, #disks-text {
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
}

#graph-text {
  color: #00AEFF;
}

#disks-text {
  color: #5CC26D;
}

#toggle-graph {
  cursor: pointer;
  vertical-align: top;
}

#animate {
  background: #AF1866;
  border: 0 none transparent;
  border-radius: 2px;
  color: #FFF;
  cursor: pointer;
  display: block;
  font-size: 2em;
  margin: 0 auto;
  padding: .1em .2em;
  text-align: center;
  vertical-align: middle;
}

#animate:active {
  background-color: #8F0046;
}

#slices-range {
  display: inline-block;
  width: 20em;
}

#slices-number {
  display: inline-block;
  width: 4ch;
}

/* get MathJax to stop being a dumbass */
.MathJax:focus {
  outline: none;
}

.MathJax :link {
  font-size: 0.9em;
  font-weight: normal;
}

small {
  font-size: 0.1em;
  vertical-align: top;
}
