/* modified from https://codepen.io/thathurtabit/pen/bgWdge */
.ants {
  fill: rgb(0, 0, 0);
  width: 10px;
  height: 25px;
  position: fixed;
}

#ant1 {
  fill:brown;
  left: 50%;
  bottom: -60%;
  animation: ant-1-animation 87s infinite;
}

#ant2 {
  fill: chocolate;
  left: 0;
  bottom: -50%;
  animation: ant-2-animation 103s infinite;
}

#ant3 {
  fill: darkolivegreen;
  left: 100%;
  bottom: -70%;
  animation: ant-3-animation 93s infinite;
  animation-delay: 1s;
}

#ant4 {
  left: 0;
  bottom: -50%;
  animation: ant-4-animation 69s infinite;
  animation-delay: 13s;
}

#ant5 {
  fill: sienna;
  left: 20%;
  bottom: -40%;
  animation: ant-5-animation 115s infinite;
  animation-delay: 20s;
}

#ant6 {
  fill: saddlebrown;
  left: 80%;
  bottom: -30%;
  animation: ant-6-animation 181s infinite;
  animation-delay: 24s;
}

#ant7 {
  fill: peru;
  left: 10%;
  bottom: -20%;
  animation: ant-7-animation 120s infinite;
  animation-delay: 15s;
}

@keyframes ant-1-animation {
  0% {
    left: 50%;
    bottom: -60%;
  }
  10% {
    left: 50%;
    bottom: 5%;
    transform: rotate(0deg);
  }
  12% {
    left: 50%;
    bottom: 5%;
    transform: rotate(-90deg);
  }
  18% {
    transform: rotate(-90deg);
  }
  20% {
    left: 5%;
    bottom: 5%;
    transform: rotate(-90deg);
  }
  22% {
    transform: rotate(0);
  }
  32% {
    transform: rotate(0);
  }
  38% {
    left: 5%;
    bottom: 87%;
    transform: rotate(90deg);
  }
  50% {
    left: 90%;
    bottom: 87%;
    transform: rotate(90deg);
  }
  55% {
    left: 90%;
    bottom: 87%;
    transform: rotate(230deg);
  }
  72% {
    left: 5%;
    bottom: 5%;
    transform: rotate(230deg);
  }
  78% {
    left: 5%;
    bottom: 5%;
    transform: rotate(90deg);
  }
  85% {
    left: 50%;
    bottom: 5%;
    transform: rotate(90deg);
  }
  90% {
    left: 50%;
    bottom: 5%;
    transform: rotate(180deg);
  }
  100% {
    left: 50%;
    bottom: -60%;
    transform: rotate(180deg);
  }
}
@keyframes ant-2-animation {
  0% {
    left: 0;
    bottom: -50%;
    transform: rotate(45deg);
  }
  15% {
    left: 50%;
    bottom: 5%;
    transform: rotate(45deg);
  }
  18% {
    left: 50%;
    bottom: 5%;
    transform: rotate(90deg);
  }
  28% {
    left: 85%;
    bottom: 5%;
    transform: rotate(90deg);
  }
  30% {
    left: 85%;
    bottom: 5%;
    transform: rotate(0deg);
  }
  40% {
    left: 85%;
    bottom: 85%;
    transform: rotate(0deg);
  }
  48% {
    left: 85%;
    bottom: 85%;
    transform: rotate(-90deg);
  }
  58% {
    left: 5%;
    bottom: 85%;
    transform: rotate(-90deg);
  }
  68% {
    left: 5%;
    bottom: 85%;
    transform: rotate(-180deg);
  }
  79% {
    left: 5%;
    bottom: 5%;
    transform: rotate(-180deg);
  }
  81% {
    left: 5%;
    bottom: 5%;
    transform: rotate(-270deg);
  }
  88% {
    left: 50%;
    bottom: 5%;
    transform: rotate(-270deg);
  }
  90% {
    left: 50%;
    bottom: 5%;
    transform: rotate(-140deg);
  }
  100% {
    left: 0%;
    bottom: -50%;
    transform: rotate(-140deg);
  }
}
@keyframes ant-3-animation {
  0% {
    left: 100%;
    bottom: -70%;
    transform: rotate(-45deg);
  }
  15% {
    left: 50%;
    bottom: -15%;
    transform: rotate(-45deg);
  }
  18% {
    left: 50%;
    bottom: -15%;
    transform: rotate(-90deg);
  }
  28% {
    left: -10%;
    bottom: -15%;
    transform: rotate(-90deg);
  }
  30% {
    left: -10%;
    bottom: -15%;
    transform: rotate(0deg);
  }
  45% {
    left: -10%;
    bottom: 105%;
    transform: rotate(0deg);
  }
  48% {
    left: -10%;
    bottom: 105%;
    transform: rotate(90deg);
  }
  58% {
    left: 105%;
    bottom: 105%;
    transform: rotate(90deg);
  }
  60% {
    left: 105%;
    bottom: 105%;
    transform: rotate(180deg);
  }
  75% {
    left: 105%;
    bottom: -15%;
    transform: rotate(180deg);
  }
  81% {
    left: 105%;
    bottom: -15%;
    transform: rotate(270deg);
  }
  88% {
    left: 50%;
    bottom: -15%;
    transform: rotate(270deg);
  }
  90% {
    left: 50%;
    bottom: -15%;
    transform: rotate(180deg);
  }
  92% {
    left: 50%;
    bottom: -15%;
    transform: rotate(130deg);
  }
  100% {
    left: 100%;
    bottom: -70%;
    transform: rotate(130deg);
  }
}

@keyframes ant-4-animation {
  0% {
    left: 20%;
    bottom: -40%;
    transform: rotate(30deg);
  }
  20% {
    left: 70%;
    bottom: 10%;
    transform: rotate(30deg);
  }
  25% {
    left: 70%;
    bottom: 10%;
    transform: rotate(120deg);
  }
  50% {
    left: 20%;
    bottom: 90%;
    transform: rotate(120deg);
  }
  75% {
    left: 20%;
    bottom: 10%;
    transform: rotate(210deg);
  }
  100% {
    left: 20%;
    bottom: -40%;
    transform: rotate(210deg);
  }
}
@keyframes ant-5-animation {
  0% {
    left: 80%;
    bottom: -30%;
    transform: rotate(60deg);
  }
  20% {
    left: 30%;
    bottom: 20%;
    transform: rotate(60deg);
  }
  25% {
    left: 30%;
    bottom: 20%;
    transform: rotate(150deg);
  }
  50% {
    left: 80%;
    bottom: 100%;
    transform: rotate(150deg);
  }
  75% {
    left: 80%;
    bottom: 20%;
    transform: rotate(240deg);
  }
  100% {
    left: 80%;
    bottom: -30%;
    transform: rotate(240deg);
  }
}
@keyframes ant-6-animation {
  0% {
    left: 5%;
    bottom: -20%;
    transform: rotate(90deg);
  }
  20% {
    left: 60%;
    bottom: 30%;
    transform: rotate(90deg);
  }
  25% {
    left: 60%;
    bottom: 30%;
    transform: rotate(180deg);
  }
  50% {
    left: 10%;
    bottom: 110%;
    transform: rotate(180deg);
  }
  75% {
    left: 10%;
    bottom: 30%;
    transform: rotate(270deg);
  }
  100% {
    left: 10%;
    bottom: -20%;
    transform: rotate(270deg);
  }
}

  
