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

body {
    position: relative;
    background-color: #252930;
    color: #e6edf3;
    font-family: "Inter", "Segoe UI", sans-serif;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background: #383c42;
    border-bottom: 1px solid #30363d;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
}

.navlinks {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

.navlinks a {
    text-decoration: none;
    color: #c9d1d9;
    font-weight: 500;
    transition: color 0.3s;
}

.navlinks a:hover {
    color: #58a6ff;
}

.main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
}

.banner {
    max-width: 800px;
    text-align: center;
}

.banner img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #30363d;
}

.banner h1 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    color: #f0f6fc;
}

.banner h2 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #8b949e;
    margin-bottom: 1.5rem;
}

.banner p {
    color: #c9d1d9;
    font-size: 1rem;
    max-width: 650px;
    margin: 0 auto;
}

.title {
    font-size: 3rem;
    font-weight: 200;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 20px;
}

.sub-heading {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 70px;
    color: gray
}

.project-listing {
    gap: 20px;
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: space-evenly;
    width: 80%;
    padding-bottom: 100px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.project-banner {
    width: 80%;
    margin: 0 auto;
    border: 1px solid #30363d;
    border-radius: 12px;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.226);
    margin-bottom: 50px;
}

.project-image {
    width: 500px;
    margin: 0 auto;
    border: 1px solid #30363d;
    border-radius: 1px;
}

.paragraph {
    width: 500px;
    margin: 50px auto;
    margin-top: 10px;
    color: #ccc;
    font-size: 18px;
}

.reference {
    font-style: italic;
    color: #555;
    text-decoration: none;
    text-align: center;
}

.text-reference {
    color: rgb(46, 214, 226);
}

.project-pane {
    width: 300px;
    display: flex;
    flex-direction: column;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.1s ease;
    margin-bottom: 20px;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.226);
}

.project-pane img {
    transition: height 0.5s ease;
}

.project-pane:hover {
    border-color: #58a6ff;
}

.project-pane img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.project-description {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    color: #f0f6fc;
    margin-bottom: 0.75rem;
}

.project-description p {
    margin-bottom: 1rem;
    color: #c9d1d9;
}

.github-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: #21262d;
    border: 1px solid #30363d;
    color: #58a6ff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.github-button:hover {
    background: #238636;
    color: #fff;
    border-color: #2ea043;
}

.experience-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0rem 1rem 5rem;
}

.experience-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.experience-card:hover {
    border-color: #58a6ff;
    transform: translateY(-3px);
}

.experience-card h2 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: #f0f6fc;
}

.experience-card h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #8b949e;
    margin-bottom: 0.75rem;
}

.experience-card p {
    color: #c9d1d9;
    line-height: 1.7;
    font-size: 0.95rem;
}

.experience-card em {
    color: #8b949e;
    font-style: normal;
    font-size: 0.9rem;
}

.experience-card .note {
    font-size: 0.9em;
    color: #888;
    margin-top: 0.5em;
}

.github-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: #58a6ff;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #30363d;
    background: #21262d;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.github-link:hover {
    background: #238636;
    color: #fff;
    border-color: #2ea043;
}

footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    background: #161b22;
    border-top: 1px solid #30363d;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #8b949e;
}

@media (max-width: 700px) {
    .experience-card {
        padding: 1.25rem 1.5rem;
    }

    .experience-card h2 {
        font-size: 1.15rem;
    }

    .experience-card h3 {
        font-size: 0.95rem;
    }

    .project-pane img {
        height: 180px;
    }

    .banner img {
        width: 120px;
        height: 120px;
    }

    .banner h1 {
        font-size: 1.5rem;
    }

    .project-description {
        padding: 1rem;
    }
}