.scroll-to-top {
    background-color: var(--bs-secondary);
    color: whitesmoke;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 10rem;
    right: 1rem;
    visibility: hidden;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.4s ease-in-out;
}

.scroll-to-top.visible {
    visibility: visible;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 768px) {

    .scroll-to-top {
        bottom: 5rem;
        width: 58px;
        height: 58px;
    }

    .scroll-to-top svg {
        width: 32px;
        height: 32px;
    }

}


