:root {
    --bg: #1A1A1D;
    --dark: #3B1C32;
    --main: #6A1E55;
    --light: #A64D79;
    --bg-panel: #242428;
    --border: #4B2C3F;
    --accent: #7D295F;

    /* Text */
    --text-main: white;
    --text-muted: #888;
}

body {
    display: flex;
    flex-direction: column;

    height: 100vh;
    width: 100vw;

    margin: 0;

    font-family: 'JetBrains Mono', sans-serif;
    color: var(--text-main);

    background-color: var(--bg);
}

article {
    padding: 2rem;
    margin-top: 3.5rem;

    background-color: var(--bg-panel);

    border-radius: 8px;
    border: 1px solid var(--border);
}

article:is(.full) {
    flex: 1;
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

article:not(.full) {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

@media (min-width: 1200px) {
    article:not(.full) {
        max-width: 1100px;
    }
}

@media (max-width: 850px) {
    article {
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }
}

/* TEXT PARAGRAPH */
article>section>p,
article>p {
    margin: 1rem 0;
    font-size: 1rem;
    line-height: 1.75;
    color: #eaeaea;
}

/* HEADINGS */
h2 {
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

h2,
h3 {
    color: #f4f4f4;
}

/* LIST STYLING */
ul,
ol {
    margin: 1rem 2rem;
    padding-left: 1rem;
}

li {
    font-size: 0.95rem;
    line-height: 1.6;
}

ol li::marker {
    color: var(--accent);
    font-weight: bold;
}

/* LINKS */
/*a {
    color: var(--light);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    outline-offset: 2px;
}

a:hover,
a:focus-visible {
    color: var(--accent);
    text-decoration: underline;
    outline: none;
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}*/

/* CODE */
code:not(pre code) {
    background-color: #2c2c2e;
    color: #fc78ad;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.95em;
    font-family: 'JetBrains Mono', monospace;
    word-break: keep-all;
}

pre:has(>code) {
    border-radius: 0.5rem;
    border: 1px solid var(--bg);
}