/* BASIC STYLES */
body {
  background-color: black;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin: 0;
}
body > img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  filter: blur(8px);
  z-index: 0;
}

/* CONTENT */
.content {
  z-index: 1;
  width: 340px;
  min-height: 400px;
  box-shadow: 0 0 12px #000000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.image {
  width: 100%;
  position: absolute;
  top: -25px;
  transition: all 300ms;
}
.controls {
  position: absolute;
  background: linear-gradient(45deg, rgb(48, 48, 48), rgb(128, 128, 128));
  bottom: 0;
  width: 100%;
  height: 128px;
}
.controls img {
  filter: invert(1);
  width: 48px;
}
.controls .play-pause {
  position: absolute;
  top: 16%;
  left: 8%;
}
.controls > div {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 16%;
  right: 8%;
}
.controls .swith-buttons {
  gap: 4px;
}
.controls > div > img {
  width: 30px;
}
.text-content {
  position: absolute;
  top: 16%;
  left: 28%;
}
.text-content .song-artist {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: rgb(193, 255, 6);
}
.text-content .song-label {
  font-size: 16px;
  color: #fff;
  margin: 0;
}
.progress-bar {
  position: absolute;
  appearance: none;
  bottom: 16%;
  left: 20%;
  background: #000000;
  height: 5px;
  width: 200px;
  border-radius: 32px;
}
.progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  margin-top: -3px;
  margin-left: 0px;
  height: 10px;
  width: 7px;
  border: 0;
  background: -webkit-linear-gradient(
    45deg,
    rgb(213, 213, 213),
    rgb(193, 255, 6)
  );
  border-radius: 30px;
  cursor: pointer;
}
.progress-bar::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  max-height: 5px;
  border-radius: 30px;
}
.progress-bar:focus {
  outline: none;
}
.current-time,
.duration {
  position: absolute;
  font-size: 0.8rem;
  margin: 0;
}
.current-time {
  color: #fff;
  bottom: 4%;
  left: 20%;
}
.duration {
  color: rgb(193, 255, 6);
  right: 20%;
  bottom: 24%;
}

/* FOOTER */
footer {
  position: absolute;
  bottom: 0;
  width: 100vw;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  background-color: rgba(255, 255, 255, 0.2);
}
footer p,
footer a {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  margin: 8px;
}
footer a img {
  width: 96px;
}
