* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 5px;
  font-family: "Monserrat", sans-serif;
}

.spotify-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgb(40, 40, 40);
  padding: 16px;
  height: 100%;
  width: clamp(280px, 100%, 1200px);
  border-radius: 12px;
}

.spotify-img {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  height: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
}

.music-note-img {
  color: black;
  font-size: 80px;
}

.spotify-player {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
}

.spotify-player-text {
  color: white;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin: auto 0;
}

.spotify-player-title {
  display: flex;
  font-size: 17px;
  font-family: "Montserrat";
  font-weight: 600;
  text-overflow: ellipsis;
  width: 100%;
}

.spotify-player-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 10px;
}

.spotify-player-time {
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.spotify-player-progress-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: clamp(150px, 100%, 800px);
}

.spotify-player-button-play {
  color: white;
  font-size: 32px;
}

.spotify-player-button-pause {
  display: none;
  color: white;
  font-size: 32px;
}

.spotify-player-button-replay {
  color: hsl(0, 0%, 50%);
  font-size: 20px;
}

.spotify-player-progress-text {
  color: hsl(0, 0%, 70%);
  font-size: 12px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  cursor: pointer;
  outline: none;
  border-radius: 10px;
  height: 4px;
  background: hsl(0, 0%, 50%);
}

/* Thumb: webkit */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  width: 8px;
  background-color: hsl(0, 0%, 100%);
  border-radius: 50%;
  border: none;
  transition: 0.1s ease-in-out;
}

/* Thumb: Firefox */
input[type="range"]::-moz-range-thumb {
  height: 8px;
  width: 8px;
  background-color: hsl(0, 0%, 100%);
  border-radius: 50%;
  border: none;
  transition: 0.1s ease-in-out;
}

/* Hover, active & focus Thumb: Webkit */
input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(2);
}

/* Hover, active & focus Thumb: Firfox */
input[type="range"]:active::-moz-range-thumb {
  transform: scale(2);
}

@media (max-width: 910px) {
  .spotify-img {
    width: 120px;
  }
  .spotify-card {
    padding: 8px;
    gap: 8px;
  }
  .music-note-img {
    font-size: 60px;
  }
  .spotify-player-title {
    font-size: 14px;
  }
  .spotify-player-buttons {
    
    align-items: flex-end;
    row-gap: 5px;
  }
}

@media (max-width: 720px) {
  .spotify-img {
    width: auto;
  }
}

@media (max-width: 436px) {
  .spotify-img {
    width: 120px;
  }
}
