/* ===========================================
   COLOUR THEME - IBM Dark Blue
   =========================================== */

body { background-color: #161628; }
nav { background-color: #005eff; }
h1, h2 { color: #4da8ff; }
.image-caption { color: #6a8cba; }
.nav-links a { color: #dcdcdc; }
.nav-links a:hover { color: #4da8ff; }
footer { background-color: #0e0e1c; }
.footer-spacer { background-color: #0e0e1c; }
.footer-container a { color: #dcdcdc; }
.footer-container a:hover { color: #4da8ff; }
.footer-container { color: #dcdcdc; }
.nav-links { color: #dcdcdc; }


/* ===========================================
   LAYOUT AND EVERYTHING ELSE
   =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.4;
}

nav {
    padding: 20px 0 0 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 1.35em;
}

.nav-links a {
    text-decoration: none;
    font-weight: 700;
    transition: color 0.1s;
}

.itch-logo {
    height: 30px;
    width: auto;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
}


.copyright {
    font-size: 1.2em;
    text-align: center;
    width: 100%;
}

.legal {
    font-size: 0.90em;
    color: #b0b0b8;
    line-height: 2.1;
    margin-top: 8px;
}

h1 {
    font-size: 2.7em;
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 0;
    line-height: 1.2;
}

h1 + h1 {
    margin-top: 10px;
}

h2 {
    font-size: 1.8em;
    font-weight: 600;
    margin-top: 60px;
    margin-bottom: 0;
    scroll-margin-top: 140px;
}

p {
    font-size: 1.25em;
    margin-top: 20px;
    margin-bottom: 0;
    line-height: 1.6;
    color: #dcdcdc;
}

p a {
    color: #dcdcdc;
    text-decoration: underline;
}
p a:hover {
    color: #4da8ff;
}

p + p { margin-top: 26px; }
p + ul { margin-top: 20px; }
ul + p { margin-top: 20px; }
h1 + p { margin-top: 20px; }
h2 + p { margin-top: 16px; }
h2 + ul { margin-top: 14px; }


ul {
    list-style: none;
    margin: 0;
}

ul li {
    font-size: 1.35em;
    margin-bottom: 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
    color: #dcdcdc;
}

ul li:before {
    content: "-";
    position: absolute;
    left: 0;
}

ul li a {
    color: #dcdcdc;
    text-decoration: none;
}
ul li a:hover {
    color: #4da8ff;
}

.screenshot-container {
    margin: 50px auto;
    text-align: center;
    max-width: 70%;
}
.screenshot-container img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-container-full {
    margin: 50px 0;
    text-align: center;
    max-width: 100%;
}
.screenshot-container-full img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    font-size: 0.95em;
    margin-top: 10px;
    font-style: italic;
    text-align: left;
}

footer {
    padding: 40px 40px 0 40px;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    justify-content: center;
    padding-bottom: 40px;
    flex-wrap: wrap;
}

.footer-container a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer-spacer {
    height: 100px;
}

.image-caption a {
    color: #6a8cba;
    text-decoration: underline;
}
.image-caption a:hover {
    color: #4da8ff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.5em; }
    .nav-container { flex-direction: column; gap: 20px; }
    .nav-links { flex-wrap: wrap; justify-content: center; }
    main { padding: 40px 20px; }
    .nav-container { padding: 0 20px; }
    footer { padding: 40px 20px 0 20px; }
    .footer-container { flex-direction: column; gap: 20px; align-items: center; }
    .screenshot-container { max-width: 100%; }
}
