/* occident.dev color scheme */
:root {
    --primary:        rgb(92, 95, 238);     /* main brand color */
    --selection:      rgb(48, 67, 173);
    --selection-solid: rgba(41, 38, 60, 0.799);
    --positive:       rgb(97, 255, 202);    /* secondary / success */
    --neutral:        rgb(255, 202, 133);   /* tertiary */
    --quaternary:     rgb(246, 148, 255);
    --quinary:        rgb(130, 226, 255);
    --negative:       rgb(255, 103, 103);   /* errors / warnings */
    --fg:             rgb(237, 236, 238);   /* main text */
    --comment:        rgb(109, 109, 109);   /* secondary text */
    --bg:             rgb(21, 20, 27);      /* main background */

    --bg-light:       rgba(41, 38, 60, 0.093); /* subtle overlay / card bg */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--positive);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: var(--quinary);
}

nav {
    background-color: var(--selection-solid);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-tabs li a {
    color: var(--fg);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-tabs li a:hover,
.nav-tabs li a.active {
    background-color: var(--primary);
    color: white;
}

main {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

h1 {
    color: var(--primary);
    margin-bottom: 1rem;
}

h2 {
    color: var(--negative);
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    color: var(--positive);
    margin-bottom: 1rem;
    text-align: center;
}

h1 {
    font-size: 2.8rem;
    text-align: center;
    margin: 2rem 0 3rem;
}

section {
    margin-bottom: 3rem;
}

.content {
    background-color: var(--bg-light);
    padding: 1.8rem 2.2rem;
    border-radius: 10px;
    border: 1px solid rgba(109,109,109,0.25);
}

ul, ol {
    padding-left: 1.8rem;
    margin: 1rem 0;
}

code, pre {
    background: rgba(0,0,0,0.3);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: "Consolas", "Courier New", monospace;
}

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

footer {
    text-align: center;
    padding: 2rem;
    color: var(--comment);
    font-size: 0.9rem;
    margin-top: 4rem;
}

/* Improve readability of markdown-like content */
.content h3 {
    color: var(--neutral);
    margin: 1.8rem 0 0.8rem;
}

.content strong {
    color: var(--negative);
}

.content blockquote {
    border-left: 4px solid var(--positive);
    padding-left: 1.2rem;
    margin: 1.5rem 0;
    color: var(--comment);
}

