:root {
    --page-bg: #090d18;
    --content-bg: rgba(12, 18, 31, 0.94);
    --panel-bg: #141d2d;
    --panel-alt: #1d2b41;
    --nav-bg: #171f2f;
    --nav-hover: #7c5cff;
    --nav-text: #edf4ff;
    --text-main: #eaf2ff;
    --text-soft: #bac8de;
    --heading-shadow: rgba(120, 146, 198, 0.55);
    --border: rgba(148, 167, 214, 0.18);
    --button-bg: #25d0c9;
    --button-text: #071722;
    --button-accent: #8a7dff;
    --body-text: #eaf2ff;
}

body[data-theme="light"] {
    --page-bg: #edf3ff;
    --content-bg: rgba(255, 255, 255, 0.97);
    --panel-bg: #f6f8ff;
    --panel-alt: #e7ecff;
    --nav-bg: #2b315d;
    --nav-hover: #6a5af9;
    --nav-text: #f5f7ff;
    --text-main: #1b2442;
    --text-soft: #48577a;
    --heading-shadow: rgba(72, 90, 140, 0.35);
    --border: rgba(33, 48, 76, 0.14);
    --button-bg: #6aceff;
    --button-text: #111827;
    --button-accent: #7c5cff;
    --body-text: #1b2442;
}

@charset "UTF-8";

html {
    background-image: url("software-bg.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    background-color: var(--page-bg);
}

body {
    font-family: Verdana, Geneva, sans-serif;
    color: var(--body-text);
    background-color: var(--content-bg);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    border: 1px solid var(--border);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.28);
    transition: background-color 0.25s ease, color 0.25s ease;
}

header {
    text-align: center;
    padding: 0;
    background-color: #0a2342;
    position: relative;
}

header > img {
    display: block;
    width: 100%;
    height: auto;
}

/* theme toggle for a little bit of extra flair, it's not required for this assignment, but I think it makes a nice touch */
.theme-toggle {
    position: absolute;
    right: 18px;
    top: 18px;
    background: #0d1b2a;
    color: #edf6ff;
    border: 2px solid rgba(106, 231, 255, 0.8);
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(106, 231, 255, 0.35);
    transition: all 0.2s ease;
}

body[data-theme="light"] .theme-toggle {
    background: #edf4ff;
    color: #0a1223;
    border-color: rgba(45, 98, 169, 0.7);
    box-shadow: 0 0 10px rgba(45, 98, 169, 0.25);
}

.theme-toggle:hover {
    background: #8c7bff;
    color: #ffffff;
    border-color: #ffffff;
}

h1, h2 {
    text-shadow: var(--heading-shadow) 4px 6px 5px;
    color: var(--text-main);
}

h2 {
    font-size: 1.3em;
}

nav {
    /* previous nav styles removed for new 5-column layout */
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: block;
    width: 20%;
    float: left;
}

nav a {
    display: block;
    color: var(--nav-text);
    background-color: var(--nav-bg);
    line-height: 2.8em;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

nav a:hover {
    background-color: var(--nav-hover);
    color: #10263d;
}

main {
    padding: 20px;
    margin-top: 35px;
    background: transparent;
}

main > img {
    width: 25%;
    padding: 25px;
    float: right;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

main p, main li {
    line-height: 1.6;
    color: var(--text-main);
}

ul li {
    list-style-type: square;
    color: var(--text-main);
}

footer {
    background-color: #0a2342;
    color: rgba(255,255,255,.8);
    font-weight: bold;
    font-size: .9em;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    clear: both;
}

body > footer {
    clear: both;
}

