@import url("https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap");
body {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  font-family: "Playfair Display", serif;
  color: #FFFFFF;
}

.play-music {
  display: flex;
}

.music-animation {
  display: flex;
  margin-right: 10px;
  align-items: flex-end;
  position: relative;
  top: -5px;
  baccolor: #FFFFFF;
}
.music-animation.on .bar {
  -webkit-animation: bar 1.2s infinite;
          animation: bar 1.2s infinite;
}
.music-animation.on .bar2 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}
.music-animation.on .bar3 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
.music-animation.on .bar4 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
.music-animation.on .bar5 {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}

.music-toggle {
  cursor: pointer;
  font-size: 20px;
  position: relative;
}
.music-toggle:after {
  content: "";
  display: block;
  height: 1px;
  width: 0;
  background-color: #fff;
  position: absolute;
  transition: 0.2s;
}
.music-toggle:hover:after {
  width: 100%;
}

.bar {
  width: 1px;
  background-color: #fff;
  height: 2px;
  display: block;
  margin: 0 1px;
}

@-webkit-keyframes bar {
  0% {
    height: 4px;
  }
  50% {
    height: 14px;
  }
  100% {
    height: 4px;
  }
}

@keyframes bar {
  0% {
    height: 4px;
  }
  50% {
    height: 14px;
  }
  100% {
    height: 4px;
  }
}