:root {
  --primary: #888;
  --bodyText: #222;
  --background: #ddd;
  --foreground: #efefef;
}

body {
  background: var(--background);
  font-size: 1em;
  font-family: "Courier New";
}

h1, h2, h3, h4, h5, h6, p {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

p {
  font-size: 0.9rem;
}

main {
  margin: 0 auto;
  display: grid;
  max-width: 900px;
  grid-gap: 0.5rem;
  grid-template-columns: 66% 33%;
  grid-auto-flow: column;
  justify-content: center;
}

.site-title {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.site-title img {
  margin-right: 1rem;
  height: 80px;
  width: auto;
}

ul {
  padding-left: 0.5rem;
}

.file-list, .audio-player {
  background: var(--foreground);
  padding: 1rem;
}

.folder-list {
  max-height: 250px;
  overflow-y: auto;
}

.folder-list li {
  color: blue;
  margin: 0 0 0.5rem 0;
}

.track-list {
  margin-top: 0.25rem;
  margin-left: 0.5rem;
  font-size: 0.875rem;
  padding-left: 0;
  background: var(--primary);
  color: var(--foreground);
  padding: 0.25rem;
  text-decoration: none;
}

.track-list li {
  margin: 0.25rem;
  list-style: none;
  color: var(--foreground);
  font-size: 0.75rem;
}

.track-list span:first-child {
  text-decoration: none;
  color: var(--bodyText);
  background: var(--primary);
  color: var(--foreground);
  padding: 0.25rem;
  display: inline-block;
}

.folder-list li:hover {
  cursor: pointer;
}

.song-meta {
  margin: 0.5rem 0;
  padding: 0.25rem;
  background: var(--primary);
  color: var(--foreground);
  font-weight: bold;
}

.song-meta p {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

#song-folder {
  font-style: italic;
}

@media (max-width: 768px) {
  main {
    display: flex;
    flex-direction: column;
  }

  .site-title img {
    height: 50px;
    width: auto;
  }

  h4 {
    display: none;
  }
}