@import '@/assets/scss/variables';
@import '@/assets/scss/partial';

.commonBtn{
    display: inline-flex;
    align-items: center;
    transition: 0.3s ease-in-out;
    .btnText{
        background-color: $white;
        border: 1px solid $white;
        outline: none;
        font-size: 13px;
        line-height: 1;
        font-weight: 400;
        color: $black;
        letter-spacing: -0.17px;
        padding: 8px 8px;
        height: 34px;
        border-radius: 71px;
        display: inline-flex;
        align-items: center;
        min-width: 100px;
        justify-content: center;
        transition: 0.3s ease-in-out;
        @media (min-width: $xsm) {
            font-size: 14px;
            padding: 8px 12px;
            height: 40px;
        }
        @media (min-width: $md) {
            padding: 10px 16px;
        }
        @media (min-width: $xl) {
            padding: 13px 20px;
            font-size: 16px;
            height: 50px;
        }
        @media (min-width: $xxl) {
            font-size: 18px;
            height: 54px;
        }
        @media (min-width: $xxxl) {
            padding: 18px 25px;
            height: 60px;
        }
    }
    .iconBtn{
        width: 34px;
        height: 34px;
        border: 1px solid $white;
        border-radius: 100%;
        background-color: $white;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s ease-in-out;
        @media (min-width: $xsm) {
            width: 40px;
            height: 40px;
        }
        @media (min-width: $xl) {
            width: 50px;
            height: 50px;
        }
        @media (min-width: $xxl) {
            width: 54px;
            height: 54px;
        }
        @media (min-width: $xxxl) {
            width: 60px;
            height: 60px;
        }
        i{
            color: $black;
            font-size: 16px;
            transform: rotate(-30deg);
            transition: 0.3s ease-in-out;
            @media (min-width: $xsm) {
                font-size: 18px;
            }
            @media (min-width: $xl) {
                font-size: 22px;
            }
            @media (min-width: $xxxl) {
                font-size: 24px;
            }
        }
    }
    &:hover{
        .btnText{
            background-color: transparent;
            color: $white;
        }
        .iconBtn{
            background-color: transparent;
            i{
                transform: rotate(0deg);
                color: $white;
            }
        }
    }
}