@font-face {
  font-family: 'Product Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/productsans/v5/HYvgU2fE2nRJvZ5JFAumwegdm0LZdjqr5-oayXSOefg.woff2) format('woff2');
}* 
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Product Sans';
  }
  
  body {
    background-color: rgb(31, 31, 31);
    overflow: hidden;
  }
  
  .section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    perspective: 1000px;
  }
  
  .section__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .section__background:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: rgba(31, 31, 31, 0.8);
    height: 100vh;
    backdrop-filter: blur(20px);
    z-index: 11;
  }
  
  .section__background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .music-card {
    position: relative;
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 25px;
    transform-style: preserve-3d;
    transition: all 0.2s linear;
    z-index: 2;
  }
  
  .music-card.right-weight {
    transform: rotateY(4deg) rotateX(-5deg);
  }
  
  .music-card.middle-weight {
    transform: rotateY(0) rotateX(-5deg);
  }
  
  .music-card.left-weight {
    transform: rotateY(-4deg) rotateX(-5deg);
  }
  
  .music-card__wrapper {
    position: relative;
    z-index: 1;
  }
  
  .music-card__content {
    padding-bottom: 20px;
  }
  
  .music-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    z-index: -1;
  }
  
  .music-image {
    position: relative;
    width: 400px;
    height: 400px;
    left: 20px;
    top: -20px;
    border-radius: 20px;
    object-fit: cover;
    filter: drop-shadow(-20px 10px 10px rgba(0, 0, 0, 0.25));
  }
  
  .music-image.animate {
    animation-name: coverAnimate;
    animation-duration: 0.3s;
    animation-iteration-count: 1;
    animation-direction: alternate;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
  }
  
  .music-info {
    padding-inline: 20px;
  }
  
  .music-name {
    font-size: 1.4em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
    line-height: 1;
  }
  
  .music-artist {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.5);
  }
  
  .music-controls {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    margin-inline: auto;
    width: 270px;
  }
  
  .music-controls-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 6px;
    border-radius: 50%;
    cursor: pointer;
    transition: ease-in-out 0.2s;
  }
  
  .play-icon-background {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #a5a5a5;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.25));
    transition: all 0.2s;
  }
  
  .music-controls-item#play .play-icon {
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
    transition: all 0.2s;
  }
  
  .music-controls-item#play:hover .play-icon-background {
    animation-name: playIconBackgroundAnimate;
    animation-duration: 0.3s;
    animation-iteration-count: 1;
    opacity: 1;
  }
  
  .music-controls-item#play:hover .play-icon {
    animation-name: playIconAnimate;
    animation-duration: 0.3s;
    animation-iteration-count: 1;
  }
  
  .music-controls-item:hover:not(#play) {
    background: #a5a5a5;
  }
  
  .music-controls-item--icon {
    font-size: 1.2em;
    color: #fff;
  }
  
  .music-progress {
    position: relative;
    width: calc(100% - 40px);
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
    cursor: pointer;
  }
  
  .music-progress-bar {
    position: relative;
    width: 0;
    height: 5px;
    border-radius: 5px;
    background-color: #fff;
  }
  
  .music-progress-bar:after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 1);
    filter: drop-shadow(0px 0px 4px rgba(46, 45, 45, 1));
    border-radius: 50%;
    box-sizing: border-box;
  }
  
  .music-progress:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    z-index: -1;
  }
  
  .music-progress__time {
    position: absolute;
    top: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .music-progress__time-item {
    color: #fff;
    font-size: 12px;
    opacity: 0.4;
  }
  
  @keyframes coverAnimate {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(0.98);
    }
    100% {
      transform: scale(1);
    }
  }
  
  @-webkit-keyframes coverAnimate {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(0.98);
    }
    100% {
      transform: scale(1);
    }
  }
  
  @keyframes playIconAnimate {
    0% {
      transform: scale(1);
    }
    20% {
      transform: scale(1);
    }
    85% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }
  
  @keyframes playIconBackgroundAnimate {
    0% {
      opacity: 1;
      transform: scale(0.7);
      filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.1));
    }
    65% {
      transform: scale(1.1);
      filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.25));
    }
    85% {
      transform: scale(1);
      filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.18));
      opacity: 1;
    }
    100% {
      transform: scale(1);
      filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.18));
      opacity: 1;
    }
  }
  
  @media screen and (max-width: 480px) {
    .music-image {
      width: 100%;
      max-width: calc(100% - 40px);
      margin: 20px;
      left: unset;
      top: unset;
      height: 360px;
      border-radius: 12px;
      filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.2));
    }
    .music-card {
      width: 100%;
      max-width: calc(100% - 20px);
      margin-inline: auto;
    }
  }
  