* {
  margin: 0;
  padding: 0;
  font-family: "poppins";
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Music Player Container */

.music-player {
  background-color: white;
  width: 100%;
  max-width: 450px;
  margin: 15px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* Music Player Header */

.header {
  text-align: center;
  background: #2c3e50;
  color: white;
  padding: 25px;
}

/* Song Conver Photo */
.covers {
  width: 70%;
  max-width: 250px;
  aspect-ratio: 1 / 1;
  margin: 25px auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: transparent;
  border-radius: 50%;
}

.covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

/* Song Info */
.song-info {
  text-align: center;
  padding: 0 20px 20px;
}

.song-info h1 {
  color: #2c3e50;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  margin-bottom: 8px;
}

.song-info p {
  font-size: clamp(0.9rem, 3vw, 1rem);
  color: #7f8c8d;
  margin-bottom: 8px;
}


/* Progress Bar */
.progress-bar {
  background-color: #ecf0f1;
  height: 6px;
  cursor: pointer;
  border-radius: 3px;
  position: relative;
}

.progress-container {
  padding: 0px 20px 20px;
}

.progress {
  height: 100%;
  border-radius: 3px;
  background-color: #3498db;
}

/* Song Time Info */
.time-info {
  display: flex;
  justify-content: space-between;
  color: #2c3e50;
  margin-top: 8px;
  font-size: 0.9rem;
}

/* Controls Buttons (Play, previos and Next) */
.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 20px;
}

.control-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  color: #2c3e50;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.controls #play-btn {
  width: 60px;
  height: 60px;
  background: #3498db;
  color: white;
  font-size: 1.5rem;
}

.control-btn:hover {
  background: #f8f9fa;
  transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 480px) {
  .header {
    padding: 18px;
  }

  .controls {
    gap: 15px;
  }

  .control-btn {
    width: 45px;
    height: 45px;
  }

  .controls #play-btn {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }
}
