@media (any-pointer: fine) {
  :root {
    --cursor-none: none;
    --cursor-pointer: url(../img/no_cursor.svg), auto;
    --cursor-text: url(../img/text_cursor.svg), auto;
  }
  #mouse-circle {
    display: block !important;
  }
}
#mouse-circle {
  display: none;
  position: fixed;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  mix-blend-mode: difference;
  border: none;
  box-sizing: border-box;
  filter: none;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 1;
  z-index: 100;
  background-size: 0px;
  background-position: center;
  background-repeat: no-repeat;
  transition: background 0.75s, transform 0.75s 0s, backdrop-filter 1s,
    margin 0.2s, height 0.2s, width 0.2s, border 0.5s, border-radius 0.2s,
    border-color 0.5s;
  /* box-shadow: 0 0 10px 0px white; */
}
#mouse-circle .mouse-mix {
  mix-blend-mode: difference;
  border: 3px solid #ff3a04;
}
#mouse-circle .mouse-opc {
  border: 3px solid #ff3a04;
}
#mouse-circle .mouse-mix,
#mouse-circle .mouse-opc {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  transition: background-color 0s;
}
#mouse-circle.pointer .mouse-opc {
  background-color: #ffffffe8;
}
#mouse-circle.pointer.click {
  animation: unset;
}
#mouse-circle.pointer.click .mouse-opc {
  animation: cursor_click 0.18s ease-in-out;
}
@keyframes cursor_click {
  0% {
    height: 100%;
    width: 100%;
  }
  10% {
    height: 60%;
    width: 60%;
  }
  100% {
    height: calc(100% - 6px);
    width: calc(100% - 6px);
  }
}
#mouse-circle.click .mouse-mix {
  border: none;
}

#mouse-circle.pointer {
  mix-blend-mode: unset;
  /* background: var(--exte-color); */
  animation: cursor_move 0.7s 0.2s linear infinite alternate;
  animation: cursor_move 1.5s -0.1s infinite;
  transform: scale(1);
}
@keyframes cursor_move {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.75);
  }
}
@keyframes cursor_move {
  0% {
    transform: scale(0.95);
    box-shadow:0 0 0 0 rgba(255, 58, 4, 0.9), 0 0 5px 2px rgba(255, 255, 255, 0.0);
  }

  70% {
    transform: scale(1);
    box-shadow:0 0 0 10px rgba(255, 58, 4, 0),  0 0 10px 6px rgba(255, 255, 255, 0.2);
  }

  100% {
    transform: scale(0.95);
    box-shadow:0 0 0 0 rgba(255, 58, 4, 0), 0 0 5px 5px rgba(255, 255, 255, 0.0);
  }
}

#mouse-circle::before,
#mouse-circle::after {
  content: " ";
  display: block;
  height: 0px;
  width: 0px;
  background: white;
  border-radius: 50%;
  position: absolute;
  left: calc(50%);
  transition: 0.5s;
}
#mouse-circle::after {
}

#mouse-circle.text {
  transition-delay: 0.2s;
  border: 3px solid #ff3a0400;
  /* width: 4px;
    height: 20px;
    margin-top: 10px;
    margin-left: 10px; */
  border-radius: 50%;
  transition: border 0.5s 0.25s;
}

#mouse-circle.text::before,
#mouse-circle.text::after {
  content: " ";
  display: block;
  height: 18px;
  width: 4px;
  background: #ff3a04;
  border-radius: 5px;
  position: absolute;
  left: calc(50% - 2px);
  transition: all 1s, transform 1s 0.5s, border-radius 0s 0s;
}
#mouse-circle.text::before {
  top: 5px;
  transform: rotate(0deg);
}
#mouse-circle.text::after {
  bottom: 5px;
  transform: rotate(-0deg);
}

#mouse-circle:not(.text):not(.pointer):before,
#mouse-circle:not(.text):not(.pointer):after {
  height: 0px;
  width: 0px;
}
#mouse-circle::before {
  top: calc(50%);
}
#mouse-circle::after {
  bottom: calc(50%);
}
