/* Y2K / Weeb / Cluttered / Boxy Aesthetic - V2 */

:root {
    --bg-color: #f0f8ff;
    --text-color: #2b2b2b;
    --link-color: #0000ff;
    --window-gray: #dfdfdf;
    --window-border-light: #ffffff;
    --window-border-dark: #808080;
    --header-blue: #000080;
    /* Classic Win95 Navy */
    --accent-pink: #ffc0cb;
    --accent-blue: #add8e6;
    --font-main: "Verdana", "Tahoma", "Geneva", sans-serif;
    --font-pixel: "Courier New", "Lucida Console", monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 11px;
    margin: 0;
    padding: 20px;
    /* Grid background */
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: #ff00ff;
    text-decoration: underline;
}

.container {
    width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    gap: 15px;
}

/* Win95 style button/box */
.win-box {
    background: var(--window-gray);
    border: 2px solid;
    border-color: var(--window-border-light) var(--window-border-dark) var(--window-border-dark) var(--window-border-light);
    margin-bottom: 20px;
    padding: 2px;
}

.win-header {
    background: var(--header-blue);
    background: linear-gradient(90deg, #477f9b 0%, #5e8ba9 100%);
    color: white;
    padding: 3px 6px;
    font-weight: bold;
    font-family: var(--font-pixel);
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.win-content {
    background: white;
    border: 1px inset #808080;
    padding: 10px;
    min-height: 10px;
}

.win-footer {
    padding: 3px 6px;
    font-size: 9px;
    color: #666;
    border-top: 1px solid #808080;
    text-align: right;
}

/* Site Layout Elements */
.site-header {
    grid-column: 1 / -1;
    background: white;
    border: 3px double black;
    padding: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(45deg, #fdfbfb 0%, #ebedee 100%);
}

.site-nav {
    grid-column: 1 / -1;
    background: var(--window-gray);
    border: 2px solid;
    border-color: var(--window-border-light) var(--window-border-dark) var(--window-border-dark) var(--window-border-light);
    padding: 4px;
    margin-bottom: 10px;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.site-nav a {
    display: block;
    padding: 3px 15px;
    border: 1px solid #808080;
    background: #e0e0e0;
    color: black;
    box-shadow: inset 1px 1px 0px white;
}

.site-nav a:hover {
    background: #d4d0c8;
    text-decoration: none;
}

/* Blog Posts */
.blog-post {
    margin-bottom: 30px;
}

.post-title {
    font-size: 14px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    padding-bottom: 5px;
    color: #000080;
}

.post-meta {
    font-size: 9px;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.markdown-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Microblog Style */
.note-box {
    background: #ffffcc;
    /* Sticky note yellow */
    border: 1px solid #eedd88;
}

.note-box .win-header {
    background: #eedd88;
    color: #555;
    background: linear-gradient(90deg, #eedd88 0%, #f7f0c6 100%);
}

/* Utilities */
.blink {
    animation: blink 0.8s infinite alternate;
}

@keyframes blink {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.marquee-container {
    background: black;
    color: #0f0;
    font-family: var(--font-pixel);
    padding: 2px;
    font-size: 9px;
    overflow: hidden;
    white-space: nowrap;
}

.tag-cloud a {
    background: #e1e1e1;
    border: 1px solid #999;
    padding: 1px 4px;
    margin: 2px;
    display: inline-block;
    font-size: 9px;
    color: #333;
}

.tag-cloud a:hover {
    background: #000080;
    color: white;
}

/* Layout Fillers */
.filler-box {
    font-size: 9px;
    color: #999;
    text-align: center;
    border: 1px dashed #ccc;
    padding: 10px;
    margin-top: 10px;
}