:root {
  --twitch-shadow-color: rgba(84, 0, 201, 0.73);
}

.border-flicker {
  animation: border-flicker-twitch 2s linear infinite;
}

@keyframes border-flicker-twitch {
  0% {
    opacity: 0.1;
    -webkit-box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
    -moz-box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
    box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
  }
  2% {
    opacity: 1;
    -webkit-box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
    -moz-box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
    box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
  }
  4% {
    opacity: 0.1;
    -webkit-box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
    -moz-box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
    box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
  }

  8% {
    opacity: 1;
    -webkit-box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
    -moz-box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
    box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
  }
  70% {
    opacity: 0.7;
    -webkit-box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
    -moz-box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
    box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
  }
  100% {
    opacity: 1;
    -webkit-box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
    -moz-box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
    box-shadow: 0px 0px 78px 4px var(--twitch-shadow-color);
  }
}

/* --------------- ScrollBarr ------------------ */

body::-webkit-scrollbar {
  width: 0;
}

#scrollPath {
  position: fixed;
  top: 0;
  right: 0;
  width: 10px;
  height: 100%;
  background: rgba(255, 255, 255, 0.404);
  z-index: 1;
}

#progressBar{
  z-index: 1;
  position: fixed;
  top: 0;
  right: 0;
  width: 10px;
  background: linear-gradient(to top, #008aff, #00ffe7);
  animation: animate 5s linear infinite;
}

@keyframes animate{
  0%,100%{
    filter: hue-rotate(0deg)
  }
  50%{
    filter: hue-rotate(360deg)
  }
}


#progressBar::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #008aff, #00ffe7);
  filter: blur(10px);
}

#progressBar::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #008aff, #00ffe7);
  filter: blur(30px);
}