/* Windows 95 style cursor */
body, * {
  cursor: url('../img/cursor.png'), auto;
}

/* Windows 95 style pointing hand cursor for text links only */
/* Exclude buttons and window controls */
a:not(.close):not([class*="button"]):not([aria-label]), a:not(.close):not([class*="button"]):not([aria-label]) * {
  cursor: url('../img/pointer.png'), pointer;
}

/* Keep default arrow cursor for buttons and window controls */
button, button *, .close, [aria-label] {
  cursor: url('../img/cursor.png'), auto;
}

/* Cursor trail elements */
.cursor-trail {
  position: fixed;
  width: 10px;
  height: 19px;
  pointer-events: none;
  z-index: 999999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
  background-image: url('../img/cursor.png');
  background-repeat: no-repeat;
  background-size: 10px 19px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* Pointer variant for trails over clickable elements */
.cursor-trail.cursor-trail-pointer {
  width: 17px;
  height: 22px;
  background-image: url('../img/pointer.png');
  background-size: 17px 22px;
}

.cursor-trail.fade-out {
  opacity: 0;
}
