/* cursor */
* {
  cursor: none;
}

.custom-cursor {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  isolation: isolate;
  pointer-events: none;

  transform: translate(-50%, -50%) scale(0.25);
  transform-origin: center;
  transition: transform 350ms ease;
}

.custom-cursor.big {
  transform: translate(-50%, -50%) scale(1);
}

.custom-cursor-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: invert(1) grayscale(1);
  -webkit-backdrop-filter: invert(1) grayscale(1);
  /*backdrop-filter: invert(1) grayscale(1) sepia(1) saturate(5) hue-rotate(0deg);*/
  /*-webkit-backdrop-filter: invert(1) grayscale(1) sepia(1) saturate(5) hue-rotate(0deg);*/
}

.custom-cursor-inner::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 50%;
  background: rgba(255, 255, 0, 0.5);
  box-shadow: 0px 0px 20px 20px var(--p), inset 0 0 10px 10px var(--p);
}

/*.custom-cursor.type-wh {*/
/*  background: var(--wh);*/
/*  filter: blur(10px);*/
/*  mix-blend-mode: difference;*/
/*}*/

@media screen and (max-width: 1080px) {
  .custom-cursor {
    width: 80px;
    height: 80px;
  }

  .custom-cursor-inner::after {
    box-shadow: 0px 0px 10px 10px var(--p), inset 0 0 5px 5px var(--p);
  }
}

.custom-cursor.ed,
.custom-cursor.big.ed {
  transition: transform 5000ms ease;
}

.custom-cursor.sleep,
.custom-cursor.big.sleep {
  transform: translate(-50%, -50%) scale(0);
}