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

html {
    font-family: 'Ubuntu Mono', monospace;
    line-height: 1.6;
}

body {
    background: #f5f5f5;
    color: #333;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

header h1 {
    text-align: center;
    margin-bottom: 1rem;
}

header h1 a {
    color: #fff;
    text-decoration: none;
}

header nav {
    text-align: center;
}

header nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

header nav a:hover {
    background: #555;
}

main {
    width: 95%;
    max-width: none;
    margin: 0 auto;
    padding: 0 2rem;
    flex: 1;
}

.year-section {
    margin-bottom: 2rem;
}

.year-section h3 {
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.year-section h3 a {
    color: #333;
    text-decoration: none;
}

.post-list {
    list-style: none;
}

.post-list li {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.post-list li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.post-list li a:hover {
    color: #0066cc;
}

.post-list time {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.post-tags {
    margin-top: 0.5rem;
}

.tag {
    display: inline-block;
    background: #e0e0e0;
    color: #333;
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.tag:hover {
    background: #d0d0d0;
}

.tags {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tags h3 {
    margin-bottom: 1rem;
}

.post {
    background: #fff;
    padding: 3rem 4rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    max-width: 100%;
}

.post-header {
    margin-bottom: 2rem;
}

.post-header h1 {
    color: #333;
    margin-bottom: 1rem;
}

.post-meta {
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.post-content {
    line-height: 1.8;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.post-content p {
    margin-bottom: 1rem;
}

.post-content pre {
    background: #f8f8f8;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1rem 0;
}

.post-content code {
    background: #f8f8f8;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Ubuntu Mono', monospace;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-content blockquote {
    border-left: 4px solid #ccc;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #666;
}

.post-content ul,
.post-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.post-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.about-content {
    background: #fff;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1rem;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

@media (max-width: 1024px) {
    main {
        width: 100%;
        padding: 0 1.5rem;
    }
    
    .post {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    main {
        padding: 0 1rem;
    }
    
    .post {
        padding: 1.5rem 2rem;
    }
    
    header nav a {
        margin: 0 0.5rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0 0.5rem;
    }
    
    .post {
        padding: 1rem 1.5rem;
    }
}