* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}
body {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(images/portada-song.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.player {
  width: 90%;
  max-width: 320px;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}
.miniatura {
  width: 280px;
  height: 280px;
  object-fit: cover;
}
.song-details h2 {
  font-size: 22px;
  color: #fff;
  font-weight: 500;
}
.song-details h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}
.controls,
.music-list li,
.music-list .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.controls button {
  font-size: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  outline: 0;
  background-color: #fff;
  box-shadow: 0 5px 5px rgba(0, 129, 165, 0.22);
  color: #0081a5;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
#playPauseBtn {
  width: 50px;
  height: 50px;
}
#progress {
  width: 100%;
  height: 8px;
  border-radius: 10px;
  appearance: none;
  background-color: #fff;
  cursor: pointer;
}
#progress::-webkit-slider-thumb {
  background: rgb(0, 129, 165);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  appearance: none;
  border: 6px solid #fff;
  box-shadow: 0 5px 5px rgba(0, 129, 165, 0.22);
}
.time {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 4px;
  color: #fff;
}
.music-list {
  position: absolute;
  left: 0;
  bottom: -55%;
  opacity: 0;
  pointer-events: none;
  background-color: #fff;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  transition: all 0.14s ease-out;
}
.music-list.show {
  bottom: 0;
  opacity: 1;
  pointer-events: auto;
}
.music-list .header span {
  font-size: 19px;
  color: #515c6f;
}
.music-list .header #close {
  font-size: 22px;
  color: #515c6f;
  cursor: pointer;
}
.music-list ul {
  margin: 10px 0;
  max-height: 300px;
  overflow: auto;
}
.music-list ul::-webkit-scrollbar {
  width: 0;
}
.music-list ul li {
  cursor: pointer;
  list-style: none;
  padding-bottom: 10px;
  margin-bottom: 5px;
  color: #515c6f;
  border-bottom: 1px solid #e5e5e5;
}
.music-list ul li:last-child {
  border-bottom: 0;
}
.music-list ul li .row span {
  font-size: 17px;
}
ul li .row p {
  opacity: 0.9;
}
ul li .audio-duration {
  font-size: 16px;
}
