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

body {
  background: #FFFFF8;
  color: #333;
  margin: 0;
  font-family: "Space Mono", monospace;
}

.full-height {
  height: 100%;
}

/* MAIN */

.main {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


/* AUDIO VIEW */

.audio {
  width: 100%;
  height: 100%;
  max-width: 400px;
  max-height: 570px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

@media (orientation:portrait) and (min-width: 360px) {
  .audio {
    padding: 20px;
  }
}

@media (orientation:portrait) and (min-height: 700px) {
  .audio {
    padding-top: 50px;
  }
}

@media (orientation:landscape) {
  .audio {
    display: none;
  }
}

section {
  z-index: 1;
  margin: 0 0 10px 0;
}

section:last-child {
  margin: 0;
}

p {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em 0;
}

span {
  font-size: 1.0rem;
  font-weight: 400;
}

.large {
  font-size: 1.1rem;
  font-weight: 700;
}

.no-sleep {
  background: #f9fff8;
}

.tweets {
  color: #48F;
}

.riffs {
  color: #FF4444;
}

.options {
  color: #777777;
  color: #ca18c0;
  color: #e644ff;
  color: #bf3cac;
}

.play {
  color: #6DB531;
  color: #54ff44;
  color: #3cbf43;
}

.btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.btn {
  width: 50px;
  height: 50px;
  margin: 5px 3px;
  background: gray;
  display: inline-block;
  box-sizing: border-box;
  border-radius: 50%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  text-align: center;
  line-height: 50px;
  color: #FFF;
  font-size: 0.85rem;
  letter-spacing: 0;
  cursor: pointer;
}

.btn.tweet {
  background: #48F;
}

.btn.riff {
  background: #EEE;
}

.btn.riff.recording {
  border: 10px solid #969696;
}

.btn.riff.recording.recorded {
  border: 10px solid #b32d2d;
  background: #ff4444;
}

.btn.riff.recorded {
  background: #ff4444;
}

.btn.erase {
  background: #7b7b7b;
  font-size: 1.0rem;
}

.btn.erase.on {
  background: #7b7b7b;
  border: 10px solid #4a4a4a;
  line-height: 29px;
  font-size: 0.8rem;
}

.btn.rate {
  background: #bf3cac;
  font-size: 1.5rem;
  line-height: 47px;
}

.btn.rate.on {
  border: 10px solid #752a6a;
  line-height: 27px;
  font-size: 1.2rem;
}

.btn.pos {
  background: #bf3cac;
  font-size: 1.0rem;
}

.btn.pos.on {
  border: 10px solid #752a6a;
  line-height: 29px;
  font-size: 0.8rem;
}

.btn.play {
  background: #3cbf43;
}

.btn.play.on {
  border: 10px solid #2c7530;
}

/* OVERLAY */

.overlay {
  z-index: 2;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFF8;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #333;
  text-align: center;
  line-height: 1.4;
}

.overlay p {
  font-weight: 400;
}

/* UTILS */

.no-highlight {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

.no-select {
  -webkit-user-select: none;
  /* Chrome all / Safari all */
  -moz-user-select: none;
  /* Firefox all */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Likely future */
}

.disabled {
  pointer-events: none;
}

.ghosted {
  opacity: 0.25;
}

.invisible {
  opacity: 0;
}

.o {
  outline: 1px solid #000;
}

@media (orientation:portrait) {
  .landscape-only {
    display: none;
  }
}

@media (orientation:landscape) {
  .portrait-only {
    display: none;
  }
}
