body {
  background-color: #2c2c2e;
  color: #b2b2b2;
  margin: 0px;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
}
@media (max-width: 800px) {
  body {
    font-size: 14pt;
  }
}
@media (min-width: 801px) {
  body {
    font-size: 16pt;
  }
}

#container {
  max-width: 45em;
}
@media (min-width: 801px) {
  #container {
    display: grid;
    grid-template-areas: ". ." "content controls";
    margin-top: 12px;
    width: 75vh;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 800px) {
  #container {
    display: block;
    width: 95%;
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (min-width: 801px) {
  #content {
    grid-area: content;
  }
}

#controls {
  display: flex;
  padding: 5px;
  z-index: 20;
  background-color: #2c2c2e;
  height: 75vh;
  width: fit-content;
  max-height: calc(100vh - 2em);
}
@media (max-width: 800px) {
  #controls {
    position: fixed;
    top: 2em;
    right: 0;
    justify-content: flex-end;
    font-size: 150%;
  }
  #controls option {
    font-size: 150%;
  }
}
@media (min-width: 801px) {
  #controls {
    grid-area: controls;
    min-width: 15em;
    justify-content: center;
    padding-top: 20pt;
  }
  #controls form {
    width: 80%;
  }
}

@media (max-width: 800px) {
  #controls.initial {
    transform: translateX(100%);
  }
}
@media (min-width: 801px) {
  #controls.initial {
    display: inline-flex;
  }
}

@media (max-width: 800px) {
  #controls.shown {
    animation: slideInFromRight 0.5s ease-out forwards;
  }
}

@media (max-width: 800px) {
  #controls.hidden {
    animation: slideOutToRight 0.5s ease-out forwards;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOutToRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
#playlists {
  height: fit-content;
  width: 100%;
  font-size: 100%;
}

#controls-toggle {
  justify-content: right;
}
@media (min-width: 801px) {
  #controls-toggle {
    display: none;
  }
}
@media (max-width: 800px) {
  #controls-toggle {
    display: flex;
  }
}
#controls-toggle a {
  font-size: 24pt;
  text-decoration: none;
}
#controls-toggle a:link {
  color: #87afaf;
}

#caption, #refresh {
  width: 100%;
  display: block;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

#caption {
  margin-top: 0.5em;
}

.by {
  font-size: 100%;
}

.title, .artist, .year {
  font-size: 175%;
}

.title, .artist {
  font-weight: bold;
  color: #87afaf;
}

#cover {
  margin-left: 5px;
  margin-right: 5px;
}

#cover > img {
  max-width: 75vh;
  max-height: 75vh;
  width: 100%;
  height: auto !important;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

#refresh {
  width: 67.5vh;
  max-width: 95%;
  background-color: #88b090;
  color: #b2b2b2;
  border: 2px solid #88b090;
  border-radius: 1em;
}
#refresh a {
  font-weight: bold;
  text-decoration-line: none;
  color: #2c2c2e;
}

h1 {
  margin-top: 0em;
  margin-bottom: 0em;
}
