@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Font For only blog page */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');

:root {
    --body-bg: #f8f8f8 url() repeat fixed top left;
    --body-bg-color: #f8f8f8;
    --main-blog-color: #fc0517;
    --main-dark-color: #000000;
    --text-color: #767676;
    --title-color: #000000;
    --title-hover: #fc0517;
    --menu-bg-color: #ffffff;
    --menu-color: #000000;
    --menu-hover: #FC052E;
    --top-menu-color: #000000;
    --widget-bg-color: rgb(255 255 255 / 1);
    --footer-bg: #ffffff;
    --footer-color: #000000;
    --footer-hover: #fc0517;
}

* {
    margin: 0;
    padding: 0;
    font-family: montserrat;
}



/** Comman Code for multiple use **/

hr {
    border: 1px solid rgba(83, 83, 83, 0.096);
}

.flex {
    display: flex;
}

.fdc {
    flex-direction: column;
}

.flw {
    flex-wrap: wrap;
}
.jfc{
    justify-content: center;
}

.atc{
    align-items: center;
}

body {
    display: flex;
}

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

.section-common-title {
    color: #000000;
    font-size: 1.1rem;
    font-weight: 600;
}

.grid{
    display: grid;
}
.grid-three--cols{
    grid-template-columns: repeat(3,1fr);
}



/** SECTION 1 */
.section-1 {
    position: sticky;
    width: 20%;
    height: 100vh;
    flex-direction: column;
    background-color: #ffffff;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 5rem;
}

.logo img {
    width: 15rem;
    margin-left: 1rem;
}

.menu {
    color: var(--title-color);
    font-weight: 500;
    margin-left: 2rem;
    gap: 1rem;

    & .fa-solid {
        padding-right: 1rem;
        width: 1rem;
    }

    li {
        cursor: pointer;
        display: flex;
        justify-content: start;
        align-items: center;



        & a {
            text-decoration: none;
            color: var(--text-color);
        }
    }

    a:hover {
        color: var(--title-hover)
    }
}


/** SECTION 2 */

.section-2 {
    min-height: 97vh;
    width: 80%;
    background-color: #f8f8f8;
    justify-content: space-between;
    padding: 0 4rem 1rem;

    & nav {
        margin-top: 1.5rem;
    }
}

/* Navbar Social Links */

.social-links {
    color: #000000;
    gap: 1rem;

    & li {
        list-style: none;
        cursor: pointer;
    }
}

.profile-pic {
    align-items: center;

    & img {
        width: 14rem;
        height: auto;
        /* aspect-ratio: 1; */
        border-radius: 50%;
        border: 10px solid rgba(88, 88, 88, 0.179);
    }
}

/* Profile content contains all data except image of section 2  */
.profile-content {
    gap: 1.1rem;
    margin-left: 3rem;
}

/* profile-heading contains a message and heading for content div */
.profile-heading {
    gap: 1.8rem;
}

.heading-message {

    & p {
        background-color: #fc0517;
        width: 5rem;
        display: grid;
        place-items: center;
        color: #ffffff;
        padding: 0.4rem 0.4rem;
        font-weight: 600;
        font-size: 15px;

    }
}

.heading-text {
    & h2 {
        font-size: 2.3rem;
    }

    & p {
        font-size: 1.1rem;
        margin-top: 8px;
        color: #767676;
    }
}

/* bio contains name,birthday,etc and its values */
.bio {
    gap: 4rem;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 2.2rem;


    & li {
        list-style: inside circle;
        color: black;

        & span {
            color: #767676;
            font-weight: 400;
        }
    }
}

.profile-details {
    width: calc(100% / 2);
}

.profile-buttons {
    gap: 1rem;

    & button {
        color: rgb(248, 248, 248);
        background-color: #101010;
        border: none;
        padding: 0.7rem 1.2rem;
        cursor: pointer;

    }

    & button:hover {
        background-color: rgb(0, 0, 0);
        color: rgb(255, 255, 255);
    }

}

/***** Footer ******/

footer {
    justify-content: space-between;
    font-size: 13px;
}

.footer-links {
    list-style: none;
    gap: 1rem;

    & :hover {
        color: var(--title-hover);
        cursor: pointer;
    }
}

/* ***Services Start*** */

.services-div {
    justify-content: space-evenly;
    gap: 1.4rem;
}

.service-box {
    box-sizing: border-box;
    background-color: white;
    width: 22rem;
    border: 1px solid #d6d6d6;
    padding: 2rem 2rem 3rem;
    justify-content: center;
    align-items: center;
    gap: 12px;


    & i {
        font-size: 3.5rem;
    }

    p {
        color: #767676;
        text-align: center;
    }
}

/* Services End */

/* **About Start */

.about-page {
    margin: 8rem;
    gap: 5rem;
    justify-content: space-evenly;
    align-items: center;
    line-height: 2rem;

    & span {
        color: #616161;
    }

    & img {
        height: 18rem;
        border: 2px solid rgba(136, 136, 136, 0.202);
        border-radius: 12px;
    }
}

.about-left {
    width: 50%;
    gap: 1rem;

    & h2 {
        font-size: 1.8rem;
    }
}

/* contact button in about div */

.contact-button {
    margin-top: 8px;

    & button {
        /* font-size:0.8rem; */
        background-color: #0c0a0a;
        color: #f4f4f4;
        border-radius: 5px;
        padding: 8px 15px;
    }

}

/* About End */

/* *Contact Start */

/* Currently the code is in an another css file of this folder */
/* Will add soon in this CSS File */

/* Contact End */

/** Blog Section Start */

.blog-section{
    justify-content: center;

    & .profile-buttons{
        margin: 2rem 0;
        
        justify-content: center;
        & button{
            background-color: #fc0517;
        }

        & button:hover{
            background-color: #d60202;
        }
    }
}

.blog-body{
    margin-top: 3rem;
    grid-gap:3rem 2rem;
    & h3, p, a{
        font-family: 'League Spartan';
    }

    & .blog-category{
        background-color:#FC052E;
        color:white;
        font-size: 0.8rem;
        padding: 5px 8px 2px;
        border-radius: 3px;
    }

}

.blog-title{
    color:#080808;
    font-size: 1.3rem;
    font-weight:600 ;
    & :hover{
        color:#FC052E;
    }
}
.img-container{
    height:180px;
    width:100%;
    overflow: hidden;
    /* Image will zoom without lossing its property by using overflow hidden*/
    margin: 0;


    & img{
        width:100%;
        object-fit:cover;
        transition: transform 0.2s;
        cursor: pointer;
    }
    & img:hover{
        transform: scale(1.3);
    }
}

.blog-metadata {
    justify-content: start;
    gap:1rem;
    font-size: 12px;
    font-weight: 500;
    color:#767676;

    & i{
        margin-right: 6px;
    }
}

.blog1{
    gap:1rem;
    /* line-height: 1.8rem; */
}

/* Blog End */


/** Portfolio Work Start */

.portfolio-body{
    & h3, p, a{
        font-family: 'League Spartan';
    }

    & h3{
        color:#f8f8f8;
    }

}
.portwork-body{
    margin: 3rem 0;
    row-gap: 2rem;
    justify-content: space-between;
}

.portwork-container{
    height:400px;
    width:350px;
    /* width:auto; */
    /* background-color: #d60202; */
    position: relative;
    border-radius: 1rem;
    background-color: #000;
    overflow: hidden;

    img{
    height:400px;
    /* width:300px; */
    width:100%;

    object-fit: cover;
    position: absolute;
    z-index: 0;
    border-radius: 1rem;
    opacity: 0.6;
    }
    
}

.portwork-metadata{
    z-index: 1;
    position:absolute ;
    bottom: 0;
    width: 100%;
    margin:0 1.2rem 1.2rem;
    gap:0.8rem;
    /* background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    transparent
    ); */
}


.portfolio-category{
        background-color:#FC052E;
        color:white;
        font-size: 0.8rem;
        padding: 5px 8px 2px;
        border-radius: 3px;
}
/* PortFolio End */