/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Handjet:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');


/* ---------- Site-wide variables ---------- */
:root {
    --space-purple: #200c60;
    --deep-purple: #120b77;
    --dark-purple: #18075c;

    --ice: #f0f0ff;
    --pale-blue: #e5f6ff;
    --soft-blue: #a7d6ff;
    --cyan: #66d9ff;
    --bright-cyan: #72ffff;

    --pink: #ffbbfa;
    --old-pink: #d18e8c;

    --title-blue: #335fa8;
    --title-dark: #0a005a;

    --text-shadow: #c7c7ff;
}

/* ---------- Base page ---------- */
html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;

    cursor: url("styleimages/jellycursor.png"), auto;

    background-color: #09051f;
    background-image:
        url("https://pixeljoint.com/files/icons/full/space__r1437994661.gif");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;

    font-family: Lato, Calibri, Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1.35;

    color: var(--ice);
    text-shadow: 0 0 1px var(--text-shadow);
}


/* ---------- Main site width ---------- */
#layout {
    width: 800px;
    margin: 50px auto;
}


/* ---------- Main navigation ---------- */
#navigation1 {
    width: 730px;
    margin: 0 auto 10px;
    line-height: 20px;
    text-align: center;
}

#navigation2 {
    min-height: 20px;

    background: var(--space-purple);

    border-radius: 10px;
    border-top: 2px solid var(--pink);

    margin: 0;
    padding: 2px 4px;

    box-sizing: border-box;

    box-shadow:
        0 0 5px rgba(0, 255, 255, 0.18);
}

#navigation2 a {
    display: inline-block;

    background: transparent;

    color: var(--pale-blue);

    font: 10px monospace, Georgia, serif;
    line-height: 20px;

    text-transform: uppercase;
    text-decoration: none;

    letter-spacing: 3px;

    padding: 4px;
    margin-right: 10px;
}

#navigation2 a:hover {
    color: var(--bright-cyan);

    text-shadow:
        0 0 4px #00ffff;
}


/* ---------- General links ---------- */
a:link,
a:visited,
a:active {
    color: var(--pale-blue);
    text-decoration: none;
}

a:hover {
    color: var(--bright-cyan);
}


/* ---------- Main two-column layout ---------- */
#leftside {
    width: 220px;
    float: left;
    margin: 10px auto;
}

#rightside {
    width: 220px;
    float: left;
    margin: 10px auto;
}

#left {
    background: rgba(0, 0, 0, 0.28);

    border-top: 0;
    border-right: 1px solid var(--dark-purple);

    margin: 0;
    padding: 4px;
    padding-top: 5px;

    font-family: "Orbitron", sans-serif;

    box-shadow:
        0 0 3px 1px #0ff;
}

#right {
    background: rgba(0, 0, 0, 0.28);

    border-top: 0;
    border-left: 1px solid var(--dark-purple);
    border-right: 0;

    margin: 0;
    padding: 4px;
    padding-top: 5px;

    font-family: "Orbitron", sans-serif;

    box-shadow:
        0 0 3px 1px #0ff;
}


/* ---------- Main content column ---------- */
#content1 {
    width: 300px;
    float: left;
    margin: 10px auto;

    font-family: "Orbitron", sans-serif;
    font-style: normal;
    font-weight: normal;
}

#content2 {
    background: rgba(0, 0, 0, 0.28);

    border-top: 0;

    margin: 10px;
    padding: 4px;

    font-family: "Orbitron", sans-serif;

    box-shadow:
        0 0 3px 1px #0ff;
}


/* ---------- Shared panel title ---------- */
.title {
    display: block;

    color: #f1faff;
    background: var(--title-blue);

    font-family: "Handjet", sans-serif;
    font-size: 16px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 2px;

    line-height: 16px;

    padding: 2px 4px;

    margin-bottom: 4px;

    border-bottom: 1px solid var(--title-dark);

    text-shadow:
        0 0 2px var(--text-shadow);
}

.title img {
    width: auto;
    height: 16px;

    vertical-align: middle;

    margin-right: 3px;
}


/* ---------- Light content title ---------- */
.content-title {
    text-align: center;

    color: #140044;
    background: var(--soft-blue);

    font-family: "Handjet", sans-serif;
    font-size: 14px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 2px;

    line-height: 14px;

    padding: 3px 4px;

    margin-bottom: 4px;

    border-bottom: 1px solid #b5b0ff;
}

.content-title img {
    width: auto;
    height: 14px;

    vertical-align: middle;

    margin-right: 3px;
}


/* ---------- Older site button style ---------- */
.button {
    display: block;

    background: #c7d3ff;
    color: #333;

    margin-bottom: 1px;
    padding: 2px 5px;

    border-left: 5px solid #88a2ff;

    font: 9px monospace, sans-serif;

    text-transform: uppercase;
    letter-spacing: 2px;
}

.button:hover {
    background: #f5f5f5;
    color: #666;

    border-left-color: #d5c7ff;
}


/* ---------- Lists ---------- */
ul {
    padding-left: 24px;
}

li {
    margin-bottom: 3px;
}


/* ---------- Images ---------- */
img {
    max-width: 100%;
}

/* ---------- Footer ---------- */
#footerwrap {
    width: 560px;

    float: left;

    margin: 0 auto;

    clear: both;

    line-height: 20px;
    text-align: center;
}

#footer {
    min-height: 40px;

    background: transparent;

    margin: 0;

    font: 10px Calibri, sans-serif;
}


/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
    height: 0;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #294a31;
    border-radius: 0;
    border: 1px solid #ccc;
}


/* ---------- Clear floats ---------- */
.clearfix::after,
#layout::after {
    content: "";
    display: table;
    clear: both;
}


/* ---------- Mobile fallback ---------- */
@media (max-width: 850px) {
    #layout {
        width: 95%;
        margin: 20px auto;
    }

    #navigation1 {
        width: 100%;
    }

    #leftside,
    #rightside,
    #content1 {
        float: none;

        width: 100%;
        max-width: 100%;

        margin: 10px auto;
    }

    #navigation2 a {
        margin-right: 3px;
    }
}