/* https://codepen.io/beshoooo/pen/jmbGNd */
.container__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
}
.light {
  position: absolute;
  width: 0px;
  opacity: 0.75;
  background-color: white;
  box-shadow: #e9f1f1 0px 0px 20px 2px;
  /*box-shadow: black 0px 0px 20px 2px;*/
  opacity: 0;
  top: 100vh;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: auto;
  z-index: 2;
}
.light-dark {
  box-shadow: black 0px 0px 20px 2px;
}

.x1 {
  animation: floatUp 4s infinite linear;
  transform: scale(1);
}

.x2 {
  animation: floatUp 7s infinite linear;
  transform: scale(1.6);
  left: 15%;
}

.x3 {
  animation: floatUp 2.5s infinite linear;
  transform: scale(0.5);
  left: -15%;
}

.x4 {
  animation: floatUp 4.5s infinite linear;
  transform: scale(1.2);
  left: -34%;
}

.x5 {
  animation: floatUp 8s infinite linear;
  transform: scale(2.2);
  left: -57%;
}

.x6 {
  animation: floatUp 3s infinite linear;
  transform: scale(0.8);
  left: -81%;
}

.x7 {
  animation: floatUp 5.3s infinite linear;
  transform: scale(3.2);
  left: 37%;
}

.x8 {
  animation: floatUp 4.7s infinite linear;
  transform: scale(1.7);
  left: 62%;
}

.x9 {
  animation: floatUp 4.1s infinite linear;
  transform: scale(0.9);
  left: 85%;
}

@keyframes floatUp {
  0% {
    top: 100vh;
    opacity: 0;
  }
  25% {
    /*opacity: 1;*/
    opacity: 0.5;
  }
  50% {
    top: 0vh;
    /*opacity: 0.8;*/
    opacity: 0.3;
  }
  75% {
    /*opacity: 1;*/
    opacity: 0.5;
  }
  100% {
    top: -100vh;
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    /*opacity: 1;*/
    opacity: 0.5;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 0;
  }
  30% {
    /*opacity: 1;*/
    opacity: 0.5;
  }
  80% {
    /*opacity: 0.9;*/
    opacity: 0.6;
  }
  100% {
    opacity: 0;
  }
}

@keyframes finalFade {
  0% {
    opacity: 0;
  }
  30% {
    /*opacity: 1;*/
    opacity: 0.5;
  }
  80% {
    /*opacity: 0.9;*/
    opacity: 0.6;
  }
  100% {
    opacity: 1;
    opacity: 0.5;
  }
}
