* {
  margin: 0;
  padding: 0;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

.container {
  display: flex;
  justify-content: center;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.parent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  max-width: 700px;
  height: 100vh;
  background: transparent;
}
.child {
  width: 5px;
  height: 99px;
  background-color: green;
  animation-name: childy;
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.child:first-child {
  animation-delay: 0.05s;
}
.child:nth-child(2) {
  animation-delay: 0.1s;
}
.child:nth-child(3) {
  animation-delay: 0.15s;
}
.child:nth-child(4) {
  animation-delay: 0.2s;
}
.child:nth-child(5) {
  animation-delay: 0.25s;
}
.child:nth-child(6) {
  animation-delay: 0.3s;
}
.child:nth-child(7) {
  animation-delay: 0.35s;
}
.child:nth-child(8) {
  animation-delay: 0.4s;
}
.child:nth-child(9){
    animation-delay: 0.45s;
}
.child:nth-child(10) {
  animation-delay: 0.5s;
}
.child:nth-child(11) {
  animation-delay: 0.55s;
}
.child:nth-child(12) {
  animation-delay: 0.6s;
}
@keyframes childy {
  0% {
    transform: scaleY(0.5);
    background-color: rgb(0, 218, 116);
  }
   50%{
    transform: scaleY(1);
    background-color: rgb(251, 255, 0);
  }  
  100% {
    transform: scaleY(0.5);
    background-color: rgb(0, 218, 116);
  }
}

