.artist-name,
.music-name {
  font-size: 20px;
}
.disk::before,
.play-btn span {
  top: 50%;
  height: 30px;
  background: #5f7a61;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("bg.jpg") 0 0/100% 100% no-repeat #000;
  font-family: roboto, sans-serif;
}
.music-player {
  width: 350px;
  height: 700px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 40px 100px rgba(255, 255, 255, .2);
  padding: 30px;
  overflow: hidden;
  color: #fff;
  font-weight: 600;
}
.artist-name,
.music-name {
  text-align: center;
  text-transform: capitalize;
      text-shadow: 1px 1px 3px #000;
}
.music-name {
  font-weight: 600;
  margin-bottom: 10px;
}
.disk {
  position: relative;
  display: block;
  margin: 40px auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-image: url("images/cover\ 1.png");
  background-size: cover;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.08);
  animation: 20s linear infinite paused rotate;
}
.disk.play {
  animation-play-state: running;
}
.disk::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  border-radius: 50%;
}
.song-slider {
  width: 100%;
  position: relative;
}
.seek-bar {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
}
.seek-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1px;
  height: 20px;
  box-shadow: -400px 0 0 400px #d5eebb;
}
.current-time,
.song-duration {
  visibility: hidden;
}
.song-duration {
  position: absolute;
  right: 0;
}
.controls {
  width: 60%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px auto auto;
}
.play-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
}
.play-btn span {
  position: absolute;
  left: 25%;
  transform: translateY(-50%);
  width: 10px;
  border-radius: 2px;
  transition: 0.5s;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.play-btn span:nth-child(2) {
  left: 55%;
  transform-origin: center;
}
.play-btn.pause span:nth-child(2) {
  transform: translateY(-50%) scaleY(0);
}
.play-btn.pause span:first-child {
  width: 35%;
  left: 53%;
  transform: translate(-50%, -50%);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 50%, 100% 50%, 0% 100%);
}
.play-btn.pause {
  animation: 2s linear infinite pulse;
}
@keyframes pulse {
  0% {
    box-shadow: 0;
  }
  50% {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.1);
  }
  100% {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.4);
  }
}
.btn {
  width: 40px;
  height: 40px;
}
@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
