@media only screen and (max-width: 767px) {
  .twist-custom-cursor {
    display: none !important;
  }
}

@media only screen and (min-width: 768px) {

  .twist-custom-cursor {
    position: fixed;
    width: 1px;
    height: 1px;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1000;
  }

  .twist-custom-cursor:after,
  .twist-custom-cursor .cursor-wrapper {
    position: absolute;
    clip-path: inset(0 round 100%);
    top: 0;
    left: 0;
    transform-origin: center;
    transform: translate(-50%, -50%);
  }
  
/*  .twist-custom-cursor:after {
    display: block;
    content: '';
    background-color: var(--corAzulEscuro);
    width: 0.8rem;
    height: 0.8rem;
  }*/

  .twist-custom-cursor .cursor-wrapper {
    display: grid;
    place-content: center;
    background-color: color-mix(in srgb, var(--corAzulEscuro) 40%, transparent);
    backdrop-filter: blur(10px);
    width: 8rem;
    height: 8rem;
    clip-path: inset(100% round 100%);
    opacity: 0;
  }

  .twist-custom-cursor .cursor-wrapper .cursor-label {
    font-size: 1rem;
    color: var(--corBranca);
    font-weight: normal;
    opacity: 0;
    transform: translateY(100%);
  }

  .twist-custom-cursor:after,
  .twist-custom-cursor .cursor-wrapper,
  .twist-custom-cursor .cursor-wrapper .cursor-label {
    transition: var(--transicao);
  }

  .twist-custom-cursor.text-mode:after {
    clip-path: inset(100% round 100%);
    opacity: 0;
  }

  .twist-custom-cursor.text-mode .cursor-wrapper {
    clip-path: inset(0 round 100%);
    opacity: 1;
  }

  .twist-custom-cursor.text-mode .cursor-wrapper .cursor-label {
    transform: translateY(0);
    transition-delay: 0.2s;
    transition-duration: 0.03;
    opacity: 1;
  }

}