/* this is for the header section done by kamindu manually */
.custom-header-wrapper{
    width: 100%;
    min-height: 1000px;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: -20px;
}

.overlay-wrapper{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    position: relative;
}

.intro-section{
   position: absolute;
   top: 50%;
   transform: translateY(-50%); 
   transition: all .6s ease-in-out;
}

/* .header-text-wrapper{
    padding: 20px;
} */

/* media query */
@media(max-width:1023px){
    .custom-header-wrapper{
        min-height: auto;
        margin-top: 0px;
    }

    .intro-section{
        top: auto;
        bottom: 20%;
        transform: translateY(0%); 
        padding: 15px !important;
        width: 80%;
        left: 10%;
        text-align: center;
     }

     .intro-section p{
         text-align: center !important;
     }
}

/* ========================================================================================================================= */
/* =========================================blog============================================================================ */

.blog-content-wrapper{
    padding: 30px 0;
}

.single-blog-post{
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #cacaca;
    border-radius: 6px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.single-blog-post-inner {
    display: flex;
    flex-flow: row;
    /* justify-content: space-around; */
    align-items: center;
}

.single-blog-post-image{
    display: inline-block;
    margin-right: 20px;
    max-width: 20%;
}

.single-blog-post-content{
    max-width: calc(70% - 20px);
}

.single-blog-post-content h2{
    margin-top: 0;
}

.single-blog-post-content h2{
    font-size: 50px;
    line-height: 50px;
}

.single-blog-post-button{
    border : 2px solid #ffb400;
    padding: 10px 25px;
    display: inline-block;
    margin-top: 15px;
}

.single-post-thumbnail{
    max-width: 100%;
    /* text-align: center; */
    margin-bottom: 20px;
}

.single-post-thumbnail img{
    max-width: 100%;
}

@media(max-width:1023px){

    .single-blog-post-inner{
        flex-flow: column;
        justify-content: center;
    }

    .single-blog-post-content h2{
        font-size: 28px;
        line-height: 28px;
    }

    .single-blog-post-image , .single-blog-post-content{
        
        margin-right: 0px;
        max-width: 100%;
    } 
    
}