/* 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;
  background-image: url("./assets/card_1.png");
  background-size: 100%;
  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: -60px;
  animation: square 50s infinite ease-in-out;
  transition-timing-function: linear;
  /* border-radius: 50%; */
  opacity: 0.6;
  /* box-shadow: 0px 0px 8px 2px #FFCF83 inset; */
}

.bg-bubbles li::before {
  content: "";
  display: block;
  padding-top: 150%;
}
.bg-bubbles li:nth-child(odd) {
  rotate: 15deg;
}
.bg-bubbles li:nth-child(even) {
  rotate: -10deg;
  background-image: url("./assets/card_2.png");
  bottom: -100px;
}

.bg-bubbles li:nth-child(1) {
  left: 0%;
  animation-delay: 20s;
  animation-duration: 38s;
}

.bg-bubbles li:nth-child(2) {
  left: 95%;
  width: 30px;
  animation-delay: 12s;
  animation-duration: 38s;
}

.bg-bubbles li:nth-child(3) {
  left: 5%;
  animation-delay: 30s;
  rotate: 0deg;
}

.bg-bubbles li:nth-child(4) {
  left: 90%;
  width: 60px;
  animation-duration: 46s;
  rotate: 0deg;
}

.bg-bubbles li:nth-child(5) {
  left: 85%;
  rotate: unset;
  animation-delay: 20s;
}

.bg-bubbles li:nth-child(6) {
  left: 0%;
  width: 40px;
  animation-delay: 5s;
}


@keyframes square {
  0% {
    transform: translateY(0);
    filter: brightness(1);
  }
  10%, 36%, 75% {
    filter: brightness(1.4);
    rotate: 0.7deg;
    scale: 1.1;
  }
  27%, 60%, 90% {
    filter: brightness(0.7);
    rotate: 0deg;
    scale: 1;
  }
  100% {
    /* transform: translateY(-1500px) rotate(600deg); */
    transform: translateY(-1500px) rotateZ(360deg) rotateY(360deg) scale(0.8);
    filter: brightness(1);
    rotate: 0deg;
    scale: 1;
  }
}
