body {
  background: #000;
  color: #fff;
  scroll-y: none;
  overflow: hidden;
  font-family: "ubuntu mono", monospace;
  font-size: 24pt;
}
::-webkit-scrollbar {
  background-color: #222;
}
::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
  background-color: #111;
  height: 8px;
  width: 8px;
}
::-webkit-scrollbar-thumb:vertical {
  background-color: #444;
}
::-webkit-scrollbar-thumb:horizontal {
  background-color: #444;
}
.scrollbars {
  overflow-y: auto;
}
.scrollbars::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.scrollbars::-webkit-scrollbar-button:start:decrement,
.scrollbars::-webkit-scrollbar-button:end:increment {
  display: block;
  height: 0;
  background-color: transparent;
}
.scrollbars::-webkit-scrollbar-track-piece {
  -webkit-border-radius: 0;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
}
.scrollbars::-webkit-scrollbar-thumb:vertical {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-border-radius: 4px;
}
.scrollbars::-webkit-scrollbar-thumb:horizontal {
  width: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-border-radius: 4px;
}
.about {
  display: none;
}
#app {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}
#app #gl {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 416px;
  z-index: 20;
}
#app #ex {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: 10;
  cursor: pointer;
}
#app #ex.has-controls {
  left: 417px;
}
#app #ex.has-sx {
  top: 30%;
}
#app #fx {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}
#app #fx.has-controls {
  left: 417px;
}
#app #fx.has-sx {
  top: 30%;
}
#app #gx {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}
#app #gx.has-controls {
  left: 417px;
}
#app #gx.has-sx {
  top: 30%;
}
#app #sx {
  cursor: pointer;
  position: absolute;
  height: 30%;
  top: 0;
  right: 0;
  left: 0;
  background: #000;
}
#app #sx.has-controls {
  left: 416px;
}
#app .expose {
  position: absolute;
  width: 48px;
  height: 48px;
  line-height: 48px;
  font-size: 32px;
  text-align: center;
  cursor: pointer;
  z-index: 100;
  color: #999;
}
#app .expose.active {
  left: auto;
  right: 0;
}
#app .expose:hover {
  color: #fff;
}
#app .expose.expose-params {
  top: 0;
  left: 0;
}
#app .expose.expose-params.expose-active {
  color: #fff;
}
#app .expose.expose-help {
  top: 0;
  right: 0;
}
#app .expose.expose-help.expose-active {
  left: auto;
  right: 0;
}
#app .title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  color: #0f0;
  font-size: 14pt;
  padding: 16px;
  font-weight: bold;
}
#app .title.title-large {
  font-size: 36pt;
}
#app .title a {
  color: #0f0;
  text-decoration: none;
}
#app .title a:hover {
  text-decoration: underline;
}
#app #params {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 416px;
  padding-top: 48px;
  height: auto;
  border-right: 1px solid #222;
  background: rgba(0, 0, 0, 0.75);
}
#app #params p {
  margin: 8px 0 8px 0;
  font-size: 10pt;
  color: #0f0;
  text-align: center;
}
#app #params p a {
  color: #0f0;
  text-decoration: none;
}
#app #params p a:hover {
  color: #fff;
  text-decoration: underline;
}
#app #params .restart {
  margin: 16px 8px;
}
#app #params button {
  font-family: "ubuntu mono", monospace;
  margin: 0 8px;
  padding: 12px;
  width: 160px;
  font-size: 12pt;
  text-align: center;
  background: #111;
  color: #0ff;
  border: none;
  cursor: pointer;
}
#app #params button:hover {
  color: #fff;
  background: #222;
}
#app #options {
  overflow-y: auto;
  position: absolute;
  top: 64px;
  left: 0;
  bottom: 0;
  width: 416px;
  height: auto;
  border-right: 1px solid #222;
}
#app #options::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
#app #options::-webkit-scrollbar-button:start:decrement,
#app #options::-webkit-scrollbar-button:end:increment {
  display: block;
  height: 0;
  background-color: transparent;
}
#app #options::-webkit-scrollbar-track-piece {
  -webkit-border-radius: 0;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
}
#app #options::-webkit-scrollbar-thumb:vertical {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-border-radius: 4px;
}
#app #options::-webkit-scrollbar-thumb:horizontal {
  width: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-border-radius: 4px;
}
#app #options h3 {
  display: block;
  margin: 0;
  clear: both;
  border-top: 2px solid #222;
  padding: 8px;
  font-size: 18px;
}
#app #options .opts {
  display: table;
  margin: 0;
  padding: 0;
  display: block;
}
#app #options .opts .opt {
  display: inline-block;
  margin: 4px;
  width: 192px;
  height: 40px;
  float: left;
  position: relative;
  margin-bottom: 16px;
}
#app #options .opts .opt.opt-wide {
  width: 394px;
  height: 108px;
}
#app #options .opts .opt .value {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 8px;
  font-size: 11pt;
  text-align: right;
  color: #999;
}
#app #options .opts .opt label {
  z-index: 1;
  position: absolute;
  top: 2px;
  left: 6px;
  font-size: 9pt;
  text-align: right;
  color: #999;
}
#app #options .opts .opt input {
  font-family: "ubuntu mono", monospace;
  position: absolute;
  top: 0;
  left: 4px;
  width: 192px;
  padding: 8px 0;
  font-size: 11pt;
  text-align: right;
  background: none;
  color: #fff;
  border: none;
}
#app #options .opts .opt textarea {
  font-family: "ubuntu mono", monospace;
  position: absolute;
  top: 20px;
  left: 4px;
  width: 366px;
  height: 64px;
  padding: 8px;
  font-size: 11pt;
  background: none;
  color: #ccc;
  background: #111;
  border: none;
  border: 1px solid #333;
}
#app #options .opts .opt:hover input {
  background: #111;
}
#content {
  overflow-y: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 32px;
  z-index: 16;
}
#content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
#content::-webkit-scrollbar-button:start:decrement,
#content::-webkit-scrollbar-button:end:increment {
  display: block;
  height: 0;
  background-color: transparent;
}
#content::-webkit-scrollbar-track-piece {
  -webkit-border-radius: 0;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
}
#content::-webkit-scrollbar-thumb:vertical {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-border-radius: 4px;
}
#content::-webkit-scrollbar-thumb:horizontal {
  width: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-border-radius: 4px;
}
#content.has-controls {
  left: 417px;
}
#content .index {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#content .index .color-cycle {
  color: hsl(0, 0%, 100%);
}
#content .index a {
  text-decoration: none;
}
#content .index h1 a {
  display: block;
  text-decoration: none;
  color: #0f0;
}
#content .index h2 {
  font-size: 80%;
}
#content .index p {
  margin-top: 32px;
}
#content .index p a {
  color: #0f0;
}
#content .index a {
  color: #fff;
}
#content .index ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#content .index ul li {
  display: inline-block;
  width: 200px;
  margin: 8px;
  padding: 0;
}
#content .index ul li a {
  background: rgba(0, 0, 0, 0.65);
  display: block;
  padding: 24px 0;
  font-size: 24px;
  border: 2px solid #066;
  text-decoration: none;
  color: #999;
}
#content .index ul li a:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.95);
  border: 2px solid #0ff;
}
#help {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow-y: scroll;
  background: rgba(0, 0, 0, 0.65);
  z-index: 64;
}
#help .help-content {
  max-width: 720px;
  margin: 64px auto;
}
#help .help-content h1 {
  font-size: 36pt;
  text-align: center;
}
#help .help-content a {
  color: #0ff;
}

/* cribbed from http://codepen.io/collection/DgYaMj/ */
input[type='range'] {
  display: block;
  border: none;
  margin: 0 auto;
  padding: 0;
  width: 34.25em;
  height: 2em;
  opacity: .7;
  background: nonerepeating-linear-gradient(90deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.32) 1px, transparent 1px, transparent 3em) no-repeat 50% 50% content-box;
  background-size: calc(27em + 1px) 100%;
  font-size: 1em;
  cursor: pointer;
}
input[type='range'], input[type='range']::-webkit-slider-runnable-track, input[type='range']::-webkit-slider-thumb {
                                                                           -webkit-appearance: none;
                                                                         }
input[type='range']::-webkit-slider-runnable-track {
  position: relative;
  width: 34.25em;
  height: 0.75em;
  border-radius: 0.25em;
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.32);
}
input[type='range']::-webkit-slider-runnable-track {
  position: relative;
  width: 34.25em;
  height: 0.75em;
  border-radius: 0.25em;
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.32);
}
.js input[type='range']::-webkit-slider-runnable-track {
  background: linear-gradient(#ffffff, #ffffff) no-repeat rgba(255, 255, 255, 0.32);
}
input[type='range']::-moz-range-track {
  width: 34.25em;
  height: 0.75em;
  border-radius: 0.25em;
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.32);
}
input[type='range']::-ms-track {
  border: none;
  width: 34.25em;
  height: 0.75em;
  border-radius: 0.25em;
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.32);
  color: transparent;
}
input[type='range']::-moz-range-progress {
  height: 0.75em;
  border-radius: 0.25em;
  background: #fff;
}
input[type='range']::-ms-fill-lower {
  border-radius: 0.25em;
  background: #fff;
}
input[type='range']::-webkit-slider-thumb {
  margin-top: -0.25em;
  box-sizing: border-box;
  border: solid 0.125em #606;
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  background: #000;
}
input[type='range']::-webkit-slider-thumb:hover {
  border: solid 0.125em #c0c;
}
input[type='range']::-moz-range-thumb {
  box-sizing: border-box;
  border: solid 0.125em #0ff;
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  background: #000;
}
input[type='range']::-ms-thumb {
  box-sizing: border-box;
  border: solid 0.125em #0ff;
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  background: #000;
}
input[type='range']::-webkit-slider-runnable-track:before, input[type='range'] /deep/ #track:before {
                                                             position: absolute;
                                                             bottom: 100%;
                                                             left: 0;
                                                             color: #fff;
                                                             line-height: 1.5;
                                                           }
[class*=webkit] input[type='range']::-webkit-slider-thumb:before, [class*=webkit] input[type='range']::-webkit-slider-thumb:after, [class*=webkit] input[type='range'] /deep/ #thumb:before, [class*=webkit] input[type='range'] /deep/ #thumb:after {
                                                                                                                                                                                               position: absolute;
                                                                                                                                                                                               bottom: 0;
                                                                                                                                                                                               color: #fff;
                                                                                                                                                                                               line-height: 1;
                                                                                                                                                                                             }
[class*=webkit] input[type='range']::-webkit-slider-thumb:before, [class*=webkit] input[type='range'] /deep/ #thumb:before {
                                                                    box-sizing: border-box;
                                                                    left: 100%;
                                                                    padding-right: .0625em;
                                                                    width: 2em;
                                                                    transform: translateY(8px);
                                                                    font-size: 3em;
                                                                    text-align: right;
                                                                  }
[class*=webkit] input[type='range']::-webkit-slider-thumb:after, [class*=webkit] input[type='range'] /deep/ #thumb:after {
                                                                   left: calc(100% + 8em);
                                                                   font-size: 0.75em;
                                                                 }
.js input[type='range']:nth-of-type(1)::-webkit-slider-runnable-track {
  background-size: 9.09091% 100%;
}
.js input[type='range']:nth-of-type(3)::-webkit-slider-runnable-track {
  background-size: 9.09091% 100%;
}
input[type='range']:focus {
  outline: none;
  opacity: .99;
}
