body {
  margin: 0;
  font-family: sans-serif;
  background: #111;
  color: white;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
  padding: 10px;
}

.song {
  height: 15em;
}

.song img {
  overflow: hidden;
  position: relative;
  object-fit: cover;
  width: 100%;
  height: 90%;
}

.thumb {
  cursor: pointer;
  border-radius: 6px;
}

.categories {
  padding-left: 0.5em;
  padding-right: 1em;
  background-color: transparent;
  line-height: 1.5;
}

li.category {
  list-style-type: none;
  display: inline;
  cursor: pointer;
}

.all-categories {
  display: flex;
  text-align: left;
  padding-left: 1em;
}

.category-group-name {
  min-width: 6em;
  font-weight: bold;
  vertical-align: center;
}

.gray-500 {
  color: gray;
}
.main-buttons {
  display: flex;
  justify-content: center
}
.main-buttons > div {
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

.main-buttons > div > button {
  font-size: 14px;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 20px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-left: 1rem;
  margin-right: 1rem;
}

/* OFF state */
.main-button-off {
  background: #333;
  color: #ccc;
  border-color: #444;
}

.main-button-off:hover {
  background: #444;
  color: #fff;
}

/* ON state */
.main-button-on {
  background: #1d54b9;
  color: #fff;
  border-color: #2e65ca;
  box-shadow: 0 0 8px #3f76db;
}

.main-button-on:hover {
  background: #2e65ca;
  border-color: #3f76db;
}


#playlist {
  padding-bottom: 10rem;
}
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}
.controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}
.controls button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}
.controls button:hover {
  color: #1db954;
}
.progress-container {
  height: 0.5em;
  background:#444;
  width: 100%;
}
.progress {
  height: 100%;
  width: 0%;
  background:#1d54b9;
}
.song-title {
  text-align:center;
  padding-bottom:5px;
  font-size:14px;
  color:#ccc;
}
.song-artist {
  text-align:center;
  padding-bottom:5px;
  font-size:14px;
  color:#ccc;
}
.song-categories {
  text-align:center;
  padding-bottom:5px;
  font-size:14px;
  font-style: italic;
  color:#ddd;
}

