//>>>>> Component Button Here <<<<<//
.theme-btn {
    display: inline-block;
    vertical-align: middle;
    background-color: $theme-color;
    color: $white;
    font-size: 17px;
    font-weight: 800;
    padding: 9px 15px 9px 30px;
    @include transition;
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: 72px;
    font-family: 'Nunito', sans-serif;
    line-height: 1;

    @include breakpoint(max-sm){
        padding: 5px 10px 5px 20px;
        font-size: 16px;
    }

    &.theme-btn-2 {
        background-color: $theme-color-2;

        &::before{
            background-color: $header-color;
        }

        &::after{
            background-color: $header-color;
        }
    }

    span{
        position: relative;
        color: $white;
        z-index: 999;
        margin-right: 25px;
        @include breakpoint(max-sm){
            margin-right: 15px;
        }
    }

    i {
        position: relative;
        color: $header-color;
        z-index: 999;
        width: 48px;
        height: 48px;
        line-height: 48px;
        background-color: $white;
        border-radius: 50%;
    }

    &::before{
        content: "";
        position: absolute;
        top: -50%;
        left: 50%;
        transform: translateX(-50%);
        height: 150%;
        border-top-left-radius: 50%;
        border-top-right-radius: 50%;
        background-color: $theme-color-2;
        transition: 700ms cubic-bezier(0.52, 1.64, 0.37, 0.66);
    }
    &::after{
        content: "";
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 150%;
        height: 150%;
        border-bottom-left-radius: 50%;
        border-bottom-right-radius: 50%;
        background-color: $theme-color-2;
        transition-duration: 700ms;
        transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    }
    &:hover{
        background-color: $theme-color-2;
        color: $white;
        &::before{
            top: 100%;
        }
        &::after{
            bottom: -50%;
        }
    }
}


//>>>>> Component Button End <<<<<//