html, body {
  margin: 0;
  background: #131313;
  color: #A1A1A1;
  font: 10px/2em Roboto, sans-serif;
  min-height: 100vh;
  min-width: 100vw;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

header, main, footer {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

header {
  margin-top: 2rem;
}

header nav {
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  visibility: hidden;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 600px;
  height: 600px;
  top: 40px;
  z-index: 1;
}

header nav a {
  width: 33%;
}

header nav a.backward, header nav a.forward {
  opacity: 0;
}

header nav a i {
  font-size: 12rem;
  color: rgba(255,255,255,.7);
}

header nav a.play i {
  color: rgba(255,255,255,.9);
}

header nav a:active i {
  color: rgba(255,255,255,1);
}

footer {
  margin: 4rem auto 1rem;
}

footer, footer a, footer a:visited, footer a:active {
  text-decoration: none;
  color: #777;
}

footer a:hover {
  color: #A1A1A1;
}

#cover {
  background: url(spinner.gif) no-repeat center;
}

#cover img {
  width: 100%;
  visibility: hidden;
}

audio {
  display: none;
  width: 100% !important;
}

audio::-webkit-media-controls-enclosure {
  background: none;
}

audio::-webkit-media-controls-panel {
  background: #131313;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button,
audio::-webkit-media-controls-overflow-button,
audio::-webkit-media-controls-rewind-button,
audio::-webkit-media-controls-return-to-realtime-button,
audio::-webkit-media-controls-toggle-closed-captions-button,
audio::-webkit-media-controls-timeline-container,
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display,
audio::-webkit-media-controls-timeline,
audio::-webkit-media-controls-volume-slider-container,
audio::-webkit-media-controls-volume-slider {
  filter: invert(70%);
  text-shadow: none;
}

#song {
  font-size: 14px;
  margin: 2em 1em;
  margin-top: 2rem;
}

#song h1 {
  line-height: 1.3em;
}

#playlist td {
  padding: 0.5rem;
}

#playlist img {
  width: 30px;
}

#playlist .hidden {
  display: none;
}

#scroll-down-hint {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(19,19,19,0), rgba(19,19,19,1));
}

#scroll-down-hint a {
  display: block;
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  background: linear-gradient(to bottom, rgba(19,19,19,0), rgba(19,19,19,1));
}

#scroll-down-hint a i {
  font-size: 3rem;
  color: #A1A1A1;
  padding: 0.5em;
}

main nav {
  display: flex;
  justify-content: center;
  padding: 1rem;
}

main nav {
  font-size: 3rem;
}

main nav a {
  background: #333;
  border-radius: 50%;
  width: 2em;
  height: 2em;
  margin: 0 2rem;
}

main nav a i {
  font-size: 1em;
  color: #A1A1A1;
  padding: 0.5em;
}

dialog {
  max-width: 567px !important;
  background: rgba(0, 0, 0, 0.7) !important;
  font-size: 1.3rem;
  color: #A1A1A1;
  border: 1px solid #777;
}

dialog .close-modal {
  border: 2px solid #A1A1A1;
  border-radius: 50%;
}

dialog hr {
  background: none;
  border-top: 0;
  border-bottom: 1px solid #777;
  margin: 2rem 0;
}

dialog h1, dialog h2, dialog h3 {
  padding: 0;
  font-weight: normal;
  line-height: 2;
}

dialog h1 i, dialog h2 i, dialog h3 i {
  padding-right: 0.5rem;
}

dialog h1 {
  font-size: 2rem;
  margin: 1rem 0;
}

dialog h2 {
  font-size: 1.5rem;
  margin: 0;
}

dialog h2 span {
  padding-left: 0.5rem;
  color: #777;
}

dialog h3 {
  font-size: 1.4rem;
  margin: 0 0 1rem;
}

dialog a, a:active, a:visited {
  color: #DDD;
  text-decoration: none;
}

dialog a:hover {
  color: #FFF;
}

dialog ol {
  margin: 0;
  padding: 0;
}

dialog li:before {
  font-family: 'FontAwesome';
  content: '\f017';
}

dialog li {
  margin-left: 0;
  list-style-type: none;
  padding-left: 7rem ;
  text-indent: -7rem ;
  line-height: 1.5;
  margin: 1rem 0;
}

dialog li > a:first-child {
  position: relative;
  left: -1rem;
  padding-left: 1.5rem;
}

dialog li b {
  position: relative;
  left: -1rem;
  font-weight: normal;
}

@media only screen and (max-width: 600px) {

  html, body {
    display: block;
  }

  header, main, footer {
    width: 100%;
    margin: 0;
  }

  header nav {
    width: 100vw;
    height: 100vw;
    top: 20px;
  }

  header nav a i {
    font-size: 20vw;
  }

  footer {
    margin-top: 3rem;
  }

  footer span {
    display: block;
  }

  dialog {
    width: 100% !important;
  }

  dialog li {
    font-size: 1.1rem;
  }

}
