$color: rgb(76, 234, 145);
// $color: #fff01f;

#nprogress {
  pointer-events: none;

  .bar {
    background-color: $color;
    position: fixed;
    z-index: 1031;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.5vh;
  }

  .peg {
    display: block;
    position: absolute;
    right: 0;
    width: 100px;
    height: 100%;
    box-shadow:
      0 0 10px $color,
      0 0 5px $color;
    opacity: 1;
    transform: rotate(3deg) translate(0px, -4px);
  }

  .spinner {
    display: none;
  }
}

.nprogress-custom-parent {
  overflow: hidden;
  position: relative;

  #nprogress .bar {
    position: absolute;
  }
}
