/* Colours - change them here and the whole site follows */
:root {
    --bg: #0f1a14;
    --panel: #18271e;
    --border: #2c4434;
    --text: #e4ecdf;
    --muted: #a9bba8;
    --green: #6fbf73;
    --green-bright: #8fdc8f;
    --gold: #d6b25e;
}

/* Background: the screenshot (background.jpg), with a dark green layer
   painted over it so the text stays readable. Raise the 0.65 to darken it,
   lower it to show more of the picture. "fixed" keeps the picture still
   while the page scrolls. */
body {
    margin: 0;
    background:
        linear-gradient(rgba(15, 26, 20, 0.65), rgba(15, 26, 20, 0.65)),
        url("background.jpg") center / cover fixed,
        var(--bg);
    color: var(--text);
    font-family: "Lora", Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Top bar */
nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1rem;
    background: var(--panel);
    border-bottom: 2px solid var(--green);
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-family: "Cinzel", serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

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

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

h1, h2 {
    text-align: center;
    font-family: "Cinzel", serif;
    color: var(--green);
    line-height: 1.3;
}

h1 {
    font-size: 2.4rem;
    color: var(--gold);
}

a {
    color: var(--green-bright);
}

code, pre {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: Consolas, "Courier New", monospace;
}

code {
    padding: 0.1rem 0.35rem;
}

pre {
    padding: 0.8rem 1rem;
    overflow-x: auto;
}

/* Account form */
form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 320px;
    margin: 0 auto;
}

label {
    margin-top: 1rem;
    font-weight: bold;
}

input {
    padding: 0.5rem;
    font-size: 1rem;
    color: var(--text);
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 4px;
}

input:focus {
    outline: none;
    border-color: var(--green);
}

button {
    margin-top: 1.5rem;
    padding: 0.6rem;
    font-size: 1rem;
    font-family: "Cinzel", serif;
    font-weight: 700;
    color: var(--bg);
    background: var(--green);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

button:hover {
    background: var(--green-bright);
    transform: translateY(-2px);
}

/* A link that looks like the buttons above (the client download) */
a.button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    font-family: "Cinzel", serif;
    font-weight: 700;
    color: var(--bg);
    background: var(--green);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

a.button:hover {
    background: var(--green-bright);
    transform: translateY(-2px);
}

/* Home page: text on the left (70%), bug list on the right (30%) */
.columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.main-text {
    flex: 7;
    min-width: 300px;
}

aside {
    flex: 3;
    min-width: 240px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem 1.2rem 1rem;
    font-size: 0.95rem;
}

aside h3 {
    font-family: "Cinzel", serif;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

aside ul {
    padding-left: 1.2rem;
    margin-top: 0.3rem;
}

.note {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
}

/* The home page needs more room for its two columns */
main.wide {
    max-width: 1150px;
}

aside h4 {
    color: var(--green);
    margin: 0.8rem 0 0;
    font-size: 0.95rem;
}
