.container {
  display: flex;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
}

.row {
  display: flex;
  position: absolute;
  gap: 20px;
}

.animated-dot {
  width: 20px;
  height: 20px;
  background-color: #000;
  border-radius: 50%;
  animation: wave 3.6s infinite;
}

@keyframes wave {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
    animation-timing-function: ease-out;
  }
  25% {
    opacity: 1;
    transform: translateY(-50px) scale(1);
    animation-timing-function: ease-in;
  }
  50% {
    opacity: 1;
    transform: translateY(0) scale(1.5);
    animation-timing-function: ease-out;
  }
  75% {
    opacity: 1;
    transform: translateY(50px) scale(1);
    animation-timing-function: ease-in;
  }
  100% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
}

.row:nth-child(1) .animated-dot:nth-child(1) {
  animation-delay: 0s;
}
.row:nth-child(1) .animated-dot:nth-child(2) {
  animation-delay: 0.3s;
}
.row:nth-child(1) .animated-dot:nth-child(3) {
  animation-delay: 0.6s;
}
.row:nth-child(1) .animated-dot:nth-child(4) {
  animation-delay: 0.9s;
}
.row:nth-child(1) .animated-dot:nth-child(5) {
  animation-delay: 1.2s;
}
.row:nth-child(1) .animated-dot:nth-child(6) {
  animation-delay: 1.5s;
}
.row:nth-child(1) .animated-dot:nth-child(7) {
  animation-delay: 1.8s;
}
.row:nth-child(2) .animated-dot:nth-child(1) {
  animation-delay: -1.8s;
}
.row:nth-child(2) .animated-dot:nth-child(2) {
  animation-delay: -1.5s;
}
.row:nth-child(2) .animated-dot:nth-child(3) {
  animation-delay: -1.2s;
}
.row:nth-child(2) .animated-dot:nth-child(4) {
  animation-delay: -0.9s;
}
.row:nth-child(2) .animated-dot:nth-child(5) {
  animation-delay: -0.6s;
}
.row:nth-child(2) .animated-dot:nth-child(6) {
  animation-delay: -0.3s;
}
.row:nth-child(2) .animated-dot:nth-child(7) {
  animation-delay: 0s;
}
