html {
    /* 🔑 Esta propiedad hace que todos los scrolls a anclas sean suaves 🔑 */
    scroll-behavior: smooth;
}

.scroll-to-top {
    position: fixed;
    bottom: 3vw;
    right: 4vw;

    border: none;
    cursor: pointer;
    visibility: hidden;
    background-color: transparent;
    transition: .6s;
    z-index: 1000;

    img {
        position: inherit;
        width: 2vw;
        height: 2vw;
    }
}

/* Clase que se agregará/quitará con JavaScript */
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {

    .scroll-to-top {
        bottom: 8vw;
        right: 6.5vw;

        width: 7vw;
        height: 7vw;

        img {
            width: 7vw;
            height: 7vw;
        }
    }


}