/* ---- stats.js ---- */

#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}
.count-particles {
  border-radius: 0 0 3px 3px;
}

#balloons-container {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.balloons div {
  position: fixed;
  left: 0;
  top: 0;
  width: 60px;
  height: 100px;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  /* border-radius: 50%; */
  /* box-shadow: -6px -6px 0 rgba(0, 0, 0, 0.15) inset; */
  opacity: 0.6;
  z-index: -1;
}

/* .balloons div:before {
  content: '';
  position: absolute;
  left: 38px;
  bottom: -70px;
  width: 2px;
  height: 70px;
  background: #a0a0a0;
  transform: rotate(5deg);
} */

/* .balloons div:after {
  content:"▲";
  position: absolute;
  left: 33px;
  bottom: -13px;
  color: #ffa07a;
} */

.balloons div:nth-of-type(1) {
  left: -2rem;
  top: 0;
  background: url(../img/1.png);
  width: 180px;
  height: 180px;
  animation: flashing_r 7s ease-in-out infinite;
}

.balloons div:nth-of-type(2) {
  left: 2%;
  top: 40%;
  background: url(../img/2.png);
  width: 58px;
  animation: flashing 7s ease-in-out infinite;
  transform: scale(5.5);
}

.balloons div:nth-of-type(3) {
  left: 40%;
  top: 56%;
  background: url(../img/3.png);
  animation: flashing_r 7s ease-in-out 2s infinite;
  transform: scale(6.5);
}

.balloons div:nth-of-type(4) {
  left: 79%;
  top: 76%;
  background: url(../img/1.png);
  animation: flashing 7s ease-in-out infinite;
  transform: scale(3.5);
}

.balloons div:nth-of-type(5) {
  left: 81%;
  top: 16%;
  background: url(../img/2.png);
  animation: flashing_r 7s ease-in-out infinite;
  transform: scale(3.5);
}

.balloons div:nth-of-type(6) {
  left: 76%;
  top: 41%;
  background: url(../img/3.png);
  animation: flashing_r 7s ease-in-out 2s infinite;
  transform: scale(4);
}

.balloons div:nth-of-type(7) {
  left: 74%;
  top: 66%;
  background: url(../img/1.png);
  animation: flashing_r 7s ease-in-out infinite;
  transform: scale(3);
}

.balloons div:nth-of-type(8) {
  left: 95%;
  top: 59%;
  background: url(../img/2.png);
  animation: flashing 7s ease-in-out infinite;
  transform: scale(3);
}

@keyframes flashing {
  0% {
    /* margin-left: 8px; */
    opacity: 1;
  }
  10% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  70% {
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  90% {
    opacity: 0;
  }
  100% {
    margin-left: 0px;
    opacity: 1;
  }
}

@keyframes flashing_r {
  0% {
    /* margin-bottom: 0px; */
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  90% {
    opacity: 1;
  }
  100% {
    /* margin-bottom: 8px; */
    opacity: 0;
  }
}
