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

body {
    font-family: 'Roboto', sans-serif;
    color: #000;
    background-color: #FFFEF7;
    background-image:
        radial-gradient(circle, rgba(0, 0, 0, 0.3) 0.5px, transparent 0.5px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    min-height: 100vh;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #000;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.sidebar {
    width: 300px;
    background-color: #FFFEF7;
    background-image:
        radial-gradient(circle, rgba(0, 0, 0, 0.3) 0.5px, transparent 0.5px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    border-right: 1px solid #000;
    padding: 40px 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar h2 {
    margin-top: 40px;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 500;
}

#blog-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.blog-link {
    text-decoration: none;
    color: #000;
    padding: 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
    display: block;
}

.blog-link:hover {
    background-color: #f5f5f5;
}

.blog-link.active {
    background-color: #e8e8e8;
}

.blog-title {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 5px;
}

.blog-date {
    font-size: 13px;
    color: #666;
}

.loading {
    color: #666;
    font-style: italic;
}

.content {
    flex: 1;
    padding: 65px 80px 60px 80px;
    max-width: 900px;
}

.about h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 500;
}

.about p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.content h1 {
    font-size: 32px;
    margin-bottom: 10px;
    margin-top: 8px;
    font-weight: 500;
}

.content .post-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    display: block;
}

.content h2 {
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.content h3 {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 500;
}

.content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.content ul, .content ol {
    margin-left: 25px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.content code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.content pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 15px;
}

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

.content blockquote {
    border-left: 3px solid #000;
    padding-left: 20px;
    margin: 20px 0;
    color: #333;
    font-style: italic;
}

.content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

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

.content a:hover {
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }

    .sidebar.open {
        left: 0;
    }

    .container {
        flex-direction: column;
    }

    .content {
        padding: 80px 20px 40px 20px;
        width: 100%;
    }

    .about h1 {
        font-size: 28px;
    }

    .about p {
        font-size: 16px;
    }

    .content h1 {
        font-size: 26px;
        scroll-margin-top: 70px;
    }

    .content h2 {
        font-size: 22px;
        scroll-margin-top: 70px;
    }

    .content h3 {
        font-size: 18px;
        scroll-margin-top: 70px;
    }
}
