/**
 * ==============================================
 * Dot Falling -- https://codepen.io/nzbin/pen/GGrXbp
 * ==============================================
 */
 .stage {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
    width: 100%;
  }
 .snippet {
    position: relative;
    padding: 2rem 5%;
    margin:  0;
    width: 100%;
}
:root {
    --dot-size: 20px;
}
.dot-falling {
  position: relative;
  left: -9999px;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: var(--dot-size);
  background-color: grey;
  color: grey;
  box-shadow: 9999px 0 0 0 grey;
  animation: dotFalling 1s infinite linear;
  animation-delay: .1s;
}

.dot-falling::before, .dot-falling::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot-falling::before {
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: var(--dot-size);
  background-color: grey;
  color: grey;
  animation: dotFallingBefore 1s infinite linear;
  animation-delay: 0s;
}
.dot-falling::after {
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: var(--dot-size);
  background-color: grey;
  color: grey;
  animation: dotFallingAfter 1s infinite linear;
  animation-delay: .2s;
}
@keyframes dotFalling {
  0% {
    box-shadow: 9999px -15px 0 0 rgba(152, 128, 255, 0);
  }
  25%,
  50%,
  75% {
    box-shadow: 9999px 0 0 0 grey;
  }
  100% {
    box-shadow: 9999px 15px 0 0 rgba(152, 128, 255, 0);
  }
}
@keyframes dotFallingBefore {
  0% {
    box-shadow: 9964px -15px 0 0 rgba(152, 128, 255, 0);
  }
  25%,
  50%,
  75% {
    box-shadow: 9964px 0 0 0 grey;
  }
  100% {
    box-shadow: 9964px 15px 0 0 rgba(152, 128, 255, 0);
  }
}
@keyframes dotFallingAfter {
  0% {
    box-shadow: 10034px -15px 0 0 rgba(152, 128, 255, 0);
  }
  25%,
  50%,
  75% {
    box-shadow: 10034px 0 0 0 grey;
  }
  100% {
    box-shadow: 10034px 15px 0 0 rgba(152, 128, 255, 0);
  }
}
  