@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Poppins:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: #1a1a1a;
    height: 100vh;
    width: 100vw;
    color: white;
    font-family: "Geist", "sans-serif";
    font-weight: 400;
    font-style: none;
    font-size: 32px;
}


.portfolio-container {
    max-width: 58rem;
    margin: 0 auto;
    padding: 4rem 2rem 0rem 2rem;
    padding-top: 4rem;
    background-color: rgba(0, 0, 0, 0.2);
}

.profile {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 5rem;
}

.intro-section {
    padding: 0.44rem 0;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    gap: 1.2rem;
}

.text-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-section #greetings {
    display: inline-block;
    font-size: 1.4rem;
    color: gray;
}

.intro-section img {
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.intro-section h3 {
    font-weight: 500;
}

.intro-section p {
    font-size: 0.85rem;
    color: rgb(102, 102, 102);
}

.intro-section p a {
    color: #5757b3;
    cursor: pointer;
    text-decoration: underline;
}


.work-tag {
    border: 1px solid gray;
    border-radius: 7px;
    margin: 0.45rem 0;
    font-size: 0.95rem;
    padding: 4px 8px;
    width: fit-content;
    display: flex;
    gap: 0.35rem;
    align-items: center;
    justify-content: center;
}


.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.green-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgb(0, 243, 0);
}


.projects,
.about {
    margin: 2.5rem 0.5rem;
}

.projects {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
}

.project-subheading {
    font-size: 1.15rem;
    display: inline-block;
    color: #6f6f6f;
    margin-bottom: 0.75rem;
}

.project-container {
    margin-top: 1rem;
    display: flex;
    gap: 2rem;
}

.project-card {
    width: 18rem;
    height: 21rem;
    background-color: #202020;
    color: white;
    border-radius: 8px;
    border: 1px solid #3d3d3d;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease-in-out;
}

.project-card img {
    width: 100%;
    height: 11rem;
    object-fit: cover;
    object-position: top;
}

.project-card .project-title {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0 1rem;
}

.project-card .project-desc {
    color: gray;
    font-size: 0.95rem;
    margin: 0.15rem 1rem;
}

.project-links {
    display: flex;
    margin: 1rem;
    justify-content: space-between;
    align-items: center;
}


.about {
    max-width: 85%;
    margin-left: 2.5rem;
}

#project-heading {
    font-size: 1.35rem;
    display: block;
    color: #e4e4e4;
}

#about-heading {
    font-size: 1.25rem;
    display: inline-block;
    color: #e4e4e4;
    margin-bottom: 0.75rem;
}

#technologies {
    color: #cecece;
}

#about-desc {
    color: rgb(139, 139, 139);
    line-height: 1.6;
    font-size: 1.05rem;
}

.footer {
    margin-top: 4rem;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #3d3d3d;
    color: #6f6f6f;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .portfolio-container {
        padding: 2rem 1rem 0;
    }

    .profile {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .intro-section {
        flex-direction: column;
        gap: 1rem;
    }

    .projects,
    .about {
        margin: 2.5rem 0rem;
    }

    .about {
        max-width: 100%;
        margin-left: 1rem;
    }

    .project-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .project-card {
        width: 100%;
        max-width: 20rem;
    }
}

@media (max-width: 480px) {
    .portfolio-container {
        padding: 1.5rem 0.5rem 0;
    }

    .text-intro h3 {
        font-size: 1.85rem;
    }

    .intro-section img {
        width: 80px;
        height: 80px;
    }

    .projects,
    .about {
        margin: 2rem 0.5rem;
    }
}