body {
    margin: 0;
    background-color: #0f0f0f;
    color: #eaeaea;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px 0;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    line-height: 1.2;
    cursor: default;
}

.logo-static {
    margin-left: -10px;
}

.logo-link {
    margin-left: -10px;
    transition: all 0.2s ease;
}

.logo-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

nav a {
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.about-page-body .logo {
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-left: -10px;
    cursor: pointer;
}

.about-page-body .logo:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

nav a {
    color: #888;
    margin-left: 25px;
    text-decoration: none;
    font-size: 14px;
}

nav a:hover {
    color: #fff;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

.intro {
    margin-bottom: 80px;
}

.intro p {
    margin: 0 0 6px;
}

.about {
    margin-bottom: 60px;
    color: #888;
    line-height: 1.7;
    max-width: 620px;
}

.about p {
    margin: 0;
}

.intro,
.about-page {
    color: #aaa;
    line-height: 1.7;
}

.about-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 100px;
}

.about-page p {
    margin: 0 0 14px;
}

.about-page a {
    font-size: 14px;
    color: #888;
    text-decoration: none;
}

.about-page a:hover {
    color: #fff;
}

.profilepic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 35%;
    margin-right: 28px;
    transition: transform 0.2s ease;
}

.profilepic:hover {
    transform: scale(1.05);
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 4px 0;
}

.project {
    display: grid;
    grid-template-columns: 80px 1fr 200px;
    align-items: center;
}

.project:hover .title {
    color: #fff;
}

.project:hover .year,
.project:hover .tech {
    color: #888;
}

.year {
    color: #555;
    font-size: 14px;
}

.title {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.title:hover {
    text-decoration: underline;
}

.tech {
    color: #555;
    font-size: 14px;
    text-align: right;
}

footer {
    margin-top: 80px;
    color: #555;
    font-size: 14px;
}

footer a {
    color: #888;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

@media (max-width: 700px) {
    header {
        padding: 30px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    nav a {
        margin-left: 0;
        margin-right: 18px;
    }

    .project {
        grid-template-columns: 60px 1fr;
        row-gap: 4px;
    }

    .tech {
        grid-column: 2;
        text-align: left;
    }

    .about-layout {
    grid-template-columns: 1fr;

    }

        .profile-pic {
        width: 96px;
        height: 96px;
        order: -1;
    }
}