html,
body {
    margin: 0;
    padding: 0;
    background-color: #111111;
    color: #e0e0e0;
    font-family: 'Commit Mono', monospace;
    font-size: 13px;
    line-height: 1.4;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    padding: 35px 35px 40px 35px;
    max-width: none;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.nav-section {
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
}

.ascii-art {
    position: absolute;
    top: -130px;
    left: 175px;
    font-family: 'Commit Mono', monospace;
    font-size: 8px;
    line-height: 1;
    white-space: pre;
    background: linear-gradient(to bottom, #9966cc, #4488dd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    pointer-events: none;
    will-change: transform;
}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 13px;
}

.nav-links a:hover {
    background-color: #f0f0f0;
    color: #111111;
    border-radius: 3px;
}

.swe-text {
    background: linear-gradient(to bottom, #9966cc, #4488dd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.section {
    margin-bottom: 80px;
}

.intro-text {
    color: #e0e0e0;
    margin-bottom: 80px;
}

.posts-list {
    text-align: left;
}

.section-title {
    font-size: 13px;
    font-weight: normal;
    margin-bottom: 20px;
    color: #ffffff;
}

.tab-bar {
    margin-bottom: 30px;
}

.tab-link {
    color: #ffffff;
    text-decoration: none;
}

.tab-link:not(.is-active):hover {
    text-decoration: underline;
}

.tab-link.is-active {
    color: #ffffff;
    font-weight: bold;
}

.tab-separator {
    margin: 0 6px;
    color: #e0e0e0;
}

.project-item {
    margin-bottom: 12px;
    color: #e0e0e0;
}

.project-name {
    color: #e0e0e0;
    text-decoration: none;
}

.project-name:hover {
    color: #ffffff;
    text-decoration: underline;
}

.project-separator {
    margin: 0 6px;
    color: #e0e0e0;
}

.project-desc {
    color: #e0e0e0;
}

.blog-item {
    margin-bottom: 12px;
    color: #e0e0e0;
}

.blog-date {
    color: #ffffff;
}

.blog-title {
    color: #ffffff;
    text-decoration: none;
}

.blog-title:hover {
    background-color: #f0f0f0;
    color: #111111;
    border-radius: 3px;
}

.blog-title:hover .blog-date {
    color: #111111;
}

.blog-more {
    margin-top: 12px;
}

/* Post / article content */
.post-meta {
    margin-bottom: 8px;
}

.post-title {
    font-size: 18px;
    font-weight: normal;
    color: #ffffff;
    margin: 0 0 30px 0;
}

.post-content {
    color: #e0e0e0;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    color: #ffffff;
    font-weight: normal;
    margin: 30px 0 12px 0;
}

.post-content p {
    margin: 0 0 16px 0;
}

.post-content a {
    color: #66b3ff;
    text-decoration: none;
}

.post-content a:hover {
    color: #99ccff;
    text-decoration: underline;
}

.post-content ul,
.post-content ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 6px;
}

.post-content blockquote {
    margin: 0 0 16px 0;
    padding-left: 16px;
    border-left: 2px solid #4488dd;
    color: #b0b0b0;
}

.post-content code {
    background-color: #1c1c1c;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.9em;
}

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

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

.post-content img {
    max-width: 100%;
}

.post-content hr {
    border: none;
    border-top: 1px solid #333333;
    margin: 30px 0;
}

.post-divider {
    border: none;
    border-top: 1px solid #333333;
    margin: 20px 0 30px 0;
}

.post-footer {
    margin-top: 40px;
}

.footer {
    margin-top: 80px;
    color: #666666;
    font-size: 0.85em;
}

.footer a {
    color: #666666;
}

.footer a:hover {
    color: #999999;
}

/* Scale up for non-mobile screens */
@media (min-width: 768px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 60px 60px 60px 60px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .section-title {
        font-size: 15px;
    }

    .ascii-art {
        font-size: 14px;
        top: -310px;
        left: 180px;
    }
}

@media (min-width: 1024px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 80px 80px 80px 80px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .section-title {
        font-size: 16px;
    }

    .project-item {
        white-space: nowrap;
    }

    .ascii-art {
        font-size: 18px;
        top: -370px;
        left: 240px;
    }
}

@media (min-width: 1440px) {
    body {
        font-size: 18px;
    }

    .container {
        padding: 100px 100px 100px 100px;
    }

    .nav-links a {
        font-size: 18px;
    }

    .section-title {
        font-size: 18px;
    }

    .project-item {
        white-space: nowrap;
    }

    .ascii-art {
        font-size: 22px;
        top: -460px;
        left: 300px;
    }
}
