body {
  margin: 0;
}

.inkbackground {
  position: relative;
  height: 300px;
  width: 300px;
  margin: 50px 0;
  background: #e8e5ea;
 /** background: -webkit-linear-gradient(bottom right, rgba(0, 210, 255, 1), rgba(190, 50, 175, 1)); /* For Safari 5.1 to 6.0 */
 /** background: -o-linear-gradient(bottom right, rgba(0, 210, 255, 1), rgba(190, 50, 175, 1)); /* For Opera 11.1 to 12.0 */
 /** background: -moz-linear-gradient(bottom right, rgba(0, 210, 255, 1), rgba(190, 50, 175, 1)); /* For Firefox 3.6 to 15 */
 /** background: linear-gradient(to bottom right, rgba(0, 210, 255, 1), rgba(190, 50, 175, 1)); /* Standard syntax */

 filter: drop-shadow(10px 10px 10px rgb(0 0 0 / 50%));
}

.wrap {
  position: absolute;
  width: 100px;
  height: 200px;
  left: 50%;
  margin-left: -50px;
  top: 50%;
  margin-top: -100px;
}

.drop {
  width: 60px;
  height: 60px;
  left: 42%;
  margin-left: -20px;
  position: absolute;
  animation: drop 2s cubic-bezier(0.55, 0.085, 0.68, 0.53) 0s infinite;
}

/*
.drop circle {
  fill: #2a96ed;
}
*/

.drop-outer {
  position: absolute;
  box-sizing: border-box;
  /* border: 1px solid #333; */
  width: 100px;
  height: 200px;
  overflow: hidden;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 50px;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  background-clip: padding-box;
  -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
}

.ripple {
  position: absolute;
  box-sizing: border-box;
  width: 240px;
  height: 240px;
  top: 68px;
  left: -70px;
  perspective: 100;
  transform: rotateX(65deg);
}

.ripple .ripple-svg {
  position: relative;
  width: 240px;
  height: 240px;
  opacity: 0;
}

.ripple .ripple-svg circle {
   fill: none;
   stroke: #000;
   stroke-width: 10px;
   stroke-alignment: inner;
}

.ripple-1 {
  animation: ripple 2s cubic-bezier(.58,.3,.47,1.02) 0s infinite;
}

.ripple-1 .ripple-svg {
  animation: fade-in-out 2s linear 0s infinite;
}

.ripple-1 .ripple-svg circle {
  animation: border 2s cubic-bezier(.58,.3,.47,1.02) 0s infinite;
}

.ripple-2 {
  animation: ripple 2s cubic-bezier(.58,.3,.47,1.02) 0.2s infinite;
}

.ripple-2 .ripple-svg {
  animation: fade-in-out 2s linear 0.2s infinite;
}

.ripple-2 .ripple-svg circle {
  animation: border 2s cubic-bezier(.58,.3,.47,1.02) 0.2s infinite;
}

.ripple-3 {
  animation: ripple 2s cubic-bezier(.58,.3,.47,1.02) 0.35s infinite;
}

.ripple-3 .ripple-svg {
  animation: fade-in-out 2s linear 0.35s infinite;
}

.ripple-3 .ripple-svg circle {
  animation: border 2s cubic-bezier(.58,.3,.47,1.02) 0.35s infinite;
}



@keyframes drop {
  0% {
    transform: scale3d(0.01,0.01,0.01) translateY(0)
  }
  10% {
    transform: scale3d(1,1,1) 
  }
  44% {
    transform: scale3d(1,1,1) translateY(200px)
  }
  100% {
    transform: scale3d(1,1,1) translateY(200px)
  }
}

@keyframes fade-in-out {
  0% {opacity: 0}
  42% {opacity: 0}
  52% {opacity: 1}
  65% {opacity: 1}
  100% {opacity: 0}
}

@keyframes ripple {
  0% { transform: rotateX(65deg) scale3d(0.2, 0.2, 0.2) }
  42% { transform: rotateX(65deg) scale3d(0.2, 0.2, 0.2) }
  100% { transform: rotateX(65deg) scale3d(0.9, 0.9, 0.9) }
}

@keyframes border {
  0% { stroke-width: 6px }
  42% { stroke-width: 6px }
  100% {stroke-width: 2px }
}

/* Media Queries */

@media (min-width: 630px) {
  .inkbackground {
    width: 500px;
    height: 500px;
  }
}

