@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter Tight', sans-serif;
    color: black;
    overflow-x: hidden;
}
:root{
    --text-color:rgb(195, 41, 195);
    --bgco:rgb(249, 189, 76);
    --orange-color:orange;
}
html{
    scroll-behavior: smooth;
}
body{
    width: 100vw;
    height: 100vh;
}
/* header section start here */
header{
    width: 100vw;  
    background:black;
}
nav{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
}
.navleftcontainer{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 500;
    color: var(--bgco);
}
.navrightcontainer{
    width: 500px;
}
.headernavul{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.headernava{
    color: var(--bgco);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 500;
}
.headernava:hover{
    text-decoration: underline;
    color:rgba(215, 15, 215, 0.959);
}

/* main  section start here */
main{
    width: 100%;
}
/* first section start here */
.section1{
    width: 80%;
    display: flex;
    justify-content:space-between;
    gap: 3rem;
    margin: auto;
}
.leftsection1{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content:center;
}
.title1{
    font-size:2rem;
}
.title2{
    text-transform: uppercase;
    font-size:3rem;
    font-weight: 600;
    color: var(--text-color);
}
.title3{
    font-size:2rem;
}
.title3_1{
    font-size: 3rem;
    color: var(--text-color);
}
.rightsection1{
    width: 50%;
}
.imgcontainer{
    width: 40rem;
    height: 40rem;
    overflow: hidden;
}
.developerimg{
    width: 100%;
    height: 100%;
    object-fit:cover;
    object-position: center;
}
hr{
    border: 0;
    background-color:var(--bgco);
    height: 0.7px;
    width: 90%;
    margin: 0 auto 2rem auto;
}

/* second section start here */
.section2{
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0 auto 2rem auto;
}
.aboutcard{
    width:70%;
    margin:auto;
    display: flex;
    gap: 2rem;
    border-radius: 1rem;
    box-shadow: var(--bgco) 0px 2px 5px -1px, var(--bgco) 0px 1px 3px -1px;
    margin-bottom: 1rem;
}
.section2_leftsection{
    width: 43%;
}
.photocontainer{
    width: 25rem;
    height: 25rem;
    overflow: hidden;
}
.selfphoto{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.section2_rightsection{
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.subtitle{
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-color);
}
.inner_subtitle{
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
}
.aboutdesc{
    line-height: 23px;
    text-align: justify;
    padding-right: 1rem;
}
.aboutnav{
    display: flex;
    justify-content: flex-start;
    gap: 4rem;
}
.about-link{
    height: 1.5rem;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    cursor: pointer;
}
.about-link::after{
    content: "";
    width: 0;
    height: 3px;
    background-color: var(--bgco);
    position: absolute;
    left: 0;
    top: 20px;
    transition: 0.5s;
}
.about-link.active-link::after{
    width: 100%;
}
.aboutnavcontent{
    display: none;
}
.active-content{
    display: block;
}

/* Third Section start here */
.projectsection{
    width: 90%;
    margin: 0 auto 2rem auto;
}
.projectcard{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-top: 1rem;
    justify-items: center;
}
.prjcard{
    width: 300px;
    height: 400px;
    overflow: hidden;
    border-radius: 0.5rem;
    position: relative;
    box-shadow: var(--bgco) 0px 2px 5px -1px, var(--bgco) 0px 1px 3px -1px;
    margin: 1rem 0;
}
.prjimg{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* display: block; */
    transition:transform 0.5s;
}
.prjdesc_layer{
    position: absolute;
    width: 100%;
    height: 0;
    background:linear-gradient(rgba(0,0,0,0.6),var(--bgco));
    border-radius: 0.5rem;
    left:0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    padding: 0 1rem;
    transition:height 0.5s;
}
.prjdesc_layer h3{
    font-size: 1.2rem;
    font-weight: 600;
    color:white;
    text-transform: uppercase;
}
.prjdesc_layer p{
    color: white;
    line-height: 20px;
}
.prjdesc_layer a i{
    color: var(--bgco);
    text-decoration: none;
    font-size: 18px;
    background:black;
    border-radius: 50%;
    line-height: 60px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.prjcard:hover img{
    transform: scale(1.1);
}
.prjcard:hover .prjdesc_layer{
    height: 100%; 
}
.btncontainer{
    display: flex;
    justify-content: center;
    padding: 2rem;
}
.seemorebtn{
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding:1rem;
    background: black;
    color: var(--bgco);
    border: 3px solid var(--bgco);
    border-radius: 0.5rem;
    transition: box-shadow 0.5s,transform 0.5s;
}
.seemorebtn:hover{
    transform: scale(1.1);
    box-shadow: 5px 5px 1px var(--bgco);
}
.seemorebutton{
    display: none;
}
.projectcardrow2{
    display: none;
}
.seelessbutton{
    display: none;
}

/* Fourth section start here */
.contact{
    width: 90%;
    margin: 2rem auto;
    display: flex;
}

/* contact me left */
.contactme-left{
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.contactcontainer{
    display: flex;
    gap: 0.5rem;
}
.contactcontainer .logo i{
    color:var(--orange-color);
}
.socialmediacontainer{
    height: 45px;
    display: flex;
    align-items: center;
    gap:1.5rem;
}
.socialmediacontainer a i{
    text-decoration: none;
    font-size: 1.5rem;
    color:var(--text-color);
    transition: transform 0.5s;
    overflow: hidden;
}
.contactbutton{
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    width: 190px;
    padding: 0.5rem;
    border: 0;
    border-radius: 0.5rem;
    background:var(--orange-color);
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
}

/* contact me right */
.contactme-right{
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.contactform{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.contactform input, .contactform textarea{
    width: 100%;
    border: 0;
    outline: none;
    background:var(--bgco);
    padding: 15px;
    font-size: 1rem;
    border-radius: 0.5rem;
    color:black;
}
#msg{
    font-size: 1.2rem;
    font-weight: 600;
    color:green;
}

/* footer section start here */
.copyright{
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: black;
}
.copyright p{
    color: var(--bgco);
}

/* arrow is styled here */
.arrow{
    position: fixed;
    top: 640px;
    right:35px;
    z-index: 1;
}
.arrow a i{
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
    border-radius: 50%;
    background-color: black;
    color: var(--bgco);
    display: flex;
    justify-content: center;
    align-items: center;
}


/* media queries */
.navrightcontainer .hfas{
    display: none;
}

@media screen and (max-width:1480px) {
    .title2{
        font-size: 2rem;
    }
    .title3{
        font-size: 2rem;
    }
    .title3_1{
        font-size: 2rem;
    }
    .imgcontainer{
        width: 30rem;
        height: 30rem;
        overflow: hidden;
    }
}
@media screen and (max-width:1123px) {
    .imgcontainer{
        width: 20rem;
        height: 20rem;
        overflow: hidden;
    }
    .aboutcard{
        width: 80%;
    }
    .section2_leftsection{
        width:40%;
    }
    .photocontainer{
        width: 20rem;
        height: 25rem;
        overflow: hidden;
    }
    .section2_rightsection{
        width: 60%;
    } 
}
@media screen and (max-width:1000px){
    .aboutcard{
        width: 90%;
    }
    .projectsection{
        width: 95%;
        margin: 0 auto 2rem auto;
    }
}
@media screen and (max-width:950px) {
    .prjcard{
        width: 278px;
        height: 317px;
    }    
}
@media screen and (max-width:860px) {
    .aboutcard{
        width: 100%;
    }
    .projectsection{
        margin: 0 auto 0.5rem auto;
    }
    .prjcard {
        width: 245px;
        height: 243px;
    }
    .contact{
        flex-direction: column;
        gap: 1rem;
    }
    .contactme-left{
        width: 100%;
        align-items: center;
    }
    .contactme-right{
        width: 100%;
    }
    .submitbutton{
        margin: auto;
    }
}
@media screen and (max-width:823px) {
    .navleftcontainer{
        font-size: 1.5rem;
        justify-content: flex-start;
    }
    .navrightcontainer{
        width: 400px;
    }
    .photocontainer{
        height:30rem;
    }
}

@media screen and (max-width:780px) {
    .section1{
        width: 90%;
    }
    .prjcard {
        width: 226px;
        height: 195px;
    }
}
@media screen and (max-width:708px) {
    .subtitle{
        margin: auto;
    }
    .aboutcard{
        flex-direction: column;
        gap: 1rem;
    }  
    .section2_leftsection{
        width: 100%;
    }
    .photocontainer{
        width:100%;
        overflow: hidden;
    }
    .selfphoto{
        object-fit: cover;
        object-position: center;
    }
    .section2_rightsection{
        width: 100%;
        padding-left: 1rem;
        padding-bottom: 1rem;
    }
    .prjsubtitle{
        text-align: center;
    }
    .projectcard{
        grid-template-columns: repeat(1,1fr);
    }
    .prjcard {
        width: 570px;
        height: 303px;
    } 
}
@media screen and (max-width:600px) {
    .navrightcontainer .hfas{
        width: 3rem;
        height: 3rem;
        display: block;
        font-size: 2rem;
        color: var(--text-color);
    }
    .headernava{
        color: black;
    }
    .navrightcontainer .headernavul{
        background-color:var(--bgco);
        position: fixed;
        top: 0;
        right:-40vw;
        width: 40vw;
        height: 100vh;
        z-index: 1;
        padding-top: 50px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        /* gap: 2rem; */
        transition: right 0.5s;
    }
    .navrightcontainer .headernavul 
    .headernavli{
        display: block;
        margin: 25px;
    }
    .navrightcontainer .headernavul .hfas{
        position: absolute;
        top:10px;
        left: 10px;
        cursor: pointer;
    }
    .navleftcontainer{
        width: 400px;
        font-size: 2rem;
        padding-left: 1rem;
    }
    .navrightcontainer{
        width: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .navrightcontainer .hfas{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .section1{
        flex-direction: column;
        gap: 1rem;
        margin: 1rem auto 0 auto ;
    }
    .leftsection1{
        width: 100%;
        align-items: center;
    }
    .rightsection1{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .prjcard {
        width: 438px;
        height: 303px;
    }
    .arrow{
        top: 800px;
        right: 30px;
    }
}
@media screen and (max-width:464px) {
    .navleftcontainer{
        font-size: 1.5rem;
    }
    .navrightcontainer{
        padding: 0;
    }
    .title1, .title2, .title3, .title3_1{
        font-size: 1.5rem;
    }
    .prjcard {
        width: 373px;
        height: 241px;
    }
}
@media screen and (max-width:413px) {
    .aboutcard{
        width: 100%;
    }
    .section2_leftsection{
        width: 100%;
    }
    .photocontainer {
        height: 20rem;
    }
    .section2_rightsection{
        width: 100%;
    }
    .aboutdesc{
        line-height: 20px;
        text-align: justify;
        padding-right: 1rem;
    }
    .aboutnav{
        gap: 2rem;
    }
    .about-link{
        font-size: 0.95rem;
    }
    .prjcard {
        width: 337px;
        height: 306px;
    }
    .copyright p{
        font-size: 1rem;
    }
}

@media screen and (max-width:348px) {
    .title1, .title2, .title3, .title3_1{
        font-size: 1.2rem;
    }
    .prjcard {
        width: 297px;
        height: 213px;
    }
    .photocontainer{
        height: 15rem;
    }
    .subtitle{
        font-size: 2rem;
    }
    .copyright p{
        font-size: 0.85rem;
    }
}
@media screen and (max-width:328px) {
    .aboutnav{
        gap:0.7rem
    }
    .about-link{
        font-size: 0.95rem;
    }
    .prjcard {
        width: 276px;
        height: 184px;
    } 
    .contactme-left{
        gap:1rem;
    }
    .copyright p{
        font-size: 0.85rem;
    }
    .arrow{
        right:10px;
    }
}
@media screen and (max-width:315px) {
    .copyright p{
        font-size: 0.65rem;
    }
}