/*===============================================
Audio player
===============================================*/

#player-area {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#audio-player {
  max-width: 1000px;
  width: 100%;
}


/*===============================================
Main styles
===============================================*/

body {
  min-width: 350px;
  background-color: #EAF9FF;
}

.main {
  transition: all 0.1s ease 0s;
  padding-top: 15px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 100px;
  width: 100%;
}

#ktimer-timings-text {
  word-wrap: normal;
  white-space: pre-wrap;
}

#ktimer-syllablizer-textarea {
  word-wrap: normal;
  white-space: pre-wrap;
}

button.btn.disabled {
  opacity: 0.5;
}

.config-area {
  margin-bottom: 20px;
  text-align: center;
}

.file-input-container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

template {
  display: none;
}

#lyrics {
  border-radius: 10px;
  width: 100%;
  padding: 15px 5px;
  text-align: center;
  background-color: white;
  font-size: 1.1em;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.lyric {
  display: inline-block;
  transition: all 0.5s ease 0s;
  cursor: pointer;
  color: #2081DB;
}
.lyric.lyric-active {
  text-shadow: 0px 0px 6px #0c5ba0,
               0px 0px 4px #0c5ba0;
  font-style: italic;
  color: white;
}
.unmapped {
  color: #862bef;
  transition: all 0.5s ease 0s;
  display: inline-block;
}
.unmapped.skipped {
  text-decoration: line-through;
}
.unmapped.next {
  color: #34c2d3;
}
.unmapped.staging {
  transition: all 0.1s ease 0s;
  cursor: pointer;
  color: #e85019;
}
.unmapped.staging.lyric-active {
  text-shadow: 0px 0px 6px #e85019;
  font-style: italic;
}
.unmapped.staging.finished {
  color: #12c40f;
}
.unmapped.staging.finished.lyric-active {
  text-shadow: 0px 0px 6px #118c0f,
               0px 0px 4px #118c0f;
  font-style: italic;
  color: white;
}


/* Media queries */

@media (max-width: 1000px) {
  .main {
    padding: 5px 5px 0px 5px;
  }
  #lyrics {
    font-size: 1.2em;
  }
}
@media (max-width: 820px) {
  /* shorter buttons on small screen */
  .btn {
    padding: 3px 4px;
  }
  .player-vol {
    float: left;
  }
  #lyrics {
    font-size: 1em;
  }
}
@media (max-width: 600px) {
  /* shorten slider */
  #progress-slider {
    width: 240px;
  }
  .player-core {
    margin-left: 5px;
    margin-right: 5px;
  }
  .player-vol {
    display: none;
  }
  #song-controls {
    padding-left: 10px;
    padding-right: 10px;
  }
}
