* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.container {
  margin: auto;
  padding: 30px;
  min-width: 360px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover-container {
  width: 100%;
  height: auto;
}

.cover {
  width: 100%;
  height: auto;
  transform: scale(0.9);
  border-radius: 3%;
  transition-property: all;
  transition-duration: 300ms;
}

.coverIn {
  transform: scale(0.9);
}
.coverOut {
  transform: scale(1);
}

.songData {
  user-select: none;
  padding-top: 6px;
  text-align: center;
}
.title,
.artist {
  font-size: 24px;
  font-weight: 800;
  padding-top: 4px;
  padding-bottom: 4px;
  color: black;
}
.artist {
  color: brown;
}

.progressBar {
  display: flex;
  position: relative;
  width: 100%;
  height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
  align-items: center;
  justify-content: space-between;
}
.progressBarLeft {
  width: 0%;
  height: 6px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  background-color: coral;
}
.progressBarCenter {
  position: absolute;
  left: -9px;
  width: 18px;
  height: 18px;
  border-radius: 100%;
  border: 2px solid white;
  background-color: coral;
}

.progressBarCenter:active {
  transform: scale(1.5);
}

.progressBarRight {
  width: 100%;
  height: 6px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  background-color: darkgrey;
}

.songTiming {
  display: flex;
  position: relative;
  user-select: none;
  bottom: 10px;
  width: 100%;
  justify-content: space-between;
  padding-left: 12px;
  padding-right: 12px;
  color: darkblue;
}

nav {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

button {
  border: none;
  cursor: pointer;
  border-radius: 0;
  background-color: white;
}

.play-pause {
  position: relative;
  width: 100px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.play,
.pause {
  position: absolute;
  top: 0;
  margin-left: 12px;
  margin-right: 12px;
}

.pause {
  display: none;
}

.play svg,
.pause svg,
.previousTrack svg,
.nextTrack svg {
  vertical-align: middle;
}

@media (hover) {
  .progressBarCenter:hover {
    transform: scale(1.5);
  }
  .play:hover,
  .pause:hover,
  .previousTrack:hover,
  .nextTrack:hover {
    box-shadow: 0px 0px 10px 5px rgb(219, 230, 231);
    background-color: rgb(219, 230, 231);
    border-radius: 100%;
  }
}

.play :active,
.pause :active,
.previousTrack :active,
.nextTrack :active {
  margin-top: 3px;
  margin-left: 3px;
  margin-right: 3px;
  width: 54px;
  height: 54px;
}

.buttonActive {
  display: block;
}
.buttonDisabled {
  display: none;
}
