:root {
    --bg-color: #f4f4f4;
    --text-color: #1a1a1a;
    --accent-color: #000;
    --secondary-text: #666;
    --terciary-text: #336699;
    --card-bg: #fff;
    --font-main: "Inter", sans-serif;
    --spacing-unit: 2rem;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    margin-bottom: 4rem;
    /*border-bottom: 1px solid #e0e0e0;*/
    border-bottom: 1px solid #336699;
}

.logo {
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.nav a {
    margin-left: 2rem;
    font-size: 0.95rem;
    color: var(--secondary-text);
}

.nav a:hover {
    color: var(--text-color);
}

/* Hero */
.hero {
    /*padding: 2rem 0 2rem;*/
    /* max-width: 800px; */
    padding-bottom: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--secondary-text);
    font-weight: 300;
}

/* Sections */
.section {
    margin-bottom: 2rem;
}

.section-header {
    margin-bottom: 3rem;
    /* border-bottom: 1px solid #e0e0e0;*/
    border-bottom: 1px solid #336699;
    padding-bottom: 1rem;
}

.section-header h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: var(--secondary-text);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Projects */
.project-card {
    background: transparent;
}

.project-image {
    width: 100%;
    /*aspect-ratio: 4/3;*/
    /*background-color: #e0e0e0;*/
    /* margin-bottom: 1rem;*/
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: translateY(-5px);
}

.project-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--terciary-text);
}

.project-card p {
    font-size: 0.9rem;
    color: var(--secondary-text);
}

/* Blog */
.blog-grid {
    grid-template-columns: 1fr;
    gap: 0;
}

.blog-card {
    border-bottom: 1px solid #e0e0e0;
}

.blog-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
}

.blog-link:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.02);
    /*padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;*/
    border-radius: 4px;
}

.blog-date {
    font-size: 0.9rem;
    color: var(--secondary-text);
    font-family: monospace;
}

.blog-link h3 {
    font-size: 1.2rem;
    font-weight: 400;
}

/* Footer */
.footer-section {
    text-align: center;
    padding: 4rem 0;
}

.footer-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.email-link {
    font-size: 1.5rem;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.social-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer {
    margin-top: 4rem;
    font-size: 0.8rem;
    color: var(--terciary-text);
}

.author {
    max-width: 100%;
    height: auto;
    border-radius: 40px;
    width: 200px;
    float: left;
    margin-right: 1rem;
}

.signify {
    color: var(--text-color);
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: bold;
}
.responsive-img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
li {
    padding-left: 1rem;
    font-size: 1.2rem;
    color: var(--secondary-text);
    font-weight: 300;
}

li::before {
    content: "-";
    padding-right: 1em;
    color: var(--terciary-text);
}
.content {
    line-height: 1.8;
}
/* Responsive */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .blog-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .nav a {
        font-size: 0.8rem;
    }
    .logo {
        font-size: 1rem;
    }
    .author {
        width: 100%;
        padding-bottom: 1em;
    }
}