body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
    color: #000;
    background: #fff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    width: 100%;
    margin: 0;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: #336699;
    color: #fff;
    padding: 20px;
    border-bottom: 3px solid #003366;
}

header h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

header .tagline {
    font-size: 11px;
    color: #ccddff;
    margin: 0;
}

nav {
    background: #6699cc;
    padding: 0;
    margin: 0;
}

nav a {
    display: inline-block;
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-right: 1px solid #336699;
}

nav a:hover {
    background: #003366;
}

main {
    padding: 20px 40px;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    width: 100%;
}

section {
    margin-bottom: 30px;
}

h2 {
    font-size: 18px;
    color: #336699;
    border-bottom: 2px solid #336699;
    padding-bottom: 5px;
    margin: 0 0 15px 0;
}

h3 {
    font-size: 14px;
    color: #003366;
    margin: 15px 0 10px 0;
}

p {
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.intro p {
    font-size: 13px;
}

.project-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-list li {
    margin-bottom: 20px;
    padding: 15px;
    background: #f0f0f0;
    border: 1px solid #ccc;
}

.project-list a {
    text-decoration: none;
    color: #000;
}

.project-list a:hover {
    text-decoration: underline;
}

.project-list h3 {
    color: #336699;
    margin: 0 0 8px 0;
}

.project-list p {
    color: #666;
    font-size: 11px;
    margin: 0;
}

.project-meta {
    color: #999;
    font-size: 11px;
    margin-bottom: 15px;
}

.project-content {
    margin-top: 15px;
    line-height: 1.7;
}

.project-content p {
    margin-bottom: 12px;
}

.project-content ul {
    margin: 10px 0 15px 30px;
    line-height: 1.8;
}

.project-content img {
    max-width: 100%;
    border: 1px solid #ccc;
    margin: 15px 0;
}

.project-content code {
    background: #f5f5f5;
    padding: 2px 4px;
    font-family: "Courier New", Courier, monospace;
    font-size: 11px;
    border: 1px solid #ddd;
}

.project-content pre {
    background: #f5f5f5;
    padding: 10px;
    border: 1px solid #ccc;
    overflow-x: auto;
    margin: 15px 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 11px;
}

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

.project-content a {
    color: #336699;
    text-decoration: underline;
}

.project-content a:hover {
    color: #003366;
}

footer {
    background: #f0f0f0;
    border-top: 2px solid #ccc;
    padding: 15px;
    text-align: center;
    font-size: 11px;
    color: #666;
}

footer p {
    margin: 0;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    header {
        padding: 15px;
    }

    header h1 {
        font-size: 22px;
    }

    header .tagline {
        font-size: 12px;
    }

    nav a {
        padding: 10px 12px;
        font-size: 12px;
    }

    main {
        padding: 15px;
    }

    h2 {
        font-size: 16px;
    }

    h3 {
        font-size: 14px;
    }

    .error-code {
        font-size: 80px !important;
    }

    .error-message {
        font-size: 18px !important;
    }

    .error-ascii {
        font-size: 10px !important;
    }

    .project-list li {
        padding: 12px;
    }

    .project-content pre {
        font-size: 10px;
        padding: 8px;
        overflow-x: auto;
    }
}
