
/*Google Fonts library */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;1,200&family=Vollkorn:ital,wght@1,500&display=swap');

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

/*  Global Classes  */

a{
    text-decoration: none;
    color: black;
}

.flex-row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: black;
}

ul{
    list-style-type: none;
}

h1{
    font-family: 'Acme', sans-serif;
    font-size: 2.5rem;
}   

h3{
    font-family: 'Mulish', sans-serif;
    font-size: 1rem;
}   

button.btn{
    border: none;
    border-radius: 2rem;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-family:Arial, Helvetica, sans-serif;
}

span{
    font-family: Arial, sans-serif;
}

.container{
    margin: 0 5vw;
}

.text-gray{
    color:black;
}

p{
    font-family: 'Acme', sans-serif;
    color: gray;
}


  /*  Navbar */

.nav{
    background: #0a397acc;
    padding: 0 2rem;
    height: 0rem;
    min-height: 10vh;
    overflow: hidden;
    transition: height 1s ease-in-out;
}

a.text-gray {
    color: #e7e0e0;
}

.nav .nav-menu{
    justify-content: space-between;
}

.nav .toggle-collapse{
    position: absolute;
    top: 0rem;
    width: 90rem;
    cursor: pointer;
    display: none;
}

.nav .toggle-collapse .toggle-icon{
    display: flex;
    justify-content: flex-end;
    padding: 1.7rem 0;
}

.nav .toggle-collapse .toggle-icon i{
    font-size: 1.4rem;
    color: black;
}

.collapse{
    height: 30rem;
}
.nav .nav-items{
    display: flex;
    margin: 0;
}

.nav .nav-items .nav-link{
    padding: 1.6rem 1rem;
    font-size: 1.1rem;
    position:relative;
}

.nav .nav-items .nav-link:hover a{
    color: white;
    transition: 0.3s all;
    text-decoration: none;

}

.nav-link::after{
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: width 0.3;
}

.nav-link:hover::after{
    width: 100%;
    transition: width .3s;
}
.nav .nav-brand a{
    font-size: 2rem;
    padding: 0.7rem 2rem;
    display: block;
    font-family:system-ui,'Segoe UI', 'Open Sans', 'Helvetica Neue', sans-serif;
}

.nav .social{
    padding: 1.7rem 1rem;
}

.nav .social i{
    padding: 0 0.7rem;
}
.nav .social i:hover{
    color: white;
    transition: 0.3s;
}

   /*    Main Section- Title   */

main .title{
    background-image: url(P.Image/1.1.jpg);
    background-size: cover;
    height: 110vh;
    display: flex;
    justify-content: center;
}

main .title .title-background{
    padding-top: 12rem;
    text-align: center;
    color: Black;
}

main .title h1,h3{
    margin: 0.6rem;
}

main .title .btn{
    margin: 1.9rem;
    background-image: linear-gradient(to top, #133056 0%, #7fa6c4 100%);
}
 
main .title .btn:hover{
    background: transparent;
    border: 1px solid white;
    color: white;
}

/*    Main Section- Carousel   */

main .blogg{
    background: url(P.Image/abstract.png);
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    width: 100%;
    background-size: 100%;
}

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

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

main .blogg-content .blogg-title{
    padding: 1.5rem 2rem;
}

h3{
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    margin: 0.2rem 0;
}

h5{
    font-family:'Trebuchet MS', 'Lucida Sans', Arial;
    font-size: 0.8rem;
    margin: 1rem 0;
}

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

.owl-theme .owl-nav[class*='owl-']:hover{
    background: transparent;
    color: black;
    size: 2rem;
}

  /*      Site details Section       */

main .site-content{
    display: grid;
    grid-template-columns: 70% 30%;
}

main .post-content{
    width: 100%;
}    

main .site-content .post-content > .post-image, .post-title{
    padding: 1rem 2rem;
    position: relative;
}

main .site-content .post-content > .post-image .post-info{
    background: #5a9bf1;
    padding: 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 .post-content .post-title a{
    font-family: "Dela Gothic One", sans-serif;
    font-weight: 100;
    font-size: 2rem;
}

.site-content .post-content .post-title .post-btn{
    border-radius: 0;
    padding: .7rem 1.5rem;
    background: #5a9bf1;
}

.site-content .turnpage{
    justify-content: center;
    color: gray;
    margin: 4rem 0;
}

.site-content .turnpage a{
    padding: .6rem .9rem;
    border-radius: 2rem;
    margin: 0 .3rem;
    font-family: 'Lucida Grande', Verdana, sans-serif;
}

.site-content .turnpage .page{
    background: rgb(37, 36, 36);
    color: white;
}

/*     Sidebar Contents     */

.side-content> .sidebar .category-list{
    font-family:'Courier New', Courier, monospace;
    
}

.site-content > .sidebar .category-list .list-items{
    background: #3f86e4d9;
    padding: .7rem 1rem;
    margin: .8rem 0;
    border-radius: 3rem;
    width: 70%;
    display: flex;
    padding-left: 1.7rem;
}

h2{
    font-family: 'Lucida Sans',sans-serif;
}

.site-content > .sidebar .category-list .list-items a{
    color: black;
}

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

.site-content .sidebar .mostvisited-posts h2{
    padding-top: 8rem;
}

.site-content .sidebar .mostvisited-posts .post-info{
    padding: .4rem .1rem !important;
    bottom: 0rem !important;
    left: 1.5rem !important;
    border-radius: 0rem !important;
    background: rgb(236, 236, 236) !important;
}

.site-content .sidebar .mostvisited-posts .post-title a{
    font-size: 1rem;
    font-family: "Dela Gothic One", sans-serif;
    font-weight: 600;
}

.site-content .sidebar .most-searched-tags{
    padding: 8rem 0;
}
 
.site-content .sidebar .most-searched-tags .tag .name{
    background: #3f86e4d9;
    padding: .6rem 1rem;
    padding-left: 1rem;
    border-radius: 3rem;
    margin: .6rem .8rem;
}


/*    footer     */

footer.footer{
    height: 100%;
    background: rgb(24, 22, 22);
    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 1rem;
}

footer.footer .container h2{
    color: white;
}

footer.footer .newsletter .element{
    background: black;
    display: inline-block;
}

footer.footer .newsletter .element input{
    padding: .5rem .7rem;
    border: none;
    background: transparent;
    color: white;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    width: 90%;
}

footer.footer .instagram div >img{
    display: inline-block;
    width: 25%;
    height: 50%;
    margin: .3rem .4rem; 
}

footer.footer .follow div i{
    color: white;
    padding: 0 .4rem;
}

footer.footer .right{
    font-family: 'Lucida Sans',sans-serif;
    justify-content: center;
}

footer.footer .right h4 a{
    color: white;
}

footer.footer .right h4{
    color: rgb(255, 255, 255);
}

.submit{
    background-color: rgb(24, 22, 22);
    color: white;
    font-weight: bold;
    margin-top: 20px;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.logo img {
    /* background-color: #0a397acc; */
    height: 50px; /* Adjust size as needed */
    width: auto;
    max-width: 150px;
}

/*       Viewport is less than or equal to 1130px      */

@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 .mostvisited-posts .post-info{
        display: none !important;
    }
    footer.footer .container{
        grid-template-columns: repeat(2, 1fr);
    }
}

/*  -x-  Viewport is less than or equal to 1130px  -x- */



/*       Viewport is less than or equal to 750px      */

@media only screen and (max-width:750px)
{
    .nav .nav-menu, .nav .nav-items{
        flex-direction: column;
    }

    .nav .toggle-collapse{
        display: initial;
    }

    main .site-content{
        grid-template-columns: 100%;
    }

    footer.footer .container{
        grid-template-columns: repeat(1, 1fr);
    }
}
    
/*  -x-  Viewport is less than or equal to 750px  -x- */


/*       Viewport is less than or equal to 520px      */

@media only screen and (max-width:520px){
    main .blogg{
        height: 125vh;
    }

    .site-content .post-content > .post-image .post-info{
        display: none;
    }

    footer.footer .container > div{
        padding: 1rem 0.9rem !important;
    }

    footer .right{
        padding: 0 1.4rem;
        text-align: center;
    }

    nav .toggle-collapse{
        width: 80% !important;
    }
}  

/*  -x-  Viewport is less than or equal to 520px  -x- */