/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    max-width: 650px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation */
nav {
    margin-bottom: 60px;
    padding-bottom: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #666;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #333;
}

a {
        color: #333; /* Sets the link color to black (or any other color) */
}


/* Typography */
h1 {
    font-size: 1.8em;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

h2 {
    font-size: 1.3em;
    font-weight: 400;
    margin-top: 40px;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.2em;
    color: #666;
    font-style: italic;
    margin-bottom: 40px;
}

/* Hero Section */
.hero {
    margin-bottom: 30px;
}

/* Page Header */
.page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.page-header h1 {
    font-size: 1.8em;
}

/* Content */
.content {
    font-size: 1em;
}

.content p {
    margin-bottom: 20px;
}

/* Writing Stack */
.writing-stack {
    margin-top: 20px;
}

.writing-item {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
}

.writing-item:last-child {
    border-bottom: none;
}

.writing-title {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    flex: 1;
}

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

.writing-date {
    color: #666;
    font-size: 0.85em;
    white-space: nowrap;
}

/* Projects Stack */
.projects-stack {
    margin-top: 20px;
}

.project-item {
    padding: 12px 0 20px 0;
    border-bottom: 1px solid #ddd;
}

.project-item:last-child {
    border-bottom: none;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 8px;
}

.project-title {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    flex: 1;
}

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

.project-date {
    color: #666;
    font-size: 0.85em;
    white-space: nowrap;
}

.project-description {
    font-size: 0.85em;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Footer */
footer {
    margin-top: 80px;
    padding-top: 30px;
    text-align: center;
    font-size: 0.85em;
    color: #999;
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.2em;
    }

    .page-header h1 {
        font-size: 1.5em;
    }

    nav ul {
        gap: 20px;
    }
}
