        .project-name {
            font-size: 1.1rem;
            font-weight: 600;
            color: #222;
            margin-bottom: 0.8rem;

            /* Prevent breaking layout */
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;

            /* Limit to 2 lines */
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;

            /* Extra safety for all browsers */
            word-wrap: break-word;
            line-height: 1.4;
            max-height: 2.8em; /* 2 lines * line-height */
        }
    @font-face {
        font-family: "Poppins";
        src: url("../assets/fonts/Poppins/Poppins-Bold.ttf") format("truetype");
    }

    @font-face {
        font-family: "Poppin";
        src: url("../assets/fonts/Poppins/Poppins-Light.ttf") format("truetype");
    }

    html {
        scroll-behavior: smooth;
    }

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

    body {
        max-width: 100%;
        max-height: 100%;
        font-family: 'Poppins';
        background: #EFF3F4;
        background-size: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    .logo {
        color: white;
        background: grey;
        border-radius: 50%;
        position: fixed;
        top: 3%;
        left: 40px;
        padding: 0.7rem;
        font-family: 'Poppins';
        letter-spacing: 2px;
        font-size: 1.5rem;
        box-sizing: border-box;
    }

    .header {
        width: 100%;
        max-height: 100%;
        position: fixed;
        top: 0;
        text-align: right;
        z-index: 100;
        background: #EFF3F4;
    }

    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #nav-links {
        margin-top: 3%;
        margin-left: 30%;
    }

    #nav-links li {
        margin-left: 3.5rem;
        margin-bottom: 0;
        list-style: none;
    }

    #line {
        width: 3rem;
        background-color: rgb(9, 39, 9);
        padding: 1px;
        display: flex;
        position: relative;
        top: 80%;
    }

    #active {
        font-weight: bold;
        color: grey;
        position: relative;
        top: -6px;
    }

    ul {
        display: flex;
    }

    main {
        background: #EFF3F4
    }

    .home-profile img {
        position: fixed;
        width: 12rem;
        height: 20rem;
        border-radius: 30px;
        object-fit: cover;
        right: 20rem;
    }

    .home-profile {
        position: absolute;
        right: 22%;
        top: 40%;
    }

    .home-title {
        width: 50%;
        text-align: center;
        position: absolute;
        top: 40%;
        left: 10rem;
        font-family: 'Poppins';
    }

    #desc {
        color: #2D2B2B;
        position: fixed;
        top: 23rem;
    }

    #name {
        font-size: 40px;
        position: fixed;
    }

    .home {
        width: 100%;
        height: 100%;
    }

    #large {
        position: fixed;
        top: 7rem;
        right: 4rem;
    }

    #medium {
        position: fixed;
        left: 26rem;
    }

    #small {
        position: fixed;
        left: 0.5rem;
        top: 1rem;
        animation: mymove 10s infinite;
        transition: 4s;
    }

    .contact {
        width: 100%;
        height: 100%;
        background-color: rgb(9, 39, 9);
        position: relative;
        top: 128rem;
        color: white;
        padding-bottom: 8rem;
    }

    .contact-head {
        position: relative;
        top: 7rem;
        text-align: center;
    }

    .contact-head h3 {
        font-size: 2rem;
    }

    .contact-info {
        width: 50%;
        text-align: center;
    }

    .contact-group {
        position: relative;
        top: 7rem;
        margin: 3rem;
    }

    .contact-group i {}

    .contact-form {
        width: 50%;
        background: #EFF3F4;
        position: absolute;
        color: black;
        top: 15rem;
        right: 0rem;
    }

    input {
        padding: 1rem;
        border: 5px solid grey;
        border-radius: 0.5rem;
        display: block;
        margin: 1rem;
    }

    textarea {
        border: 5px solid rgb(9, 39, 9);
        border-radius: 0.5rem;
    }

    button {
        background: grey;
        border-radius: 0.5rem;
        border: none;
        padding: 1rem;
        width: 15rem;
        font-weight: bolder;
        font-size: large;
    }

    .msg {
        position: absolute;
        top: 5rem;
        right: 2rem;
    }

    .msg label {
        display: block;
        margin-bottom: 2rem;
    }

    .msg button {
        position: absolute;
        right: 0.5rem;
        bottom: -6rem;
    }

    .user-info {
        width: 35%;
        text-align: center;
    }

    .login {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 213rem;
    }

    .login-msg {
        width: 50%;
        background: rgb(9, 39, 9);
        padding-bottom: 13rem;
    }

    .login-form {
        width: 50%;
        background-color: #EFF3F4;
        position: absolute;
        right: 0;
        top: 3rem;
        text-align: center;
        padding-bottom: 4rem;
    }

    .login-form input {
        width: 15rem;
        margin-bottom: 3rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .login-data {
        position: relative;
        left: 2rem;
    }

    .login-image {
        width: 1rem;
        height: 1rem;
        margin-top: 10rem;
        margin-right: 55%;
        margin-left: auto;
    }

    #login-head {
        text-align: center;
        position: relative;
        top: 9rem;
        font-size: 50px;
        font-weight: bold;
        text-shadow: 0px 2px 2px grey;
    }

    .login-welcome {
        color: white;
        text-align: center;
        margin-top: 7rem;
    }

    .login-header {
        margin-top: 7rem;
    }

    .not-member {
        margin: 2rem;
        position: relative;
        left: 2rem;
    }

    .about {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 50rem;
        background: #EFF3F4;
        font-family: 'Poppin';
    }

    #about-head {
        text-align: center;
        font-weight: bold;
        font-size: 30px;
        position: relative;
        top: 9rem;
        left: 8%;
    }

    .about-img {
        position: relative;
        top: -20.5rem;
        left: 8rem;
    }

    .about-img img {
        width: 20rem;
    }

    #about-medium {
        position: absolute;
        top: 10rem;
        right: 0;
    }

    #about-medium1 {
        position: relative;
        top: 15rem;
    }

    #about-small {
        position: relative;
        left: 3rem;
    }

    .about-text {
        position: absolute;
        top: 18rem;
        right: 22rem;
        text-align: center;
        font-size: 20px;
    }

    .skills {
        position: absolute;
        top: 90rem;
        width: 100%;
        height: 100%;
        background: #EFF3F4;
        text-align: center;
    }

    .skills-title {
        font-weight: bold;
        position: relative;
        top: 10rem;
    }

    .skills-name {
        position: relative;
        top: 15rem;
        font-weight: bolder;
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
    }

    .skills-bar {
        position: relative;
        top: 11.5rem;
        left: 20rem;
        padding: 0.5rem;
        background-color: grey;
    }

    .skills-data {
        width: 30%;
        margin-top: -2rem;
        margin-left: 10rem;
    }

    .html {
        width: 98%;
    }

    .css {
        width: 95%;
    }

    .javascript {
        width: 80%;
    }

    .MongoDB {
        width: 70%;
    }

    .java {
        width: 30%;
    }

    .cpp {
        width: 90%;
    }

    .percentage {
        font-weight: bold;
        position: relative;
        right: -40rem;
        top: 10rem;
    }

    .port-title {
        font-weight: bold;
        font-size: 30px;
        text-align: center;
        /* position: relative; */
        top: 7rem;
    }

    #port-subtitle {
        /* position: relative; */
        top: 7rem;
    }

    .portfolio {
        position: relative;
        width: 100%;
        height: 100%;
        top: 130rem;
        padding-bottom: 10rem;
        background: #EFF3F4;
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }


    .product-card {
        background: #D9D9D9;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        width: 320px;
        min-height: 180px;
        margin: 40px auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1.2rem 2rem;
        text-align: center;
        font-size: 1.2rem;
        transition: 0.3s;
    }

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 3px 3px 20px grey;
        color: rgb(9, 39, 9);
        transition: 0.5s;
    }

    .product-card .project-link {
        margin-top: 1.5rem;
        position: static;
        font-size: 1rem;
        right: unset;
        bottom: unset;
        display: inline-block;
    }

    #port-subtitle {
        text-align: center;
    }

    .project-link:hover {
        font-weight: bold;
    }

    .project-link {
        position: relative;
        font-size: 0.8rem;
        bottom: -6rem;
        right: 8rem;
    }

    @keyframes mymove {
        from {
            transform: scale(0.5);
        }

        to {
            transform: scale(1);
        }
    }

    .main-article-pic img {
        width: 22rem;
        height: 13rem;
        object-fit: cover;
        position: relative;
        left: 5rem;
        top: -1.5rem;
    }

    .main-article-date {
        font-weight: bold;
    }

    .main-article-title {
        color: rgb(9, 39, 9);
        font-weight: bold;
    }

    .main-article-descs {
        width: 90%;
        position: relative;
        top: -15rem;
        right: -33rem;
        cursor: pointer;
    }

    .main-article-reactions {
        display: flex;
    }

    .main-article-reactions img {
        width: 3rem;
        margin-right: 7rem;
        margin-top: 1rem;
        cursor: pointer;
    }

    .main-article-reactions p {
        position: relative;
        top: -2.7rem;
        left: 3rem;
    }

    .article img {
        width: 20rem;
        height: 10rem;
        object-fit: cover;
    }

    .articles {
        display: flex;
        position: absolute;
        top: 8rem;
        left: 1rem;
    }

    .article-reactions {
        display: flex;
    }

    .article-reactions img {
        width: 2rem;
        object-fit: contain;
        position: relative;
        top: -3rem;
        cursor: pointer;
    }

    #comment {
        margin-right: 12rem;
    }

    .article-reactions p {
        position: relative;
        top: -9.5rem;
        left: 2rem;
        overflow: hidden;
    }

    .article {
        margin: 4rem;
    }

    .article-title,
    .article-date {
        cursor: pointer;
    }

    .article-date {
        font-weight: bold;
    }

    .single-article {
        position: relative;
        top: 6rem;
    }

    .single-article-pic {
        width: 50%;
    }

    .single-article-pic img {
        width: 40rem;
        height: 33rem;
        object-fit: cover;
        position: relative;
        left: 2em;
    }

    .single-article-desc {
        width: 40%;
        position: absolute;
        right: 4rem;
        top: 6rem;
        font-family: 'Poppins';
        word-spacing: 1rem;
    }

    .special-desc {
        position: absolute;
        top: 2rem;
        right: 18.5rem;
        color: rgb(9, 39, 9);
    }

    .single-article-reactions {
        display: flex;
        position: relative;
        top: -5rem;
        right: -50rem;
    }

    .single-article-reactions img {
        width: 3.5rem;
        margin-right: 15rem;
    }

    .single-article-reactions p {
        position: relative;
        top: -2.7rem;
        right: -3.6rem;
    }

    @media screen and (max-width: 720px) {
        body {
            width: 100%;
            height: fit-content;
            font-family: 'Poppin';
        }

        .header {
            width: 100%;
            height: fit-content;
            display: flex;
            position: relative;
            z-index: 9999;
        }

        .header .nav {
            width: 100%;
            height: fit-content;
            margin: auto;
            display: flex;
            justify-content: space-between;
            background-color: #5515ff0d;
            z-index: 9999;
        }

        .header .nav .logo {
            width: 70px;
            margin: 10px 0 10px 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 70px;
            position: relative;
            inset: 0;
        }

        .header .nav #nav-links {
            width: 140px;
            height: fit-content;
            display: flex;
            margin: auto 0;
            border: 0;
            position: absolute;
            right: 0;
            flex-direction: column;
            align-items: center;
            top: 0;
            background-color: rgb(9, 39, 9);
            align-content: center;
            color: white;
            padding: 0 0 0 0;
        }

        .header .nav #nav-links::before {
            content: 'Menu';
            padding: 10px 20px;
            background-color: black;
            color: white;
            position: absolute;
            inset: 0;
            margin: 10px auto 0 auto;
            height: fit-content;
            width: fit-content;
        }

        .header .nav #nav-links li span {
            display: none;
        }

        .header .nav #nav-links #active {
            color: greenyellow;
        }

        .header .nav #nav-links:hover>li {
            display: block;
        }

        /* 
    if you want to hide the menu when page link is clicked then un comment it
        .header .nav #nav-links:active > li{
        display: none; 
    } */
        .header .nav #nav-links li {
            text-align: center;
            width: fit-content;
            height: fit-content;
            padding: 10px 0;
            width: 100%;
            margin: 0;
            transition: 500ms;
            display: none;
        }

        .header .nav #nav-links li:active {
            /* background-color: blue; */
            border-radius: 20px 0 0 20px;
            transition: 50ms;
        }

        .header .nav #nav-links li:first-child {
            margin-top: 70px;
        }

        .header .nav #nav-links li:last-child {
            margin-bottom: 10px;
        }

        .home {
            width: 100%;
            height: 80vh;
            position: relative;
        }

        .home .home-data {
            width: 100%;
            height: 80vh;
            margin: auto;
        }

        .home .home-data .home-title {
            width: 100%;
            inset: 0;
            height: 80vh;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            align-content: center;
            justify-content: center;
            z-index: 999;
            text-shadow: 2px 3px 0px #00ffff;
        }

        .home .home-data .home-title #small {
            position: absolute;
            width: fit-content;
            height: fit-content;
            right: auto;
            top: 0;
            left: 0;
            animation: mymosve 10s infinite;
            transform: translateX(-60%) translateY(-100px);
        }

        .home .home-data .home-title #medium {
            position: absolute;
            width: fit-content;
            height: fit-content;
            margin: auto;
            right: 0;
            top: auto;
            bottom: 0;
            left: auto;
            width: 180px;
            height: 180px;
            animation: mymosve2 10s infinite;
            animation-delay: 3s;
        }

        .home .home-data .home-title #name {
            width: 100%;
            text-align: center;
            height: fit-content;
            margin: 0;
            position: relative;
        }

        .home .home-data .home-title #desc {
            width: 60%;
            margin: 0;
            height: fit-content;
            position: relative;
            top: 0;
        }

        .home .home-data .home-profile {
            inset: 0;
            width: 100%;
            height: 80vh;
            z-index: 9;
            position: absolute;
        }

        .home .home-data .home-profile #large {
            position: absolute;
            top: 0;
            left: 0;
            bottom: auto;
            right: auto;
            animation: mymosve3 10s infinite;
            animation-delay: 7s;
            transform: translateX(-100px) scale(0.4);
        }

        .home .home-data .home-profile img {
            position: absolute;
            width: fit-content;
            height: 100%;
            inset: 0;
        }

        #about {
            top: 20px;
            position: relative;
        }

        #about #about-head {
            left: 0;
            top: 0;
        }

        #about svg {
            opacity: 0.4;
        }

        #about-medium1 {
            display: none;
        }

        #about-small {
            display: none;
        }

        #about-large {
            display: none;
        }

        #about .about-img {
            inset: 0;
            opacity: 0.4;
            width: fit-content;
            position: relative;
            height: fit-content;
        }

        #about .about-text {
            top: 62px;
            right: 0;
            text-align: center;
            font-size: 18px;
            margin: 0;
            bottom: 0;
            left: 0;
            height: fit-content;
        }

        #skills {
            position: relative;
            top: 0;
            height: fit-content;
        }

        #skills .skills-title {
            top: 0;
        }

        #skills .skills-data {
            width: 100%;
            display: grid;
            grid-template-columns: 20% 60% 20%;
            margin: 20px auto 20px auto;
        }

        #skills .skills-data .skills-name {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0;
            font-size: 10px;
            inset: 0;
        }

        #skills .skills-data .skills-bar {
            height: 20px;
            margin: 0;
            padding: 0;
            inset: 0;
        }

        #skills .skills-data .percentage {
            width: 100%;
            height: 100%;
            font-size: 10px;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            inset: 0;
        }

        .portfolio {
            height: 1224px;
            top: 0;
            padding-bottom: 0;
            display: flex;
            flex-direction: column;
        }

        .portfolio .product-card {
            width: 200px;
            height: 200px;
            margin: 0;
            top: 230px;
            /* display: none; */
        }

        .portfolio .product-card {
            margin: 40px;
            margin-left: auto;
            margin-right: auto;
        }

        #contact {
            height: fit-content;
            top: 0;
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        #contact .contact-head {
            top: 0;
        }

        #contact .contact-info {
            width: 100%;
            height: fit-content;
        }

        #contact .contact-info .contact-group {
            position: relative;
            top: 0;
        }

        #contact .contact-form {
            position: relative;
            width: 90%;
            top: 10px;
            margin-left: auto;
            margin-right: auto;
            border-radius: 20px;
        }

        #contact .contact-form form {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            align-content: center;
        }

        #contact .contact-form form .user-info {
            width: 100%;
            text-align: center;
            display: flex;
            flex-direction: column;
        }

        #contact .contact-form form .msg {
            position: unset;
        }

        #login {
            position: unset;
            width: 100%;
            height: fit-content;
            top: 0;
        }

        .login-msg {
            display: none;
        }

        #login .login-form {
            position: unset;
            inset: 0;
            margin-left: auto;
            margin-right: auto;
            width: 100%;
        }

        #login .login-form .login-header {
            margin-top: 0;
        }

        #login .login-form .login-data {
            position: unset;
            inset: 0;
        }

        #login .login-form .not-member {
            position: unset;
            inset: 0;
        }

        @keyframes mymosve {
            0% {
                transform: translateX(-60%) translateY(-100px) scale(0.6);
            }

            50% {
                transform: translateX(-60%) translateY(-100px) scale(1);
            }

            100% {
                transform: translateX(-60%) translateY(-100px) scale(.6);
            }
        }

        @keyframes mymosve2 {
            0% {
                transform: scale(0.6);
            }

            50% {
                transform: scale(1);
            }

            100% {
                transform: scale(.6);
            }
        }

        @keyframes mymosve3 {
            0% {
                transform: translateX(-100px) scale(0.4);
            }

            50% {
                transform: translateX(-100px) scale(0.6);
            }

            100% {
                transform: translateX(-100px) scale(0.4);
            }
        }
    }

    * {
        transition: 500ms;
    }