#scrollToTopBtn {
    position:fixed;
    bottom:20px;
    right:20px;
    width:40px;
    height:40px;
    background-color:rgba(240,240,240,.5);
    color:#fff;
    border-radius:50%;
    cursor:pointer;
    outline:0;
    opacity:.7;
    transition:background-color .3s;
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
    min-height:40px
}
#scrollToTopBtn:hover {
    opacity:1;
    background-color:rgba(224,224,224,.7)
}
#scrollToTopBtn svg {
    width:20px;
    height:20px
}
@media screen and (max-width:768px) {
    #scrollToTopBtn {
        bottom:40px;
        right:20px;
        min-height:40px
    }
}