* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: rgb(114, 246, 206);
}

.ripple-effect {
  position: relative;
  padding: 15px 35px;
  display: inline-block;
  margin: 10px;
  font-size: 20px;
  letter-spacing: 3px;
  border-radius: 40px;
  cursor: pointer;
  overflow: hidden;
  background: linear-gradient(90deg, rgb(208, 255, 0), rgb(249, 13, 202));
  color: #fff;
  font-weight: bold;
}

.ripple-effect.secondary {
  background: linear-gradient(90deg, rgb(212, 0, 255), rgb(0, 238, 111));
}

.ripple-effect > span {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  animation: rippleEffectAnimation 1s linear infinite;
}

@keyframes rippleEffectAnimation {
  0% {
    height: 0;
    width: 0;
  }

  100% {
    height: 500px;
    width: 500px;
  }
}
