* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-inter),ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    background-color: #0a192f;
    color: #eef3ff;
    margin: 0;
    padding: 0;
    font-size: large;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #0a192f;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .left {
    display: flex;
    align-items: center;
}

.header-name {
    color: #eef3ff;
    font-weight: bold;
}

.profile-pic {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border-radius: 50%;
    overflow: hidden;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #eef3ff;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #64ffda;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    color: #eef3ff;
    margin: 0 20px 0 0;
    transition: color 0.3s ease;
    font-size: 1.5rem;
}

.social-icons a:hover {
    color: #64ffda;
}

main {
    padding-top: 100px;
}

section {
    padding: 0 20px;
    max-width: 920px;
    margin: -30px auto;
}

section h2 {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    text-decoration: underline;
    text-decoration-color: #64ffda;
}

section p {
    line-height: 1.6;
}

/* Hover effect on list items */
nav ul li a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: #64ffda;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

a {
    text-decoration: none;
    font-weight: bold;
    color: #64ffda;
}

.list p {
    margin-top: -32.5px;
}

.list-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 15px;
}

.list-header p {
 font-size: medium;
 font-weight: bold;
 font-style: italic;
}

.project p {
    margin-top: -32.5px;
}

.pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: -5px;
    margin-bottom: 30px;
}

.pill {
    display: inline-block;
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background-color: #228a70;
    border-radius: 50px;
    text-align: center;
}

.about-pic {
    display: flex;
    justify-content: center;
}

.about-pic img {
    width: 40%;
    height: 40%;
    min-width: 250px;
    min-height: 250px;
    border-radius: 5%;
    margin-top: 20px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header .left {
        align-items: flex-start;
        width: 100%;
    }

    nav ul {
        align-items: flex-start;
        width: 100%;
        margin-top: 10px;
    }

    nav ul li {
        margin: 5px 10px 5px 0;
    }

    .social-icons {
        width: 100%;
        margin-top: 10px;
    }

    .header-name {
        color: #eef3ff;
        font-weight: bold;
        margin: 20px 0px 0px 0px;
    }

    section {
        padding: 0 20px;
        max-width: 900px;
        margin: 80px auto;
    }

    .list p {
        margin-top: -10px;
    }

    .list-header {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .list-header p {
        margin: 0;
    }
}
