:root {
    --text-color: #ffffff;
    --important-color: #00ff00;
    --bg: #0000bd;
    --horizon-color: #aaaaaa;
    --blog-post-bg: #0000bd; 
    --blog-post-shadow: #000000;
    --code-block-color: #00ff00;
}

@font-face {
    font-family: bios;
    src: url(PerfectDOSVGA437.woff);
}

body {
    background-color: var(--bg);
    margin: 0;
    padding: 0;
    color: var(--text-color);
    font-family: bios;
    font-weight: normal;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* roof + ASCII */
header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.horizon-part {
    white-space: pre;
    line-height: 1.1;
    letter-spacing: 2px;
    font-size: 13px;
    color: var(--horizon-color);
    width: 100%;
    text-align: center;
    overflow: hidden;
    user-select: none;
}

#logo-container {
    white-space: pre;
    line-height: 1;
    font-size: 13px;
    color: var(--important-color);
    padding: 10px 0;
    text-align: center;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
}

/* content */
main {
    flex: 1; /* push the floor to the bottom */
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 0;
    z-index: 10;
}

.blog-post {
    border: 3px solid #bebebe;
    padding: 15px;
    margin-bottom: 50px;
    background: var(--blog-post-bg);
    box-shadow: 25px 25px 0px var(--blog-post-shadow);
}

.blog-post h2 {
    color: var(--important-color); /* blog post title color */
    margin-top: 0px;
    text-transform: uppercase;
    font-size: 35px;
    
}

.date { 
    color: #aaaaaa; 
    font-size: 14px; 
    margin-bottom: 10px; 
}

pre.code-block {
    background: #1e1e1e;
    padding: 10px;
    border: 3px solid var(--text-color);
    font-family: bios;
    overflow-x: auto;
    color: var(--code-block-color);
}

/* button style START */
button {
    background-color: #bebebe; /* Classic grey button */
    color: #000000;            /* Black text for contrast */
    font-family: bios, monospace;
    font-size: 14px;
    padding: 5px 15px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    text-transform: uppercase;
    
    box-shadow: 4px 4px 0px var(--blog-post-shadow);
}

button:hover {
    background-color: #ffffff;
    box-shadow: 4px 4px 0px var(--blog-post-shadow);
}

button:active {
    box-shadow: 2px 2px 0px var(--blog-post-shadow);
    transform: translate(2px, 2px);
}
/* button style END */

/* footer OR horizon floor */
footer {
    width: 100%;
    margin-top: auto;
}
