/* Pink ball + View Project cursor */
#cursor-ball {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 24px;
  background: #ea0044;
  mix-blend-mode: exclusion;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  z-index: 10000;
  opacity: 0;
  display: none;
  transition: opacity 0.2s ease;
  will-change: transform, width, height;
}

#cursor-ball.is-project {
  mix-blend-mode: normal;
}

#cursor-ball .cursor-ball__label {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  margin: 0;
  padding: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fafafa;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.15s ease;
}

#cursor-ball.is-project .cursor-ball__label {
  opacity: 1;
}

@media (any-hover: hover) and (any-pointer: fine) {
  #cursor-ball {
    display: block;
  }

  #cursor-ball.is-visible {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cursor-ball,
  #cursor-ball .cursor-ball__label {
    transition: none;
  }
}
