/* body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font: 400 24px/1.5 Lato, sans-serif;
  color: white;
  overflow: hidden;
} */

#wrapper-bg-bubbles {
  position: fixed;
  inset: 0;
  z-index: 3;
  padding: 3rem 0;
  text-align: center;
  pointer-events: none;
}

ul {
  list-style: none;
}

.bg-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-bubbles li {
  position: absolute;
  display: block;
  width: 40px;
  height: 40px;
  background-image: url("./images/ch-lantern.svg");
  background-repeat: no-repeat;
  background-position: center;
  /* background: radial-gradient(50% 50% at 50% 50%, rgba(170, 117, 52, 0) 0%, rgba(170, 117, 52, 0.125) 100%); */
  bottom: -160px;
  animation: square 50s infinite;
  transition-timing-function: linear;
  border-radius: 50%;
  opacity: 0.75;
  /* box-shadow: 0px 0px 8px 2px #FFCF83 inset; */
}
.bg-bubbles li:nth-child(odd) {
  rotate: 15deg;
}
.bg-bubbles li:nth-child(even) {
  rotate: -10deg;
}

.bg-bubbles li:nth-child(1) {
  left: 10%;
}

.bg-bubbles li:nth-child(2) {
  left: 20%;
  width: 80px;
  height: 80px;
  animation-duration: 38s;
}

.bg-bubbles li:nth-child(3) {
  left: 25%;
  animation-delay: 4s;
}

.bg-bubbles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-duration: 46s;
}

.bg-bubbles li:nth-child(5) {
  left: 70%;
  rotate: unset;
}

.bg-bubbles li:nth-child(6) {
  left: 80%;
  width: 120px;
  height: 120px;
  animation-delay: 3s;
}

.bg-bubbles li:nth-child(7) {
  left: 32%;
  width: 160px;
  height: 160px;
  animation-delay: 7s;
  rotate: unset;
}

.bg-bubbles li:nth-child(8) {
  left: 55%;
  width: 20px;
  height: 20px;
  animation-duration: 40s;
}

.bg-bubbles li:nth-child(9) {
  left: 25%;
  width: 10px;
  height: 10px;
  animation-delay: 2s;
}

.bg-bubbles li:nth-child(10) {
  left: 90%;
  width: 160px;
  height: 160px;
  animation-delay: 11s;
  rotate: unset;
}

@keyframes square {
  0% {
    transform: translateY(0);
    filter: brightness(0);
  }
  14%, 25%, 40%, 53%, 64%, 70%, 76%, 90% {
    filter: brightness(1.4);
    rotate: 1deg;
  }
  22%, 35%, 50%, 60%, 74%, 80% {
    filter: brightness(0.7);
    rotate: -2deg;
  }
  100% {
    /* transform: translateY(-1500px) rotate(600deg); */
    transform: translateY(-1500px);
    filter: brightness(1);
  }
}
