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

*, *::before, *::after {
    box-sizing: border-box;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.07) 2px,
        rgba(0,0,0,0.07) 4px
    );
    pointer-events: none;
    z-index: 999;
}
body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: #111;
    color: white;
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1.6;
}

/* HEADER */
header {
    background-color: #1a1a1a;
    border-bottom: 2px solid #444;
    padding: 18px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 350px;
}
.logo {
    color: orange;
    letter-spacing: 3px;
    font-weight: bold;
}
nav a {
    color: orange;
    text-decoration: none;
    margin-left: 24px;
}
nav a:hover {
    color: white;
}
nav a.active {
    color: white;
}

/* LAYOUT */
.main-panel {
    flex: 1;
    min-width: 0;
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 8px;
}
.page-body {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 30px;
    align-items: flex-start;
    height: calc(100vh - 80px);
    overflow: hidden;
}

/* SIDE NAV */
.side-nav {
    width: 200px;
    flex-shrink: 0;
    border-right: 1px solid #333;
    padding-right: 24px;
    position: sticky;
    top: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.side-nav h3 {
    color: orange;
    letter-spacing: 2px;
    margin-top: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
    margin-bottom: 12px;
}
.side-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 5px 0;
    font-size: 0.85rem;
    border-left: 2px solid transparent;
    padding-left: 8px;
    transition: color 0.15s, border-color 0.15s;
}
.side-nav a:hover {
    color: orange;
    border-left-color: orange;
}
.side-nav a.active {
    color: orange;
    border-left-color: orange;
}

/* MAIN PANEL */
.main-panel {
    flex: 1;
    min-width: 0;
}
.panel {
    display: none;
}
.panel.active {
    display: block;
}

/* HEADINGS */
h2 {
    color: orange;
    letter-spacing: 2px;
}
h3 {
    color: orange;
    letter-spacing: 2px;
}

/* LINKS */
a.external-link {
    color: orange;
    text-decoration: none;
}
a.external-link:hover {
    color: orangered;
}

/* TABLE */
table {
    border-collapse: collapse;
    width: 100%;
}
td {
    border: 1px solid #444;
    padding: 10px;
}

/* COMMENTS */
.comments-section {
    margin-top: 24px;
    border-top: 1px solid #333;
    padding-top: 24px;
}
.comments-section h3 {
    margin-top: 0;
}
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}
.comment-form input,
.comment-form textarea {
    background: #1a1a1a;
    border: 1px solid #444;
    color: white;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    padding: 10px;
    outline: none;
    transition: border-color 0.15s;
    resize: vertical;
}
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: orange;
}
.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: #555;
}
.comment-form button {
    align-self: flex-start;
    background: none;
    border: 1px solid orange;
    color: orange;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    padding: 8px 20px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.15s, color 0.15s;
}
.comment-form button:hover {
    background: orange;
    color: #111;
}
.comment-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 8px;
}
.comment-list::-webkit-scrollbar { width: 6px; }
.comment-list::-webkit-scrollbar-track { background: #1a1a1a; }
.comment-list::-webkit-scrollbar-thumb { background: #444; }
.comment-list::-webkit-scrollbar-thumb:hover { background: orange; }
.comment {
    border-left: 2px solid #333;
    padding-left: 14px;
    margin-bottom: 12px;
}
.comment-meta {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 4px;
}
.comment-meta .comment-author {
    color: orange;
    margin-right: 10px;
}
.comment-body {
    font-size: 0.875rem;
    color: #c5c2b8;
}

/* ABOUT IMAGE FLOAT */
.div_deg {
    width: auto;
    margin: auto;
    overflow: hidden;
}
.my_img {
    float: left;
    margin-right: 16px;
    margin-bottom: 8px;
}

/* BLINK */
.blink {
    animation: blink 1s steps(1, end) infinite;
}
@keyframes blink {
    0%   { color: orange; }
    50%  { color: white; }
    100% { color: orange; }
}

.archive-sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 5px 0;
    font-size: 0.85rem;
    border-left: 2px solid transparent;
    padding-left: 8px;
    transition: color 0.15s, border-color 0.15s;
}
.archive-sidebar a:hover {
    color: orange;
    border-left-color: orange;
}
.archive-sidebar a.active {
    color: orange;
    border-left-color: orange;
}

.title-line1 {
    background-image: url('icon/FluffBullshitLine1.png');
}

.title-banner {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    min-height: 60px;
    padding: 0px;
}
