body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(7, 1fr);
    height: 100vh;
    margin: 0px;
    padding: 0px;
    background-color: #121212;
    color: #fff;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

div {
    position: relative;
}

.leftbar {
    z-index: 0;
    grid-column: 1;
    grid-row: 2/7;
    border: 1px solid black;
    padding: 15px;
    background: #181818;
    overflow-y: auto;
}

.leftbar h3 {
  margin-bottom: 10px;
}

#playlist-list {
  list-style: none;
  padding: 0;
}

.playlist-item {
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  color: #b3b3b3;
}

.playlist-item:hover {
  background: #333;
  color: #fff;
}

#create-playlist {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  background: #1db954;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

.searchbar {
    z-index: 1;
    grid-column: 1/8;
    grid-row: 1;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottombar {
    grid-column: 1/8;
    grid-row: 7;
    border: 1px solid black;
    background: #181818;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.main {
    grid-column: 2/7;
    grid-row: 2/7;
    border: 1px solid black;
    overflow-y: auto;
}

.queue {
    grid-column: 7/8;
    grid-row: 2/5;
    border: 1px solid black;
    overflow-y: auto;
}

.lyrics {
    grid-column: 7/8;
    grid-row: 5/7;
    border: 1px solid black;
}

.searchbar input {
    width: 50%;
    height: 50%;
    border-radius: 35px;
    border: 1px solid #333;
    background-color: #333;
    font-size: 15px;
    color: #ffffff;
    padding: 15px;
}

.song-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #222;
  border-radius: 15px;
  cursor: pointer;
  border: 3px solid #181818;
}

.song-cover {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  border-radius: 5px;
}

.song-info {
  display: flex;
  flex-direction: column;
}

.song-title {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
}

.song-artist {
  font-size: 14px;
  color: #b3b3b3;
}

.lyrics {
    padding: 15px;
    overflow-y: auto;
    text-align: center;
    font-size: 18px;
    line-height: 2;
    color: #777;
    background-color: #222;
}

.lyrics p {
    margin: 10px 0;
    transition: color 0.3s, font-size 0.3s;
}

.lyrics p.active {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
}

.player-left, .player-center, .player-right {
    display: flex;
    align-items: center;
}

.player-left img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.player-left .song-text {
    display: flex;
    flex-direction: column;
}

.player-left .song-title {
    font-weight: bold;
}

.player-center button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    margin: 0 5px;
    cursor: pointer;
}

.progress-container {
    width: 400px;
    display: flex;
    align-items: center;
}

.progress {
    width: 100%;
    height: 4px;
    background: #404040;
    border-radius: 2px;
    cursor: pointer;
    margin: 0 10px;
    position: relative;
}

.progress-filled {
    height: 100%;
    background: #1db954;
    width: 0%;
    border-radius: 2px;
}

.time {
    font-size: 12px;
}

.player-right input[type=range] {
    width: 100px;
}