/* Base styles */
::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    background-color: #1C1C1F;
    /* Very Dark Zinc, slightly lighter than #18181B */
    color: #D4D4D8;
    padding: 2rem 0;
    line-height: 1.25;
    font-family: serif;
    letter-spacing: -0.0px;
}

.container {
    margin: 0;
    padding: 2rem 20px 0 20px;
    font-family: serif;
    flex: 1;
}

.content {
    max-width: 700px;
    position: relative;
    z-index: 10;
}

.content-centered {
    max-width: 800px;
    margin: 0 auto;
}

.content-blog-post {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: serif;
}

h1 {
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 1rem;
}

h2 {
    font-weight: bold;
    font-size: 1.5rem;
    margin: 1.0rem 0;
}

p,
ol,
ul,
li {
    font-family: serif;
    font-size: inherit;
    line-height: inherit;
}

.italic {
    font-style: italic;
}

/* Links */
a {
    color: #A3E635;
    /* Lime Green */
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover {
    color: #84cc16;
    /* Darker Lime Green on hover */
}

h2 a {
    text-decoration: none;
    color: inherit;
}

h2 a:hover {
    color: #A3E635;
}

.with-space {
    margin-top: 2rem;
}

/* Images */
.wide-figure {
    margin: 2rem 0;
}

.wide-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Layout */
html,
body {
    margin: 0;
}

body {
    font-family: 'Crimson Text', serif;
    background-color: #1C1C1F;
    color: #D4D4D8;
    line-height: 1.6;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ASCII Background */
.ascii-art {
    font-family: monospace;
    white-space: pre;
    overflow: hidden;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 70%;
    transform: translateX(-50%);
    height: 100vh;
    display: flex;
    justify-content: center;
    z-index: 0;
    color: #3F6212;
    opacity: 0.8;
    pointer-events: none;
    margin: 0;
    padding: 0;
}

.ascii-art span {
    display: block;
    font-size: 1.20vh;
    line-height: 1.05;
}

@media (max-width: 600px) {
    body {
        padding: 1rem 0;
    }

    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .content {
        font-size: 0.9rem;
    }

    .ascii-art {
        font-size: 8px;
        width: 150%;
    }
}
