* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background-color: #000;
  color: #fff;
  font-family: Helvetica, Arial;
  font-size: 3vmin;
}

.background {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  filter: blur(4.0em) opacity(0.4);
  position: absolute;
  
  -webkit-animation-name: rotate;
  -webkit-animation-duration: 0s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  
  -moz-animation-name: rotate;
  -moz-animation-duration: 0s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  
  -ms-animation-name: rotate;
  -ms-animation-duration: 0s;
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: linear;
  
  -o-animation-name: rotate;
  -o-animation-duration: 0s;
  -o-animation-iteration-count: infinite;
  -o-animation-timing-function: linear;
  
  animation-name: rotate;
  animation-duration: 0s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@-webkit-keyframes rotate {
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@-moz-keyframes rotate {
  100% {
    -moz-transform: rotate(360deg);
  }
}

@-ms-keyframes rotate {
  100% {
    -moz-transform: rotate(360deg);
  }
}

@-o-keyframes rotate {
  100% {
    -moz-transform: rotate(360deg);
  }
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.container {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.track-container {
  align-items: center;
  display: flex;
  height: 100%;
  margin: 0 auto;
  justify-content: center;
  position: relative;
  width: 80%;
  z-index: 1;
}

.track-artwork {
  float: left;
  margin-right: 10px;
  text-align: right;
  width: 45%;
}

.track-artwork--image {
  max-width: 80vmin;
  width: 100%;
}

.track-info {
  margin-left: 5%;
  width: 45%;
}

.track-info--title {
  opacity: 0.8;
  font-size: 1.4em;
  margin-bottom: 0.2em;
}

.track-info--artist {
  opacity: 0.4;
  font-style: italic;
  font-weight: 200;
  margin-bottom: 0.2em;
}

.track-info--album {
  opacity: 0.6;
  font-weight: 200;
  margin-bottom: 1.0em;
}

/** Menu **/
#js-menu-container {
  position: absolute;
  z-index: 100;
  display: none;
  background-color: #000;
  height: 100%;
  padding: 10px;
  border-right: 0.2em solid #d51007;
}

#menu {
  align-items: center;
  white-space: nowrap;
  margin: 10px;
}

.labeled-switch {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: 12em;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin: 8px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #000;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #d51007;
}

input:focus + .slider {
  box-shadow: 0 0 1px #d51007;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

#menu-text-speed {
    padding: 10px;
    border: none;
    resize: none;
    background: none;
    color: #fff;
    font-size: 1em;
    white-space: nowrap;
    overflow: hidden;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}