@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.hero {
  width: 100%;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-block;
  font-style: 18px;
  padding: 24px 70px;
  color: #fff;
  background: #ff1876;
  border: none;
  cursor: pointer;
  border-radius: 40px;
  position: relative;
  outline: none;
  box-shadow: 0 2px 25px rgba(255, 0, 130, 0.5);
  transition: box-shadow 0.25s;
  z-index: 2;
}

.btn:active {
  background: #d80972;
  box-shadow: 0 2px 25px rgba(255, 0, 130, 0.2);
}

.btn span {
  background: #ff1876;
  border: 1px solid #ff1876;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  position: absolute;
  z-index: -1;
  transform: scale(0);
}

.btn span:nth-child(1) {
  top: -20%;
  left: -10%;
}
.btn span:nth-child(2) {
  top: -130%;
  left: 0;
}
.btn span:nth-child(3) {
  top: -50%;
  left: 10%;
  background: transparent;
}
.btn span:nth-child(4) {
  top: -66%;
  left: 20%;
}
.btn span:nth-child(5) {
  top: -90%;
  left: 28%;
}
.btn span:nth-child(6) {
  top: -70%;
  left: 42%;
}
.btn span:nth-child(7) {
  top: -80%;
  left: 60%;
  background: transparent;
}
.btn span:nth-child(8) {
  top: -50%;
  left: 70%;
}
.btn span:nth-child(9) {
  top: -120%;
  left: 80%;
}
.btn span:nth-child(10) {
  top: -70%;
  left: 90%;
}
.btn span:nth-child(11) {
  top: -80%;
  left: 100%;
  background: transparent;
}
.btn span:nth-child(12) {
  top: -50%;
  left: 110%;
}
.btn span:nth-child(13) {
  top: 40%;
  left: -20%;
}
.btn span:nth-child(14) {
  top: 60%;
  left: 120%;
  background: transparent;
}
.btn span:nth-child(15) {
  top: -160%;
  left: -10%;
}
.btn span:nth-child(16) {
  top: 120%;
  left: 5%;
  background: transparent;
}
.btn span:nth-child(17) {
  top: 180%;
  left: 10%;
}
.btn span:nth-child(18) {
  top: 130%;
  left: 20%;
}
.btn span:nth-child(19) {
  top: 180%;
  left: 33%;
  background: transparent;
}
.btn span:nth-child(20) {
  top: 180%;
  left: 55%;
}
.btn span:nth-child(21) {
  top: 160%;
  left: 75%;
}
.btn span:nth-child(22) {
  top: 130%;
  left: 88%;
  background: transparent;
}
.btn span:nth-child(23) {
  top: 140%;
  left: 100%;
}
.btn span:nth-child(24) {
  top: 190%;
  left: 120%;
}

.anim {
  animation: moving 0.5s linear reverse forwards;
}

@keyframes moving {
  0% {
    transform: scale(0);
  }
  10% {
    transform: scale(1);
  }
  100% {
    top: 50%;
    left: 50%;
  }
}
