@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.container {
  width: 100%;
  height: 100vh;
  background: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.music-player {
  background: #1f1f1f;
  width: 80%;
  max-width: 400px;
  padding: 1.563em 2.188em;
  text-align: center;
  box-shadow: rgba(255, 255, 255, 0.56) 0px 22px 70px 4px;
  border-radius: 10px;
}

nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2em;
}

nav .circle {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  background: #fff;
  color: #000;
  box-shadow: 0 5px 10px rgba(255, 255, 255, 0.22);
  display: flex;
  justify-content: center;
  align-items: center;
}

.song__img {
  width: 13.75em;
  border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: 0 10px 60px rgba(255, 255, 255, 0.22);
  animation: thumbnail-animation 5s linear infinite;
}

@keyframes thumbnail-animation {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.music-player h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-top: 1.25em;
}

.music-player p {
  font-size: 1rem;
  color: #fff;
}

#progress {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #1ed760;
  border-radius: 4px;
  cursor: pointer;
  margin: 2.5em 0;
}

#progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: #1ed760;
  width: 1.875em;
  height: 1.875em;
  border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: 0 5px 5px rgba(255, 255, 255, 0.22);
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
}

.controls div {
  width: 3.75em;
  height: 3.75em;
  margin: 1.25em;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #000;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.controls div:nth-child(2) {
  transform: scale(1.5);
  background: #1ed760;
  color: #fff;
}