.audio-player {
  height: 350px;
  width: 300px;
  display: flex;
  justify-content: center;
  position: relative;
  background: navy;
  border-radius: 5px;
  margin: auto;
  
}

.audio-player img {
  position: absolute;
  height: 200px;
  width: 200px;
  border-radius: 5px;
}

.audio-controls {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: white;
  justify-content: space-between;
  
}

.skipbackbtn, .playpausebtn, .skipforwardbtn {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  height: 50px;
  width: 50px;
}

.bottom-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px; /* Space between buttons */
  margin-top: -5px; /* Moves the entire button row slightly up */
}

.playpausebtn {
  height: 60px;
  width: 60px;
  background: transparent;
  border-radius: 50%;
  border: 0.5px solid white;
  color: white;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-8px); /* Moves the play button slightly up */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Makes it pop nicely */
  transition: all 0.2s ease-in-out;
}

.playpausebtn:hover {
  transform: translateY(-12px) scale(1.1); /* Slight hover animation */
}

input[type="range"] {
  width: 200px;
  max-width: 600px;
  background: white;
  height: 3px;
  cursor: pointer;
}

.top-controls,
.bottom-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#timePlayed, #duration {
  font-size: 12px;
  margin: 5px;
}

.song-name {
  color: white;
  position: absolute;
  bottom: 110px;
}

.download-btn {
  height: 40px;
  width: 200px;
  color: white;
  background: green;
  cursor: pointer;
  font-size: 20px;
  border: none;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.download-btn a {
  color: white;
}
