@import url('https://fonts.googleapis.com/css2?family=Oxygen&display=swap');
:root {
  --body-bg: #f2f2f2;
  --app-bg: #fefdfe;
  --progress-bg: #d1cfd0;
  --black: #060509;
  --grey: #b2adb1;
  --mute-color: #b1b1b3;
  
  --song1-bg: #3d86ae;
  --song2-bg: #fdcdba;
  --song3-bg: #b6211fd1;
  --song4-bg: #b59cfb;
  --box1-shadow: 20px 20px 60px #66a4c5,
    -20px -20px 60px #8adeff;
  --box2-shadow: 20px 20px 60px #d5bcb2,
             -20px -20px 60px #fffef0;
  --box3-shadow:  20px 20px 60px #ad6a69,
             -20px -20px 60px #e9908f;
  --box4-shadow:   20px 20px 60px #62588f,
             -20px -20px 60px #8476c1;
  --cubic: 1s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
  box-sizing: border-box;
  padding:0;
  margin:0;
}
body {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--body-bg);
  font-family: 'Oxygen', sans-serif;
  transition: background-color var(--cubic);
}
h {
  font-size: 1.5em;
  color: var(--h-color);
  font-weight: 600;
  text-transform: capitalize;
}
p {
  font-size: 1em;
  color: var(--p-color);
}
.app-wrapper {
  height: 150px;
  width: 450px;
  border-radius: 15px;
  background: var(--app-bg);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.album-spinner {
  height: 150px;
  width: 150px;
  margin-left: -15%;
  border-radius: 50%;
  background-size: cover;
  background-postion: center;
  background-repeat: no-repeat;
  border: 1px solid grey;
  animation-name: spin;
  animation-duration: 8000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.app {
  width: 330px;
  height: 200px;
  display: flex;
  flex-direction: column;
}
.song-info, .controls {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 35%;
  align-items: center;
  justify-content: space-around;
}
.song-info {
  justify-content: space-between;
}
.controls {
  width: 80%;
}
#mute {
  padding: 10px;
  font-size: 1.5em;
  color: var(--mute-color);
}
#prev, #play, #pause ,#next {
  color: var(--h-color);
  font-size: 1.8em;
  transition: .4s;
  cursor: pointer;
}
#play:hover, #prev:hover, #pause:hover, #next:hover {
  color: var(--mute-color);
}
.progress {
  width: 80%;
  height: 8px;
  border-radius: 5px;
  background: var(--progress-bg);
}
#progress-bar {
  background: var(--progress-fill);
  height: 100%;
  width: 1%;
  border-radius: 5px;
  transition: background-color var(--cubic);
  animation: 5s move linear infinite;
}
@keyframes move {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}