/* Judah Faison Portfolio - deliberately old-school presentation */

html, body {
    margin: 0;
    padding: 0;
}

body {
    background-color: #04070b;
    color: #d4dde6;
    font-family: Roboto, "Segoe UI", Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    background-image:
        linear-gradient(45deg, rgba(141, 182, 255, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(141, 182, 255, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(84, 100, 118, 0.07) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(84, 100, 118, 0.07) 75%);
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0px;
}

.project-page {
    overflow: auto;
}

a {
    color: #8cb7ff;
    text-decoration: underline;
}

a:visited {
    color: #a39bd9;
}

a:hover {
    color: #cfe2ff;
}

.screen {
    width: 94%;
    max-width: 920px;
    margin: 18px auto;
    background-color: #0b0f14;
    border: 3px ridge #5d6b7a;
    padding: 8px;
    box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.35);
}

.project-shell {
    min-height: calc(100vh - 36px);
}

.chrome {
    width: 100%;
    border-collapse: collapse;
    background-color: #0f1620;
    border: 2px solid #435261;
}

.chrome td {
    border: 1px solid #36414d;
    padding: 6px 8px;
    font-size: 14px;
    color: #c0cddd;
}

.titlebar {
    background: linear-gradient(to right, #162231, #223246 68%, #111922);
    color: #e1ebf7;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.navline {
    background-color: #10161e;
    border: 2px inset #4b5968;
    margin-top: 8px;
    margin-bottom: 10px;
    padding: 6px;
    font-size: 15px;
    color: #d0d8e2;
}

.navline strong {
    color: #e0e9f3;
}

.layout {
    width: 100%;
    border-collapse: collapse;
}

.layout td {
    vertical-align: top;
}

.sidebar {
    width: 210px;
    padding-right: 10px;
}

.panel {
    border: 2px groove #596574;
    background: linear-gradient(180deg, #111820 0%, #0c1117 100%);
    margin-bottom: 10px;
    padding: 8px;
}

.panel h2,
.panel h3,
.content h1,
.content h2,
.content h3 {
    margin-top: 0;
    color: #e0eaf4;
    font-family: "Courier New", Courier, monospace;
    font-weight: 700;
}

.panel h2 {
    font-size: 17px;
    margin-bottom: 8px;
    border-bottom: 1px dashed #4a5868;
    padding-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.panel ul {
    margin: 0;
    padding-left: 18px;
}

.content {
    border: 2px groove #596574;
    background-color: #0c1117;
    padding: 12px;
}

.content h1 {
    font-size: 26px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.content h2 {
    font-size: 20px;
    border-bottom: 1px dashed #4a5868;
    padding-bottom: 4px;
    margin-top: 18px;
    text-transform: uppercase;
}

.content h3 {
    font-size: 17px;
    margin-top: 14px;
    text-transform: uppercase;
}

.project-layout {
    margin-top: 0;
    table-layout: fixed;
    width: 100%;
    height: calc(100vh - 140px);
}

.project-sidebar {
    width: 230px;
    overflow: hidden;
    height: calc(100vh - 140px);
}

.project-layout td:last-child {
    width: auto;
    height: calc(100vh - 140px);
}

.project-content {
    padding: 0;
    height: 100%;
}

.project-scroll {
    height: 100%;
    overflow-y: auto;
    padding: 12px;
}

.project-section {
    border: 2px groove #596574;
    background-color: #10161e;
    margin-top: 14px;
    margin-bottom: 10px;
    padding: 8px;
}

.project-section p:first-child,
.project-section h2:first-child,
.project-section h3:first-child {
    margin-top: 0;
}

.project-section ul,
.project-section ol {
    margin: 0;
    padding-left: 18px;
}

.project-section li {
    margin-bottom: 6px;
}

.project-source-note {
    margin-top: 14px;
}

.meta {
    font-size: 14px;
    color: #c3cfda;
    margin-bottom: 12px;
}

.status-box {
    border: 1px solid #5a6777;
    background: #111820;
    padding: 8px;
    margin-bottom: 10px;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    color: #d7e2ef;
}

pre.terminal {
    margin: 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 15px;
    color: #d3dce7;
    white-space: pre-wrap;
}

.case-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.case-table th,
.case-table td {
    border: 1px solid #4d5a68;
    padding: 6px;
    text-align: left;
}

.case-table th {
    background-color: #18212d;
    color: #deeaF7;
    width: 190px;
    font-family: "Courier New", Courier, monospace;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.note {
    border: 1px dashed #5a6777;
    background-color: #101721;
    padding: 8px;
    color: #ced9e4;
    margin-bottom: 12px;
}

.footer {
    margin-top: 10px;
    border-top: 1px solid #475564;
    padding-top: 8px;
    font-size: 13px;
    color: #b7c4d1;
    font-family: "Courier New", Courier, monospace;
}

.portal-banner {
    margin-top: 10px;
    border: 3px ridge #5a6877;
    background: radial-gradient(circle at top, #1a2430, #0d1218 72%, #090d12);
    color: #dfe8f4;
    padding: 14px;
    position: relative;
    overflow: hidden;
}

.portal-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 4px
    );
    pointer-events: none;
}

.portal-banner h1,
.portal-banner p {
    position: relative;
    z-index: 1;
}

.portal-banner h1 {
    margin: 0;
    color: #edf3fb;
    text-shadow: 0 0 6px rgba(141, 182, 255, 0.18), 1px 1px 0 #000;
}

.portal-banner p {
    margin: 8px 0 0;
    color: #c7d2de;
}

.portal-marquee {
    margin-top: 10px;
    border: 2px inset #55606e;
    background: #111820;
    color: #9ec0ff;
    padding: 6px;
    font-family: "Courier New", Courier, monospace;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
}

.portal-marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-move 16s linear infinite;
}

@keyframes marquee-move {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.portal-status-row {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portal-pill {
    display: inline-block;
    border: 1px solid #5d6978;
    background: #16202b;
    color: #dbe5f0;
    padding: 2px 6px;
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
}

.boot {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #030508;
    color: #d2dce8;
    padding: 18px;
    z-index: 999;
    border: 4px solid #516172;
    font-family: "Courier New", Courier, monospace;
}

.boot h1 {
    margin-top: 0;
    font-size: 19px;
}

.boot-controls {
    margin-top: 12px;
}

.boot button {
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    color: #ecf3ff;
    background-color: #1b2430;
    border: 2px outset #5f6a79;
    padding: 5px 10px;
    cursor: pointer;
}

.boot button:active {
    border: 2px inset #5f6a79;
}

.hidden {
    display: none;
}

.index-list {
    margin: 0;
    padding-left: 18px;
}

.index-list li {
    margin-bottom: 8px;
}

.hr {
    border: 0;
    border-top: 1px solid #3f4c5a;
    height: 0;
    margin-top: 14px;
    margin-bottom: 14px;
}

.tag {
    display: inline;
    border: 1px solid #5d6978;
    background-color: #1a2230;
    color: #d8e1ed;
    padding: 1px 6px;
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
}
