@media (pointer: fine) {
  body {
    cursor: auto !important;
  }

  a,
  button,
  [role="button"] {
    cursor: pointer !important;
  }

  input,
  textarea {
    cursor: text !important;
  }
}

#magic-cursor {
  display: none !important;
}

.cursor {
  position: fixed;
  z-index: 100001;
  top: 0;
  left: 0;
  display: block;
  width: 80px;
  height: 80px;
  box-sizing: border-box;
  border: 4px solid #999;
  border-radius: 50%;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(0.5);
  transition:
    opacity 200ms ease,
    transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1),
    border-width 300ms cubic-bezier(0.215, 0.61, 0.355, 1),
    background-color 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.cursor span {
  display: none;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor.is-active {
  border-width: 0;
  background: rgba(153, 153, 153, 1);
  opacity: 0.15;
  transform: translate3d(-50%, -50%, 0) scale(0.8);
}

@media (pointer: coarse) {
  .cursor {
    display: none;
  }
}
