/*============= BUTTONS CSS AREA ===============*/
.theme-btn1 {
    display: inline-block;
    border-radius: 25px;
    border: 1px solid $bg-color2;
    background: $bg-color2;
    color: $color-w;
    font-family: $font-2;
    font-size: $small_font_size  + 2;
    font-style: normal;
    font-weight: $semi_bold;
    line-height: 18px;
    padding: 14px 24px;
    transition: $trans1;
    position: relative;
    z-index: 1;
    overflow: hidden;
    &::after{
        position: absolute;
        content: "";
        height: 100%;
        width: 0;
        left: 0;
        top: 0;
        border-radius: 35px;
        transition: $trans2;
        background: $color10;
        z-index: -1;
    }
    span {
        display: inline-block;
        transform: rotate(-45deg);
        margin-left: 3px;
    }
    &:hover {
        &::after{
            height: 100%;
            width: 100%;
            transition: $trans1;
        }
        color: $color-w;
        background: $color10;
        transition: $trans1;
        border: 1px solid $color10;
        transform: translateY(-5px);
    }
}

.learn-more {
    color: $title-color1;
    font-size: $small_font_size + 2;
    font-style: normal;
    font-weight: $medium;
    line-height: 18px;
    transition: $trans1;
    span {
        display: inline-block;
        transform: rotate(-45deg);
    }
    &:hover {
        color: $bg-color2;
        transition: $trans1;
    }
}

.theme-btn2 {
    position: relative;
    display: inline-block;
    font-size: $small_font_size + 2;
    color: $color-w;
    font-family: $font-2;
    line-height: 26px;
    font-weight: $semi_bold;
    color: $color-w !important;
    text-align: center;
    border-radius: 2px;
    padding: 14px 24px;
    z-index: 1;
    background: $bg-color3;
    border-radius: 5px;

    &:after {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: $bg24;
        border-radius: 2px;
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-transition-property: transform;
        transition-property: transform;
        -webkit-transition-duration: 0.5s;
        transition-duration: 0.5s;
        -webkit-transition-timing-function: ease-out;
        transition-timing-function: ease-out;
        border-radius: 5px;
    }

    &:hover {
        &:after {
            -webkit-transform: scaleX(1);
            transform: scaleX(1);
            -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
            transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
        }
    }
  }



  .cta2-btn {
    position: relative;
    display: inline-block;
    font-size: $small_font_size + 2;
    color: $color-w;
    font-family: $font-2;
    line-height: 26px;
    font-weight: $semi_bold;
    color: $title-color1;
    text-align: center;
    border-radius: 2px;
    padding: 14px 24px;
    z-index: 1;
    background: $color-w;
    border-radius: 5px;
    transition: $trans1;
    &:hover {
        color: $color-w;
        transition: $trans1;
    }

    &:after {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: $bg24;
        border-radius: 2px;
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-transition-property: transform;
        transition-property: transform;
        -webkit-transition-duration: 0.5s;
        transition-duration: 0.5s;
        -webkit-transition-timing-function: ease-out;
        transition-timing-function: ease-out;
        border-radius: 5px;
    }


    &:hover {
        &:after {
            -webkit-transform: scaleX(1);
            transform: scaleX(1);
            -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
            transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
        }
    }
  }


  .theme-btn3 {
    color: $title-color1;
    text-align: center;
    font-family: $font-2;
    font-size: $small_font_size + 2;
    font-style: normal;
    font-weight: $semi-bold;
    line-height: 18px;
    padding: 16px 24px;
    display: inline-block;
    border-radius: 25px;
    transition: $trans2;
    position: relative;
    z-index: 9;
    span {
        display: inline-block;
        position: relative;
        z-index: 99;
    }
    &::before {
        content: "";
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        position: absolute;
        background-color: $bg-color8;
        border-radius: 25px;
        z-index: 1;
    }
    &::after {
        content: "";
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        position: absolute;
        background-color: $bg-color7;
        border-radius: 25px;
        z-index: 2;
        transform: scale(0.4);
        transition: $trans2;
        visibility: hidden;
        opacity: 0;
    }
    &:hover{
        color: $title-color1;
        transition: $trans1;
        &::after {
            visibility: visible;
            transform: scale(1);
            transition: $trans1;
            border-radius: 25px;
            opacity: 1;
        }
    }
  }

  .theme-btn4 {
    color: $title-color1;
    text-align: center;
    font-family: $font-2;
    font-size: $small_font_size + 2;
    font-style: normal;
    font-weight: $semi-bold;
    line-height: 18px;
    padding: 16px 24px;
    display: inline-block;
    border-radius: 25px;
    transition: $trans2;
    position: relative;
    z-index: 9;
    span {
        display: inline-block;
        position: relative;
        z-index: 99;
    }
    &::before {
        content: "";
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        position: absolute;
        background-color: $color-w;
        border-radius: 25px;
        z-index: 1;
    }
    &::after {
        content: "";
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        position: absolute;
        background-color: $bg-color8;
        border-radius: 25px;
        z-index: 2;
        transform: scale(0.4);
        transition: $trans2;
        visibility: hidden;
        opacity: 0;
    }
    &:hover{
        color: $title-color1;
        transition: $trans1;
        
        &::after {
            visibility: visible;
            transform: scale(1);
            transition: $trans1;
            border-radius: 25px;
            opacity: 1;
        }
    }
  }

.theme-btn5 {
    color: $color-w;
    text-align: center;
    font-family: $font-2;
    font-size: $small_font_size + 2;
    font-style: normal;
    font-weight: $semi-bold;
    line-height: 18px;
    display: inline-block;
    border-radius: 4px;
    background: $bg-color9;
    padding: 18px 24px;
    transition: all .4s;

    &:hover {
        background-color: $bg25 !important;
        transition: all .4s;
        transform: translateY(-5px);
        color: $color-w;
    }
}

.theme-btn6{
    font-family: $font-2;
    font-size: $small_font_size + 2;
    line-height: 18px;
    color: $color-w !important;
    background: $color7;
    font-weight: $semi_bold;
    display: inline-block;
    transition: $trans1;
    padding: 6px 8px 6px 16px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    color: $color7;
    z-index: 2;
    &::after{
        position: absolute;
        content: "";
        height: 100%;
        width: 0;
        right: 0;
        top: 0;
        transition: $trans1;
        z-index: -1;
        background: $color-w;
        opacity: 0.1;
        border-radius: 25px;
    }
    span{
        height: 36px;
        width: 36px;
        text-align: center;
        background: $color-w;
        line-height: 36px;
        border-radius: 50%;
        display: inline-block;
        color: $color6;
        transform: rotate(-45deg);
        margin-left: 10px;
        transition: $trans1;
        position: relative;
        z-index: 2;
    }
    &:hover{
        &::after{
            height: 100%;
            width: 100%;
            opacity: 0.1;
            right: auto;
            left: 0;
            transition: $trans1;
        }
    }
}
.theme-btn7{
    font-size: $small_font_size + 2;
    font-family: $font-2;
    font-weight: $semi-bold;
    color: $color-w;
    display: inline-block;
    background: $color8;
    transition: $trans1;
    border-radius: 25px;
    padding: 6px 8px 6px 16px;
    position: relative;
    z-index: 1;
    &:hover{
        color: $color-w;
        transition: $trans1;
        &::after{
            visibility: visible;
            opacity: 1;
            transition: $trans1;
            width: 100%;
            height: 100%;
            left: 0;
            right: 0;
            top: 0;
            border-radius: 25px;
        }
    }
    &::after{
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 50%;
        right: 50%;
        top: 20px;
        z-index: -1;
        background: $color9;
        transition: $trans1;
        visibility: hidden;
        opacity: 0;
        border-radius: 50%;
    }
    span{
        height: 36px;
        width: 36px;
        text-align: center;
        line-height: 36px;
        background: $color-w;
        border-radius: 50%;
        transition: $trans1;
        color: $color8;
        display: inline-block;
        transform: rotate(-45deg);
        margin-left: 12px;
    }
}

/*============= BUTTONS CSS AREA ENDS ===============*/
