.cursor {
  width: 50px;
  height: 50px;
  border: 1px solid #D5D5D5;
  border-radius: 50%;
  position: absolute;
  transition-duration: 200ms;
  transition-timing-function: ease-out;
  top: -8px;
  left: -8px;
  animation: cursorAnim .8s infinite alternate;
  pointer-events: none;
  z-index:10000;
}

.cursor::after {
  content: "";
  width: 50px;
  height: 50px;
  position: absolute;
  border: 8px solid #D5D5D5;
  border-radius: 50%;
  opacity: .3;
  top: -9px;
  left: -9px;
  animation: cursorAnim2 .8s infinite alternate;
  z-index:20000;
}

@keyframes cursorAnim {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0.8);
  }
}
@keyframes cursorAnim2 {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0.5);
  }
}
@keyframes cursorAnim3 {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(3);
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
.expand {
  animation: cursorAnim3 .8s forwards;
  border: 1px solid #006FB7;
}