/* Scoped to gooey-btn-wrap to avoid affecting other elements */
.gooey-btn-wrap svg {
  position: absolute;
  top: -4000px;
  left: -4000px;
}

.gooey-btn-wrap #gooey-button {
  padding: 1rem;
  font-size: 1.2rem;
  border: none;
  color: #ffffff;
  filter: url('#gooey');
  position: relative;
  background-color: #0049a8;
  cursor: pointer;
  border-radius: 6px;
}

.gooey-btn-wrap #gooey-button:focus {
  outline: none;
}

.gooey-btn-wrap #gooey-button .bubbles {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.gooey-btn-wrap #gooey-button .bubble {
  background-color: #0049a8;
  border-radius: 100%;
  position: absolute;
  display: block;
  z-index: -1;
}

/* Bubble animations */
.gooey-btn-wrap #gooey-button .bubble:nth-child(1) {
  left: 45px;
  width: 25px;
  height: 25px;
  animation: move-1 3.02s infinite;
  animation-delay: 0.2s;
}
.gooey-btn-wrap #gooey-button .bubble:nth-child(2) {
  left: 44px;
  width: 25px;
  height: 25px;
  animation: move-2 3.04s infinite;
  animation-delay: 0.4s;
}
.gooey-btn-wrap #gooey-button .bubble:nth-child(3) {
  left: 26px;
  width: 25px;
  height: 25px;
  animation: move-3 3.06s infinite;
  animation-delay: 0.6s;
}
.gooey-btn-wrap #gooey-button .bubble:nth-child(4) {
  left: 47px;
  width: 25px;
  height: 25px;
  animation: move-4 3.08s infinite;
  animation-delay: 0.8s;
}
.gooey-btn-wrap #gooey-button .bubble:nth-child(5) {
  left: 73px;
  width: 25px;
  height: 25px;
  animation: move-5 3.1s infinite;
  animation-delay: 1s;
}
.gooey-btn-wrap #gooey-button .bubble:nth-child(6) {
  left: 43px;
  width: 25px;
  height: 25px;
  animation: move-6 3.12s infinite;
  animation-delay: 1.2s;
}
.gooey-btn-wrap #gooey-button .bubble:nth-child(7) {
  left: 55px;
  width: 25px;
  height: 25px;
  animation: move-7 3.14s infinite;
  animation-delay: 1.4s;
}
.gooey-btn-wrap #gooey-button .bubble:nth-child(8) {
  left: 100px;
  width: 25px;
  height: 25px;
  animation: move-8 3.16s infinite;
  animation-delay: 1.6s;
}
.gooey-btn-wrap #gooey-button .bubble:nth-child(9) {
  left: 49px;
  width: 25px;
  height: 25px;
  animation: move-9 3.18s infinite;
  animation-delay: 1.8s;
}
.gooey-btn-wrap #gooey-button .bubble:nth-child(10) {
  left: 41px;
  width: 25px;
  height: 25px;
  animation: move-10 3.2s infinite;
  animation-delay: 2s;
}

/* Keyframes */
@keyframes move-1 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -126px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}
@keyframes move-2 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -94px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}
@keyframes move-3 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -93px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}
@keyframes move-4 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -100px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}
@keyframes move-5 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -87px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}
@keyframes move-6 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -73px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}
@keyframes move-7 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -65px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}
@keyframes move-8 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -107px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}
@keyframes move-9 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -82px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}
@keyframes move-10 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -60px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}
