/* Footer links and badge centering */
.footer-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}
.webring-links {
    text-align: center;
    font-size: 1rem;
}
.tilde-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    font-size: 16px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Typography */
h1, h2, h3 {
    font-weight: normal;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.25rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.2rem;
    color: #555;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 3rem;
}

.subtitle {
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}



/* Main content */
main {
    margin-bottom: 3rem;
}

section {
    margin-bottom: 3rem;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
}

ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

a:hover {
    border-bottom-color: #0066cc;
}

/* Blog posts */
article {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

article:last-child {
    border-bottom: none;
}

time {
    color: #666;
    font-size: 0.9rem;
}

/* Blog list - file/log style */
.blog-list {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
}

.blog-entry {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.blog-entry .date {
    color: #666;
    min-width: 80px;
    font-family: 'Courier New', monospace;
}

.blog-entry .separator {
    color: #999;
    margin: 0 0.5rem;
    font-family: 'Courier New', monospace;
}

.blog-entry a {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-entry a:hover {
    border-bottom-color: #0066cc;
}

/* Individual blog post styles */
.blog-post {
    max-width: 700px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.post-date {
    color: #666;
    font-size: 0.9rem;
}

.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-content h1,
.post-content h2,
.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 3px solid #ccc;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

.post-content code {
    background-color: #f0f0f0;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.post-content pre {
    background-color: #f0f0f0;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.post-footer a {
    color: #666;
    text-decoration: none;
}

.post-footer a:hover {
    color: #333;
}

/* Footer */
footer {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    

    
    body {
        font-size: 14px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    h1 {
        color: #fff;
        border-bottom-color: #fff;
    }
    
    h2 {
        color: #ccc;
        border-bottom-color: #444;
    }
    
    h3 {
        color: #bbb;
    }
    
    a {
        color: #66b3ff;
    }
    
    a:hover {
        border-bottom-color: #66b3ff;
    }
    
    footer {
        color: #999;
        border-top-color: #333;
    }
    
    article {
        border-bottom-color: #333;
    }
    
    .blog-entry .date {
        color: #999;
    }
    
    .blog-entry .separator {
        color: #666;
    }
    
    .blog-entry a {
        color: #66b3ff;
    }
    
    .blog-entry a:hover {
        border-bottom-color: #66b3ff;
    }
} 