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

html, body {
  width: 100vw;
  height: 100vh;
  background-color: wheat;
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  position: relative;
  width: 40%;
  height: 70%;
  background-color: white;
  box-shadow: 3px 3px 10px gray;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background-color: ghostwhite;
  font-family: Arial, Helvetica, sans-serif;
}

.music-icon {
  height: 30vh;
  width: 30vh;
  border-radius: 50%;
  object-fit: cover;
}

#songSinger {
  font-style: italic;
}

.controls {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 40px;
}

#prevIcon, #nextIcon {
  cursor: pointer;
  padding: 4px;
}

#prevIcon:hover, #nextIcon:hover {
  background-color: gainsboro;
  border-radius: 50%;
}

#playIcon {
  font-size: 50px;
  cursor: pointer;
}

#progressBar {
  width: 70%;
  height: 10px;
  background-color: #ddd;
  border-radius: 5px;
  outline: none;
  transition: background-color 0.3s ease;
}

#progressBar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: #F98E00;
  border-radius: 50%;
  cursor: pointer;
}

#progressBar::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: #F98E00;
  border-radius: 50%;
  cursor: pointer;
}

#playlistIcon {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #F98E00;
  border-radius: 50px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#playlistIcon i {
  font-size: 22px;
  font-weight: bold;
}

#playlistIcon p {
  font-weight: bold;
  font-style: italic;
  font-size: 14px;
  padding-right: 6px;
}

#music-list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.3s ease-in-out;
}

#closeIcon {
  padding: 10px;
  border-radius: 50%;
  background-color: #F98E00;
  color: white;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
}

#songsList {
  padding: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10vh;
  overflow-y: auto;
}

.song {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.song div h3 {
  font-weight: bold;
  font-size: 24px;
}

.song div h4 {
  font-weight: normal;
  font-size: 14px;
}

#songPlayIcon {
  padding: 10px;
  border-radius: 50%;
  background-color: #F98E00;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  color: white;
}

.time-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

