html {
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.scrollToTop {
    display: none;
    position: fixed;
    right: 16px;
    bottom: 14px;
    z-index: 1000030;
    width: 64px;
    height: 72px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--clr-2);
    font-size: 10px;
    line-height: 1.1;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    text-align: center;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.scrollToTop.is-visible {
    display: block;
}

.scrollToTop::before {
    content: "";
    display: block;
    width: 44px;
    height: 44px;
    margin: 0 auto 4px;
    border-radius: 50%;
    background: var(--clr-1);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
    position: relative;
}

.scrollToTop::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 5px solid #fff;
    border-right: 5px solid #fff;
    transform: translateX(-50%) rotate(-45deg);
    border-radius: 2px;
}

.scrollToTop:hover {
    transform: translateY(-2px);
    filter: saturate(1.1);
}

.scrollToTop:active {
    transform: translateY(0);
}

@media (max-width: 760px) {
    .scrollToTop {
        right: 8px;
        bottom: 8px;
        width: 56px;
        height: 64px;
        font-size: 9px;
    }

    .scrollToTop::before {
        width: 38px;
        height: 38px;
        margin-bottom: 3px;
    }

    .scrollToTop::after {
        top: 14px;
        width: 9px;
        height: 9px;
        border-top-width: 4px;
        border-right-width: 4px;
    }
}
