*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: normal;
}

html{
    scroll-behavior: smooth;
}

body{
    background-color: #000000;
    color: green;
}

#header{
    width: 100%;
    height: 100vh;
    background-image: url(/images/bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
}
/* .container1{
    position: sticky;
    top: 20px;
} */

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 30px;
    padding-left: px;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
    cursor: pointer;
}

nav ul li a{
    text-decoration: none;
    color: green;
    font-size: 25px;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0%;
    height: 3px;
    background:darkslategray;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after{
    width: 100%;
}

.header-text h1{
    margin-top: 15%;
    font-size: 70px;
    color: white;
}

.header-text h1 span{
    color: green;
}

#element{
    font-size: 60px;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
#element1{
    color: white;
    font-size: 60px;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.typed-cursor{
    font-size: 60px;
}


.container img{
    object-fit: contain;
    width: 100%;
}
.img1{
    width: 45%;
    height: 100vh;
}

.row{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: white;
}
.ab-sec1{
    flex-basis: 35%;
}
.ab-sec2{
    height: 55vh;
    flex-basis: 60%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}
.aboutme{
    font-size: 60px;
    font-weight: 600;
    color:green;
    margin-top: -2px;
}

.aboutme1{
    font-size: 60px;
    font-weight: 600;
    color:green;
    margin-top: -2px;
    margin-left: 70px;
}

.about-titles{
    display: flex;
    margin: 20px 0 40px;
}
.title-links{
    margin-right: 60px;
    font-size: 18px;
    font-weight: 550;
    cursor: pointer;
    position: relative;
    color: green;
}
.title-links::after{
    content: '';
    width: 0%;
    height: 3px;
    left: 0;
    bottom: -8px;
    background: darkslategray;
    position: absolute;
    transition: 0.5s;
}

.title-links.active-link::after{
    width: 50%;
}

.about-contents ul li{
    list-style: none;
    margin: 5px 0;
    font-weight: 500;
}

.about-contents ul li span{
    color: green;
    font-size: 18px;
    margin-right: 80px;
    font-weight: 501;
}

.aboutme p{
    font-weight: 300;
}

.about-contents{
    display: none;
}

.about-contents.active-content{
    display: block;
}


#projects{
    margin-top: 100px;
}

.pflex{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px 70px;

}

.project1, .project2 , .project3{
    width: 30%;
    height: 60vh;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}
.pflex img{
    height: 60vh;
    transition: transform 0.5s;
    object-fit: cover;
}

.projects h1{
    margin-left: 70px;
}

.layer{
    height: 0%;
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.6),green);
    border-radius: 10px;
    color: white;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}

.layer h3{
    font-weight: 500;
    margin-bottom: 18px;
}

.proj:hover img{
    transform: scale(1.1);
}

.proj:hover .layer{
    height: 100%;
}


/* media queries */
nav .fa-solid{
    display: none;
}

@media only screen and (max-width: 600px){
    #header{
        background-image: url(/images/media-bg.jpg);
    }

    .header-text h1{
        margin-top: 15%;
        font-size: 50px;
        color: white;
    }

    #element{
        font-size: 50px;
    }
    #element1{
        color: white;
        font-size: 50px;
    }

    nav .fa-solid{
        display: block;
        font-size:26px;
        color: white;
    }

    nav ul{
        background: green;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        transition: right 0.5s;
    }

    nav ul li a{
        display: block;
        margin: 25px;
        color: white;
    }

    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    nav .fa-bars{
        padding-left: 93%;
    }
    
    .ab-sec1 img{
        display: none;
    }
    .pflex{
        flex-direction: column;
    }

    .project1, .project2 , .project3{
        height: 50vh;
        width: 70vw;
        margin-top: 20px;
    }


}

.endsec{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}