/**
 * [Scroll to top button]
 * Fixed circular button, bottom-right, hidden until .is-visible is toggled
 * on by assets/js/scroll-top.js once the page scrolls past the fold.
 */
.scroll-top-btn {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background-color: rgba(33, 37, 41, .2);
    color: #fff;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(.5rem);
    transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease;
    z-index: 1020;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible {
    background-color: rgba(33, 37, 41, .4);
    color: #fff;
}

.scroll-top-btn i {
    font-size: 1.1rem;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .scroll-top-btn {
        right: 1rem;
        bottom: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}
