@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-size: 16px;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    background-color: #fff;
    color: #111;
}

.section {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.container {
    width: 100%;
    max-width: 720px;
}

img,
video {
    max-width: 100%;
    height: auto;
}

pre {
    overflow-x: auto;
}

.post-date {
    color: #666;
    margin-right: 0.75rem;
    font-size: 0.9em;
}

.side-note {
    border-left: 3px solid #444;
    background-color: #f5f5f5;
    padding: 1rem 1.25rem;
    margin: 1.75rem 0;
    font-size: 0.95em;
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .section {
        padding: 1.5rem 0.75rem;
    }
}

.back-link {
    margin-top: 2rem;
    font-size: 0.95em;
}

.back-link a {
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid currentColor;
}

.back-link a:hover {
    opacity: 0.7;
}

hr {
    margin: 2.5rem 0 1.5rem;
    border: none;
    border-top: 1px solid #ddd;
}

.comments-section {
    margin: 1.5rem 0 2rem;
    padding: 1rem 1.25rem;
    background-color: #f9f9f9;
    border-radius: 4px;
    font-size: 0.95em;
}

.comments-section h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1em;
}

.comments-section p {
    margin: 0;
}

.comments-section a {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid #0066cc;
}

.comments-section a:hover {
    opacity: 0.7;
}
