.scrollbar {
    margin-left: auto;
    position: fixed;
    z-index: 99;
    height: 100%;
    top: 0;
    cursor: pointer;
    background-color: rgb(160,160,160);

    -webkit-transition: filter 0.4s, width 0.4s ease-in-out, left 0.4s ease-in-out;
    -moz-transition: filter 0.4s, width 0.4s ease-in-out, left 0.4s ease-in-out;
    -o-transition: filter 0.4s, width 0.4s ease-in-out, left 0.4s ease-in-out;
    -ms-transition: filter 0.4s, width 0.4s ease-in-out, left 0.4s ease-in-out;
    transition: filter 0.4s, width 0.4s ease-in-out, left 0.4s ease-in-out;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}

.scrollbar:hover .thumb{
    filter: brightness(145%);
}

.scrollbar .thumb{
    background-color: var(--themePink);
    position: absolute;
    width: 100%;
}

.scrollbar .thumb.hold {
    filter: brightness(80%);
}

@media screen and (min-width: 860px) {
    .scrollbar{
        width: 8px;
        left: calc(100% - 8px);
    }

    .scrollbar:hover {
        width: 14px;
        left: calc(100% - 14px);
    }
}

@media screen and (max-width: 859px) {
    .scrollbar{
        width: 5px;
        left: calc(100% - 5px);
    }
}