body{
    overflow-x: hidden;
} 
:root{

    /*      Theme colors        */
    --text-gray: #3f4954;
    --text-light : #686666da;
    --bg-color: #0f0f0f;
    --white: #ffffff;
    --midnight: #104f55;

    /* gradient color   */
    --sky: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);

    /*      theme font-family   */
    --Abel: 'Abel', cursive;
    --Anton: 'Anton', cursive;
    --Josefin : 'Josefin', cursive;
    --Lexend: 'Lexend', cursive;
    --Livvic : 'Livvic', cursive;
}


/* ---------------- Global Classes ---------------*/

.cont1 a{
    text-decoration: none;
    color: rgb(255, 47, 64);
    font-family: sans-serif;
}

.cont1 .flex-row{
    display: flex;
    flex-direction: row;    
    flex-wrap: wrap;
}

ul{
    list-style-type: none;
}

.cont1 h1{
    font-family: sans-serif;
    font-size: 2.5rem;
}

.cont1 h2{
    font-family: sans-serif;
}
.cont1 h3{
    font-family: sans-serif;
    font-size: 1.3rem;
}
.cont1 button .btn{
    border: none;
    border-radius: 2rem;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-family: sans-serif;
    cursor: pointer;
}

.cont1 span{
    font-family: sans-serif;
}

.cont1 {
    margin: 0 5vw;
    /* width: 80%; */
    font-family: sans-serif;
}

.text-gray{
    color: var(--text-gray);
}

.cont1 p{
    font-family: sans-serif;
    color: #030342;
}

/* ------x------- Global Classes -------x-------*/

/* ----------------- Main Content----------- */

/* --------------- Site title ---------------- */
main .site-title{
    background: url('../assets/Background-image.png');
    background-size: cover;
    height: 110vh;
    display: flex;
    justify-content: center;
}

main .site-title .site-background{
    padding-top: 10rem;
    text-align: center;
    color: var(--white);
}

main .site-title h1, h3{
    margin: .3rem;
    font-family: sans-serif;
}

main .site-title .btn{
    margin: 1.8rem;
    background: var(--sky);
}

main .site-title .btn:hover{
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

/* --------x------ Site title --------x------- */

/* --------------- Blog Carousel ------------ */

main .blog{
    background: url('../assets/Abract01.png');
    background-repeat: no-repeat;
    background-position: right;
    height: 100vh;
    width: 100%;
    background-size: 65%;
}

main .blog .blog-post{
    padding-top: 6rem;
}

main .blog-post .blog-content{
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 80%;
    margin: 3rem 2rem;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
}

main .blog-content .blog-title{
    padding: 2rem 0;
}

main .blog-content .btn-blog{
    padding: .7rem 2rem;
    background: var(--sky);
    margin: .5rem;
}

main .blog-content span{
    display: block;
}

section .container .owl-nav{
    position: absolute;
    top: 0%;
    margin: 0 auto;
    width: 80%;
}

.owl-nav .owl-prev .owl-nav-prev,
.owl-nav .owl-next .owl-nav-next{
    color: var(--text-gray);
    background: transparent;
    font-size: 2rem;
}

.owl-theme .owl-nav [class*='owl-']:hover{
    background: transparent;
    color: var(--midnight);
}

.owl-theme .owl-nav [class*='owl-']{
    outline: none;
}


/* -------x------- Blog Carousel -----x------ */

/* ---------------- Site Content ----------------*/

main .site-content{
    display: grid;
    grid-template-columns: 70% 30%;
    width: 100%;
    margin-left: 50px;
}
main .post-content{
    width: 100%;
}
main .site-content .post-content > .post-image, .post-title{
    padding: 1rem 2rem;
    position: relative;
    font-family: sans-serif;
}
main .site-content .post-content > .post-image .post-info{
    background: yellow;
    padding: 1rem;
    position: absolute;
    bottom: 0%;
    left: 20vw;
    border-radius: 3rem;
    margin-left: -40px;
}
main .site-content .post-content > .post-image .post-info i{
    color: #030342;
}

main .site-content .post-content > .post-image > div{
    overflow: hidden;
}

main .site-content .post-content > .post-image .img{
    width: 90%;
    height: 70%;
    transition: all 1s ease;
}

main .site-content .post-content > .post-image .img:hover{
    transform: scale(1.3);
}

main .site-content .post-content > .post-image .post-info span{
    margin: 0 .5rem;
    color: #030342;
}

main .post-content .post-title a{
    font-family: sans-serif;
    font-size: 30px;
    color: #030342;
    font-weight: 600;
}
main .post-content .post-title p{
    font-family: sans-serif;
    font-size: 18px;
    color: #030342;
    text-align: justify;
}
.site-content .post-content .post-title .post-btn{
    border-radius: 5px;
    padding: .7rem 1.5rem;
    background: green;
    width: 250px;
}
.site-content .post-content .post-title .post-btn h4{
    color: white;
    font-size: 20px;
}
.site-content .pagination{
    justify-content: center;
    color: var(--text-gray);
    margin: 4rem 0;
}

.site-content .pagination a{
    padding: .6rem .9rem;
    border-radius: 2rem;
    margin: 0 .3rem;
    font-family: sans-serif;
}

.site-content .pagination .pages{
    background: var(--text-gray);
    color: var(--white);
}

/* -------x-------- Site Content --------x-------*/


/* --------------- Sidebar ----------------------- */

.site-content > .sidebar .category-list{
    font-family: sans-serif;  
}
.site-content > .sidebar .category-list .list-items{
    background: green;
    padding: .4rem 1rem;
    margin: .8rem 0;
    border-radius: 3rem;
    width: 70%;
    display: flex;
    justify-content: space-between;
    font-family: sans-serif;
    
}
.site-content > .sidebar .category-list .list-items a{
    color: white;
    font-family: sans-serif;
}

.site-content .sidebar .popular-post .post-content{
    padding: 1rem 0;
}

.site-content .sidebar .popular-post h2{
    padding-top: -2rem;
}

.site-content .sidebar .popular-post .post-info{
    padding: .4rem .1rem !important;
    bottom: 0rem !important;
    left: 4.5rem !important;
    border-radius: 0rem !important;
    background: rgb(3, 243, 3) !important;
}
.site-content .sidebar .popular-post .post-title h1{
    font-size: 1.5rem;
    color: #02093b;
    font-weight: 600;

}
.site-content .sidebar .popular-post .post-title h3{
    font-size: 1rem;
    color: #02093b;
    font-weight: 600;

}
.site-content .sidebar .newsletter{
    padding-top: 10rem;
}

.site-content .sidebar .newsletter .form-element{
    padding: .5rem 2rem;
}

.site-content .sidebar .newsletter .input-element{
    width: 80%;
    height: 1.9rem;
    padding: .3rem .5rem;
    font-family: var(--Lexend);
    font-size: 1rem;
}

.site-content .sidebar .newsletter .form-btn{
    border-radius: 0;
    padding: .8rem 32%;
    margin: 1rem 0;
    background: var(--sky);
}
.site-content .sidebar .popular-tags{
    padding: 5rem 0;
}

.site-content .sidebar .popular-tags .tags .tag{
    background: var(--sky);
    padding: .4rem 1rem;
    border-radius: 3rem;
    margin: .4rem .6rem;
}
.side-topic h5{
    font-family: sans-serif;
    font-size: 36px;
    font-weight: 400;
}

/* -------x------- Sidebar -----------x----------- */

/* ---------x------- Main Content -----x----- */

/*        Viewport less then or equal to 1130px            */

@media only screen and (max-width: 769px) {
    main .site-content .post-content > .post-image .post-info {
        left: 3rem !important;
        border-radius: 3rem;
        margin-top: 90px;
    }
    .site-content .sidebar .popular-post .post-info{
        display: block !important;
        left: 30rem;
        background: #a1c4fd;
    }
    .site-content .sidebar .popular-post .post-info{
        padding: .4rem .1rem !important;
        bottom: 0rem !important;
        margin-left: -1rem !important;
        border-radius: 0rem !important;
        background: rgb(3, 243, 3) !important;
    }
    main .site-content{
        grid-template-columns: 100%;
    }
    main .site-content .posts{
        margin-left: -60px;
        
    }
    main .site-content .post-title{
        width: 370px;
    }
    main .site-content p{
        font-family: sans-serif;
        text-align: justify;

    }
    main .site-content .post-image {
        width: 390px;
    }
    /* Side bar */

    .site-content > .sidebar .category-list{
        font-family: sans-serif;  
        margin-left: -35px;
    }
    .site-content .sidebar .popular-post {
        font-family: sans-serif;  
        margin-left: -35px;
    }
    .site-content .sidebar .popular-post .post-content{
        font-family: sans-serif;  
        margin-left: -25px;
}

}

