@import url('fonts.css');



html,body{
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

:root{
    /*-------Theme color ----------*/
    --text-gray:#3f4954;
    --text-light:#686666da;
    --bg-color:#0f0f0f;
    --white:#fff;
    --midnight:#104f55;
    
    /*-------Gradient color ----------*/
    --sky:linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
    
    
    /*-------Theme Font family----------*/
    --Abel:'Abel', cursive;
    --Anton:'Anton', cursive;
    --Josefin:'Josefin', cursive;
    --Lexend:'Lexend', cursive;
    --Livvic:'Livvic', cursive;

}
/*----------------Global classes------------------*/
a{
    text-decoration: none;
    color:var(--midnight);
}
.flex-row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
ul{
    
    list-style: none;
}
h1{
    font-family: var(--Lexend);
    font-size: 2.5rem;
}
h2{
    font-family: var(--Lexend);
}
h3{
    font-family: var(--Abel);
    font-size: 1.3rem;
}
button.btn{
    border: none;
    border-radius: 2rem;
    padding:1rem 3rem;
    font-size: 1rem;
    font-family: var(--Livvic);
    cursor: pointer;
    outline:none;
    
}
span{
    font-family: var(--Abel);
}
.container{
    margin: 0.5vw;
}
.text-gray{
    color:var(--text-gray);
}
p{
    font-family: var(--Lexend);
    color:var(--text-light);
}
/*------*----------Global Classes------*------------*/


/*----------------Navbar------------------*/
.nav{
    background: #fff;
    padding: 0 2rem;
    height: 0rem;
    min-height: 10vh;
    overflow: hidden;
    transition: height 1s ease-in-out;
}
.nav .nav-menu{
    justify-content: space-between;
}

.nav .toggle-collapse{
    position: absolute;
    top:0;
    width: 90%;
    cursor: pointer;
    display: none;
}
.nav .toggle-collapse .toggle-icons{
    display: flex;
    justify-content: flex-end;
    padding: 1.7rem 0;  
}

.nav .toggle-collapse .toggle-icon i{
    font-size: 1.4rem;
    color:var(--text-gray);
}

.collapse{
    height:30rem;
}

.nav .nav-item{
    display: flex;
    margin: 0;
}
.nav .nav-item .nav-link{
    padding: 1.6rem 1rem;
    font-size: 1rem;
    position: relative;
    font-family: var(--Abel);
    font-size: 1.1rem;
}
.nav .nav-item .nav-link:hover{
    background-color: var(--midnight);
}
.nav .nav-item .nav-link:hover a{
    color:white;
}
.nav .nav-brand a{
    font-size: 1.6rem;
    padding:1rem 0;
    display: block; 
    font-family:var(--Lexend);
    font-size: 1.6rem;
    
}
.nav .social{
    padding: 1.4rem 0rem;
    
}
.nav .social a{
    padding: 0.2rem;
}
.nav .social i:hover{
    color:#a1c4cf;
}

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

/*-------------Site tile-----------------*/
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;
}
main .site-title .btn{
    margin: 1.8rem;
    background: var(--sky);   
}
main .site-title .btn:hover{
    background: transparent;
    border:1px solid white;
    color:white;
}

/*-------------Site tile-----------------*/

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

main .blog{
    background: url(../assets/Abract01.png);
    background-repeat: no-repeat;
    background-position: right;
    height: 100vh;
    width: 100%;
    background-size: 68%;
}
main .blog .blog-post{
    padding-top: 6rem;
    
}
main .blog-post .blog-content{
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 80%;
    height: 26rem;
    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: 100%; 

}
.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:darkslategrey;
}
.owl-theme .owl-nav [class*=owl-]{
    outline: none;
}
/*----------------Blog Carousel-----------------*/

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

main .site-content{
    display: grid;
    grid-template-columns:70% 30%;
}
main .post-content{
    width: 100%;margin-top: 2rem;
    
}
main .site-content .post-content > .post-image, .post-title{
    padding: 1rem 2rem;
    position: relative;
}
main .site-content .post-content > .post-image .post-info{
    background: var(--sky);
    padding:1rem 1rem;position: absolute; bottom: 0%;
    left:20vw;border-radius: 3rem;
}
main .site-content .post-content > .post-image > div{
    overflow: hidden;
    
}
main .site-content .post-content > .post-image .img{
    width: 100%;
    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;
}
main .post-content .post-title a{
    font-family: var(--Anton);
    font-size: 1.5rem;
}
.site-content .post-content .post-title .post-btn{
    border-radius: 0;
    padding: 0.7rem 1.5rem;
    background: var(--sky);
}

.site-content .pagination{
    justify-content: center;
    color:var(--text-gray);
    margin: 4rem 0;
}
.site-content .pagination a{
    padding: 0.6rem 0.9rem;
    border-radius: 2rem;
    margin: 0.3rem;
    font-family: var(--Lexend);
}
.site-content .pagination .pages{
    background: var(--text-gray);
    color:white;
}
/*-----------------------------------------Site Content---------------------------------*/


/*-----------------------------------------side bar---------------------------------*/

.site-content .sidebar .category-list{
    font-family: var(--Livvic);
}

.site-content > .sidebar .category-list .list-items{
    background: var(--sky);
    padding:.4rem 1rem;
    margin: .8rem 0;
    border-radius: 3rem;
    width: 70%;
    display: flex;
    justify-content: space-between;
}
.site-content > .sidebar .category-list .list-items a{
    color:black;
}
.site-content .sidebar .popular-post .post-content{
    padding: 1rem 0;
    
}
.site-content .sidebar .popular-post h2{
    padding-top: 8rem;
}
.site-content .sidebar .popular-post .post-info{
    padding: .4rem .1rem !important;
    bottom: 0rem !important;
    left:1.5rem !important;
    border-radius: 0rem !important;
    background: white !important;
}
.site-content .sidebar .popular-post .post-title a{
    font-size: 1rem;
}
.site-content .sidebar .newsletter{
    padding-top: 10rem;
    
}
.site-content .sidebar .newsletter .form-element{
    padding: .5rem 2rem;
}
.site-content .sidebar .newsletter .form-element .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 bar--------------*-------------------*/

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

/*-------------footer--------------*/
footer.footer{
    height: 100%;
    background: var(--bg-color);
    position: relative;
}
footer.footer .container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    
}
footer.footer .container > div{
    flex-grow: 1;   
    flex-basis: 0;
    padding: 3rem .9rem; 
}
footer.footer .container h2{
    color:white;
}
footer.footer .newsletter .form-element{
    background: black;
    display: inline-block;
}
footer.footer .newsletter .form-element input{
    padding: .5rem .7rem;
    border: none;
    background: transparent;
    color:white;
    font-family: var(--Josefin);
    font-size: 1rem;
    width: 75%;
}
footer.footer .newsletter .form-element span{
    background: var(--sky);
    padding: .5rem .7rem;
    cursor: pointer;
}
footer.footer .instagram div > img{
    display: inline-block;
    width: 25%;
    height: 50%;
    margin:.3rem .4rem;
}
footer.footer .follow div i{
    color:white;
    padding: 0 
}
footer.footer .rights{
    justify-content: center;
    font-family: var(--Josefin);
}
footer.footer .rights h4 a{
    color: white;
}
footer.footer .move-up{
    position: absolute;
    right: 6%;
    top:50%;
}
footer.footer .move-up span{
    color:var(--midnight);
}
footer.footer .move-up span:hover{
    color:white;
    cursor: pointer;
}
/*------*-------footer------*--------*/





/* ----------Viewport less then of equal to 11300px----------*/

@media only screen and (max-width:1130px){
    .site-content .post-content > .post-image .post-info{
        left:2rem !important;
        bottom:1.2rem !important;
        border-radius: 0% !important;
    }
    .site-content .sidebar .popular-post .post-info{
        display:none !important;
    }
    footer.footer .container {
        grid-template-columns: repeat(2, 1fr);
    }
     main .sidebar{
        margin-top: 5rem;
    }
    .site-content .sidebar .popular-post .post-content{
        
    }
}

/* ----------Viewport less then of equal to 11300px----------*/



/* ----------Viewport less then of equal to 750px----------*/
@media only screen and (max-width:750px){
    nav .nav-menu, .nav .nav-item{
        flex-direction: column;
    }
    .nav .toggle-collapse{
        display: initial;
    }
    main .site-content{
        grid-template-columns: 100%;
    }
    footer.footer .container{
        grid-template-columns: repeat(1, 1fr);
    }
   
}

/* -----*-----Viewport less then of equal to 750px----*----*/

/* ----------Viewport less then of equal to 520px--------*/
@media only screen and (max-width:520px){
    main .blog{
        height:125vh;
    }
    .site-content .post-content > .post-image .post-info{
        display: none;
    }
    footer.footer .container > div{
        padding: 1rem .9rem !important;
        
    }
    footer.footer .rights{
        padding:0 1.4rem;
        text-align: center;
    }
    nav .toggle-collapse{width: 80% !important;}
}

/* -----*-----Viewport less then of equal to 520px----*----*/