/* Make clicks pass-through */
#nprogress {
  pointer-events: none;
}

#nprogress .bar {
  background: var(--chakra-colors-blue-500);

  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;

  width: 100%;
  height: 2px;
}

/* Fancy blur effect */
#nprogress .peg {
  display: block;
  position: absolute;
  right: 0px;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px var(--chakra-colors-blue-500),
    0 0 5px var(--chakra-colors-blue-500);
  opacity: 1;

  -webkit-transform: rotate(3deg) translate(0px, -4px);
  -ms-transform: rotate(3deg) translate(0px, -4px);
  transform: rotate(3deg) translate(0px, -4px);
}

.chakra-ui-dark #nprogress .bar {
  background: var(--chakra-colors-blue-300);
}

.chakra-ui-dark #nprogress .peg {
  background: var(--chakra-colors-blue-300);
}
