


/*===========================
       16.ABOUT css 
===========================*/



.about-area{}


.about-image{
    max-width: 510px;
    
    & img{
        width: 100%;
        height: 520px;
        object-fit: cover;
        object-position: center;
        
        @media #{$xs}{
            height: 420px;
        }
    }
}
.about-content{
    max-width: 510px;
    
    & .sub-title{
        font-size: 18px;
        font-weight: 400;
        font-family: $font-1;
        color: $theme-color-2;
        
        @media #{$xs}{
            font-size: 16px;
        }
        @media #{$sm}{
            font-size: 18px;
        }
    }
    & .main-title{
        font-size: 32px;
        margin-top: 10px;
        
        @media #{$xs}{
            font-size: 24px;
        }
        @media #{$sm}{
            font-size: 32px;
        }
    }
    & p{
        margin-top: 20px;
    }
    & .about-items{
        margin-top: 30px;
        
        & .about-icon{
            & i{
                text-align: center;
                width: 70px;
                height: 70px;
                line-height: 66px;
                border: 2px solid;
                border-radius: 5px;
                font-size: 36px;
                
                @media #{$xs}{
                    width: 50px;
                    height: 50px;
                    line-height: 46px;
                    font-size: 24px;
                }
                @media #{$sm}{
                    width: 70px;
                    height: 70px;
                    line-height: 66px;
                    font-size: 36px;
                }
            }
        }
        & .about-items-text{
            padding-left: 25px;
            max-width: 320px;
            
            & .title{
                font-size: 18px;
            }
            & p{
                margin-top: 10px;
            }
        }
        
        &:nth-child(2n+1){
            & .about-icon{
                & i{
                    color: $theme-color-2;
                    border-color: rgba($theme-color-2, 0.3);
                }
            }
            & .about-items-text{
                & .title{
                    color: $theme-color-2;
                }
            }
        }
        
        &:nth-child(2n+2){
            & .about-icon{
                & i{
                    color: $theme-color;
                    border-color: rgba($theme-color, 0.3);
                }
            }
            & .about-items-text{
                & .title{
                    color: $theme-color;
                }
            }
        }
    }
}















