:root {
  /* Cores e opacidade dos quadrados */
  --squarePatternBackground: rgba(85, 73, 148, 0.10);
  
  --whiteSquareChildTwo: rgba(255, 255, 255, 0.55);
  --whiteSquareChildFourAndSix: rgba(255, 255, 255, 0.7);
  --whiteSquareChildNine: rgba(255, 255, 255, 0.8);
  
  /* Tamanhos e dimensões */
  --smallSize: 20px;
  --mediumSize: 40px;
  --largeSize: 60px;
  --xlargeSize: 80px;
  --xxlargeSize: 120px;
  --xxxlargeSize: 160px;

  /* Animações */
  --bubbleAnimationDuration: 25s;
  --bubbleAnimationLinearTiming: linear;
}

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

.bg-bubbles li {
  position: absolute;
  list-style: none;
  display: block;
  border-radius: 10px;
  background-color: var(--squarePatternBackground);
  bottom: -80px;
  animation: square var(--bubbleAnimationDuration) infinite;
  transition-timing-function: var(--bubbleAnimationLinearTiming);
}

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

.bg-bubbles li:nth-child(2) {
  left: 20%;
  width: var(--xlargeSize);
  height: var(--xlargeSize);
  animation-delay: 2s;
  animation-duration: 17s;
  background-color: var(--whiteSquareChildTwo);
}

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

.bg-bubbles li:nth-child(4) {
  left: 40%;
  width: var(--largeSize);
  height: var(--largeSize);
  animation-duration: 22s;
  background-color: var(--whiteSquareChildFourAndSix);
}

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

.bg-bubbles li:nth-child(6) {
  left: 80%;
  width: var(--xxlargeSize);
  height: var(--xxlargeSize);
  animation-delay: 3s;
  background-color: var(--whiteSquareChildFourAndSix);
}

.bg-bubbles li:nth-child(7) {
  left: 32%;
  width: var(--xxxlargeSize);
  height: var(--xxxlargeSize);
  animation-delay: 7s;
}

.bg-bubbles li:nth-child(8) {
  left: 55%;
  width: var(--smallSize);
  height: var(--smallSize);
  animation-delay: 15s;
  animation-duration: 40s;
}

.bg-bubbles li:nth-child(9) {
  left: 25%;
  width: var(--smallSize);
  height: var(--smallSize);
  animation-delay: 2s;
  animation-duration: 40s;
  background-color: var(--whiteSquareOpacityNine);
}

.bg-bubbles li:nth-child(10) {
  left: 90%;
  width: var(--xxxlargeSize);
  height: var(--xxxlargeSize);
  animation-delay: 11s;
}

@keyframes square {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-700px) rotate(500deg);
  }
  100% {
    transform: translateY(-1400px) rotate(800deg);
  }
}

.nafrente {
  z-index: 2 !important;
}
