/*
 * Custom cursor: a yellow dot that trails the pointer (moved by js/cursor.js)
 * and grows over anything marked with data-hover.
 * Only used on devices with a real mouse.
 */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: none;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--yellow);
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transition: width .4s ease, height .4s ease, margin .4s ease, opacity .4s ease;
}

.cursor.big {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
}

@media (hover: hover) and (pointer: fine) {
  body,
  .roll {
    cursor: none;
  }

  .cursor {
    display: block;
  }
}
