.floating {
    position: fixed;
    bottom: 30px; right: 30px;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    z-index: 999;
}

.topBtn {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    text-align: center;
    line-height: 50px;
    color: #fff;
    background: var(--main-color);
    cursor: pointer;
}

.topBtn i {
    color: #fff;
    font-size: 22px;
}


/*==================================================*/
@media (max-width: 768px) {
    .floating {
        bottom: 20px; right: 20px;
    }
    
    .topBtn {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }

    .topBtn i {
        font-size: 17px;
    }
}