html, body {
  height: 100%;
  width: 100%;
  margin: 0;
}

body {
  font-size: 100%;
  background-color: #000000;
  padding: 0;
  border: 0;
  font-family: sans-serif;
}

canvas {
  cursor: -webkit-grab; cursor: -moz-grab;
}

#menu-button {
  position: absolute;
  top: 0;
  left: 250px;
  background: #444444;
  border: 0;
  outline: none;
  width: 50px;
  height: 50px;
  color: white;
  font-size: 1.75em;
  display: none;
  padding: 0;
  margin: 0;
  z-index: 1;
}

#scene {
  position: absolute;
  top: 0;
  left: 250px;
  bottom: 0;
  right: 0;
  overflow: hidden;
}

.controls {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 250px;
  box-sizing: border-box;
  background: #444444;
  color: white;
  z-index: 1;
  -webkit-transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);;
  transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.main-control {
  overflow-y: auto;
  padding: 10px;
  height: 100%;
  box-sizing: border-box;
}

.controls.closed {
  left: -250px;
}

.controls input, .controls select {
  width: 100%;
  display: block;
  margin-bottom: 15px;
}

.controls li {
  list-style: none;
  font-size: 0.85em;
  padding: 3px;
  margin-bottom: 2px;
  cursor: pointer;
}

.active {
  background: #009999;
}

.controls ul {
  padding: 0 0 0 15px;
  margin: 0 0 15px 0;
}

.controls label {
  font-weight: 700;
  color: #999999;
  display: block;
  margin-bottom: 5px;
}

#fold-amount {
  position: absolute;
  bottom: 20px;
  width: 50%;
  left: 25%;
}

.credits {
  font-size: 0.7em;
  color: #999999;
}

.credits a {
  color: #009999;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 500px) {
  #menu-button {
    display: block;
  }

  #scene {
    left: 0;
  }

  #fold-amount {
    width: 80%;
    left: 10%;
  }
}
