body {
  overflow: hidden;
}

.app {
  background: #1a1a1a;
  color: #fff;
  letter-spacing: 0.08rem;
  width: 100vw;
  height: 100vh;
  position: relative;
}

.panes,
.controls,
.pane,
.sliders,
.slider,
.title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

h2 {
  font-size: 1.2rem;
  margin: 0 0 1.5rem;
  color: #80CBC4;
}
.title {
  text-align: center;
  z-index: 100;
}

.panes {
  height: calc(100% - 110px);
}
.pane {
  top: 60px;
  height: calc(100% - 60px);
}
.controls {
  background: #00897b;
  height: 110px;
  top: auto;
  bottom: 0;
}

.sliders {
  width: 100%;
  height: 110px;
  top: 50%;
  margin-top: -55px;
}
.slider {
  box-sizing: border-box;
  padding: 1rem 2rem;
}
.slider-horz {
  width: 100%;
  height: 10px;
  position: relative;
}

.ui-slider {
  background: #004D40;
  margin: 20px 0 40px;
}
.ui-slider .ui-slider-handle {
  background: #80CBC4;
  position: absolute;
  outline-color: #009688;
  cursor: move;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
.ui-slider .ui-slider-handle:active {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}
.ui-slider-horizontal .ui-slider-handle {
  top: 50%;
  height: 30px;
  width: 20px;
  margin-top: -15px;
}


/* Styles for dual mode */
.app {
  display: none;
}
.app.default,
.app.sender,
.app.receiver {
  display: block;
}

.app.sender .panes {
  display: none;
}
.app.sender .controls {
  height: 100%;
  top: 0;
  bottom: auto;
}
.app.sender .sliders {
  height: 80%;
  top: 10%;
}
.app.sender .slider-horz {
  height: 20px;
}
.app.sender .ui-slider-horizontal .ui-slider-handle {
  height: 60px;
  width: 40px;
  margin-top: -30px;
}
.app.sender label {
  font-size: 1.8rem;
  margin: 0 0 3rem;
  display: block;
}

.app.receiver .panes,
.app.gamepad .panes {
  height: 100%;
}
.app.receiver .controls,
.app.gamepad .controls {
  display: none;
}
