:root {
    /* Minimal Theme Colors */
    --background-primary: #1e1e1e;
    --background-secondary: #252525;
    --text-normal: #dcddde;
    --text-muted: #999;
    --text-faint: #666;
    --text-accent: #DB4105;
    --interactive-accent: #DB4105;
    --border-color: #333;
    --font-ui: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
    --font-text: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
    --font-monospace: "SF Mono", "Roboto Mono", Menlo, monospace;
    
    /* Layout */
    --container-width: 800px; /* Adjust this value to change the page width */
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-text);
    line-height: 1.6;
    color: var(--text-normal);
    background-color: var(--background-primary);
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.site-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-normal);
    margin: 0;
}

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

.nav li {
    margin-left: 1.5rem;
}

.nav li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.nav li a.active {
    color: var(--interactive-accent);
}

#content {
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-normal);
    font-weight: 600;
}

h1 {
    font-size: 1.8rem;
    margin-top: 0;
}

h2 {
    font-size: 1.4rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.3rem;
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 1rem 0;
}

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

a:hover {
    text-decoration: underline;
}

ul, ol {
    padding-left: 1.5rem;
}

li {
    margin: 0.3rem 0;
}

blockquote {
    border-left: 4px solid var(--border-color);
    color: var(--text-muted);
    margin: 1rem 0;
    padding: 0 1rem;
}

code {
    font-family: var(--font-monospace);
    font-size: 0.9em;
    background-color: var(--background-secondary);
    border-radius: 3px;
    padding: 0.2em 0.4em;
}

pre {
    background-color: var(--background-secondary);
    border-radius: 3px;
    padding: 1rem;
    overflow: auto;
}

pre code {
    background-color: transparent;
    padding: 0;
}

hr {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 2rem 0;
}

/* Image styles */
img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5rem 0;
    display: block;
}

/* Blog styles */
.blog-post {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post h2 {
    margin-top: 0;
}

.blog-post-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post-summary {
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 500;
}

/* Project styles */
.project-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.project-item h2 {
    margin-top: 0;
}

.project-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-summary {
    margin-bottom: 1rem;
}

.back-to-blog,
.back-to-projects {
    display: inline-block;
    margin-bottom: 1.5rem;
}