* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  color: #2b3c5b;
}

.body {
  display: grid;
  grid-template-rows: 1fr minmax(70px, 100px);
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.player {
  max-width: 380px;
  width: 100%;
  padding: 25px;
  background-color: #ffffff;
  border-radius: 30px;
  text-align: center;
  opacity: 0.7;
}

.title {
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.btn {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.controls-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 5px;
  margin-bottom: 30px;
}

.volume-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  background: url(../icons/volume-icon.svg) no-repeat center;
}

.volume-btn.muted {
  background: url(../icons/mute.svg) no-repeat center;
}

.song {
  margin-bottom: 15px;
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

.timeline {
  display: flex;
  align-items: center;
  width: 100%;
  height: 10px;
  margin-bottom: 30px;
  background-color: #e4e9ed;
  border-radius: 5px;
  cursor: pointer;
}

.duration {
  display: inline-flex;
  column-gap: 5px;
}

input[type="range"] {
  width: 200px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  overflow: hidden;
  height: 7px;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 7px;
  background-color: #e4e9ed;
}

input[type="range"]::-webkit-slider-thumb {
  background: #e92222;
  cursor: pointer;
  width: 7px;
  height: 15px;
  -webkit-appearance: none;
  margin-top: -4px;
  box-shadow: -200px 0 0 200px #2b3c5b;
}

input[type="range"]::-moz-range-track {
  height: 7px;
  background-color: #e4e9ed;
}

input[type="range"]::-moz-range-thumb {
  background: #e92222;
  cursor: pointer;
  height: 7px;
  border-radius: 0px;
  box-shadow: -200px 0px 0px 200px #2b3c5b;
  padding: 0px;
  margin: 0px;
}

.progress {
  height: 6px;
  background-color: #2b3c5b;
  border-radius: 5px;
}

.playlist {
  padding: 0;
  list-style: none;
  text-align: left;
}

.play-item {
  font-size: 22px;
  line-height: 1.5;
}

.page-footer {
  background-color: #2b3c5b;
  opacity: 0.7;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
}

.page-footer a,
.year {
  text-decoration: none;
  line-height: 20px;
  letter-spacing: 2px;
  color: whitesmoke;
  transition: all 0.3s linear;
}

.page-footer a:hover {
  color: #bb945f;
}

.page-footer a:active {
  filter: blur(1px);
}

@media (max-width: 719px) {
  .player {
    padding-block: 12px;
  }
}

@media (max-width: 499px) {
  .body {
    grid-template-rows: 1fr 130px;
  }

  .player {
    padding: 10px;
  }

  .footer-container {
    flex-direction: column;
    row-gap: 15px;
    padding-block: 20px;
  }
}
