:root {
    --primary-color: seagreen;
    --secondary-color: rgb(64, 158, 105);
    --background-gradient: linear-gradient(rgb(255, 255, 255), rgb(180, 183, 183));
    --text-color: #333;
    --light-text: white;
    --border-color: #ddd;
    --card-background: white;
    --nav-background: black;
    --base-font-size: 10px;
    --header-padding: 2rem;
    --section-padding: 3rem 1.5rem;
    --max-width: 1100px;
}

html {
    font-size: var(--base-font-size);
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-image: var(--background-gradient);
    margin: 0;
    padding-top: 60px;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 4rem; }
h2 { font-size: 3.2rem; margin-bottom: 2.5rem; text-align: center;}
h3 { font-size: 2.8rem; }
h4 { font-size: 2.2rem; }
h5 { font-size: 1.8rem; font-weight: 300;}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

#NavBar {
    background-color: var(--nav-background);
    color: var(--light-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    height: 60px;
}

#nav-links {
    display: flex;
    gap: 2rem;
}

#nav-links a {
    color: var(--light-text);
    font-size: 1.6rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

#nav-links a:hover {
    color: var(--secondary-color);
}

#social-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#social-links a {
    color: var(--light-text);
    transition: color 0.3s ease;
}

#social-links a:hover {
    color: var(--secondary-color);
}

#email-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-text {
    font-size: 1.4rem;
    display: inline;
}

header#about {
    text-align: center;
    padding: var(--header-padding) 2rem;
    padding-top: 4rem;
    margin: 0 auto;
    max-width: var(--max-width);
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin: 1.5rem auto;
}

.tech-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

#cLogo {
    width: 2.4em;
    height: 2.4em;
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.content-section {
    padding: var(--section-padding);
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.section-content {
    text-align: left;
}

.project-list, .leadership-list {
    display: grid;
    gap: 2.5rem;
}

.project-item, .leadership-item {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 5px;
    border-left: 5px solid var(--primary-color);
}

.role_company {
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.role_dates {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 0.8rem;
}

.role_description {
    font-size: 1.5rem;
}

footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    padding: 1rem 0;
    font-size: 1.4rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.8rem; }
    h3 { font-size: 2.4rem; }

    #NavBar {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    #nav-links {
        margin-bottom: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
    }

     #social-links {
        justify-content: center;
        width: 100%;
    }

    .email-text {
       display: none;
    }

    body {
        padding-top: 100px;
    }

    .project-list, .leadership-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 9px;
    }

    body {
        padding-top: 120px;
    }

     #NavBar {
        padding: 0.5rem;
    }

    #nav-links a {
        font-size: 1.5rem;
    }

     #nav-links {
        gap: 0.5rem 1rem;
    }

    #social-links {
        gap: 1rem;
    }

    h1 { font-size: 3rem; }
    h2 { font-size: 2.4rem; }

     .content-section {
        padding: 2rem 1rem;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
    }
}
