:root {
    --ink: #182421;
    --muted: #63706a;
    --paper: #f4f3ed;
    --panel: #e8ede4;
    --line: #cbd3c7;
    --acid: #d5f06f;
    --coral: #f2785b;
    --deep: #253d37;
    --shadow: rgb(24 36 33 / 10%);
    --scrim: rgb(24 36 33 / 48%);
}

:root[data-theme="dark"] {
    --ink: #f4eee9;
    --muted: #b8aaa8;
    --paper: #110e13;
    --panel: #24182b;
    --line: #493448;
    --acid: #c5a7ef;
    --coral: #bc5b54;
    --deep: #08070a;
    --shadow: rgb(0 0 0 / 35%);
    --scrim: rgb(0 0 0 / 62%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "DM Sans", system-ui, sans-serif;
    line-height: 1.6;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: .3;
    background-image: radial-gradient(#b7c2b5 .7px, transparent .7px);
    background-size: 17px 17px;
}

#sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 10;
    width: 286px;
    padding: 34px 24px 28px;
    overflow-y: auto;
    background: var(--deep);
    color: #f5f5e9;
    box-shadow: 12px 0 30px var(--shadow);
}

#sidebar header {
    margin-bottom: 52px;
}

#sidebar h1 {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    color: #fffef4;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    letter-spacing: -.05em;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px 4px 11px 4px;
    background: var(--acid);
    color: var(--deep);
    font-size: .78rem;
    letter-spacing: -.08em;
}

#sidebar nav {
    display: grid;
    gap: 30px;
}

.nav-group {
    display: grid;
    gap: 12px;
}

#MEPHISTO {
  /*
    I AM THE URGE OF THE FLESH!!!!
  */
  color: crimson;
}

#sidebar .nav-title {
    margin: 0;
    color: var(--acid);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

#sidebar ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#sidebar a {
    display: block;
    padding: 8px 10px;
    border-radius: 7px;
    color: #dbe4d8;
    font-size: .9rem;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

#sidebar a:hover {
    background: rgb(213 240 111 / 13%);
    color: var(--acid);
    transform: translateX(3px);
}

#sidebar hr {
    width: 100%;
    margin: 0;
    border: 0;
    border-top: 1px solid rgb(219 228 216 / 15%);
}

#main {
    display: flex;
    min-height: 100vh;
    margin-left: 286px;
    padding: clamp(42px, 8vw, 110px) clamp(24px, 8vw, 120px) 42px;
    flex-direction: column;
}

.introduction {
    width: min(760px, 100%);
    margin: auto 0;
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--coral);
    font-size: .74rem !important;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

#main h2 {
    max-width: 720px;
    margin: 0 0 25px;
    color: var(--ink);
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    font-weight: 600;
    letter-spacing: -.075em;
    line-height: .98;
}

#main h2 em {
    color: var(--coral);
    font-style: normal;
}

#main p {
    font-size: 1.05rem;
}

.intro-lede {
    max-width: 610px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.6vw, 1.22rem) !important;
    line-height: 1.8;
}

.intro-note {
    display: flex;
    max-width: 470px;
    align-items: center;
    gap: 13px;
    margin-top: 42px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.intro-note p {
    margin: 0;
    color: var(--deep);
    font-size: .88rem !important;
    font-weight: 600;
}

:root[data-theme="dark"] #main .intro-note p {
    color: var(--ink);
}

.note-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 6px rgb(242 120 91 / 17%);
}

footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 70px;
    color: var(--muted);
    font-size: .76rem;
}

footer p {
    margin: 0;
}

footer .social-links {
    margin: 0;
}

.social-links a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--acid);
    transition: transform .2s ease, background .2s ease;
}

.social-links a:hover {
    background: var(--coral);
    transform: rotate(-8deg) scale(1.08);
}

.octicon {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.menu-toggle {
    display: none;
}

.theme-toggle {
    position: fixed;
    top: 22px;
    right: 28px;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--ink);
    font: 700 .72rem "DM Sans", sans-serif;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.theme-toggle:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.theme-toggle-icon {
    color: var(--coral);
    font-size: 1rem;
    line-height: 1;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 4px;
}

@media (max-width: 760px) {
    #sidebar {
        width: min(86vw, 320px);
        transform: translateX(-105%);
        transition: transform .3s ease;
    }

    #sidebar.open {
        transform: translateX(0);
    }

    .menu-toggle {
        position: fixed;
        top: 18px;
        right: 18px;
        z-index: 20;
        display: flex;
        width: 46px;
        height: 46px;
        padding: 11px 10px;
        flex-direction: column;
        justify-content: space-between;
        border: 0;
        border-radius: 50%;
        background: var(--acid);
        box-shadow: 0 8px 20px rgb(24 36 33 / 18%);
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        border-radius: 4px;
        background: var(--deep);
        transition: transform .2s ease, opacity .2s ease;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    body.menu-open::after {
        position: fixed;
        inset: 0;
        z-index: 9;
        content: "";
        background: var(--scrim);
    }

    #main {
        min-height: 100svh;
        margin-left: 0;
        padding: 100px 24px 30px;
    }

    .theme-toggle {
        top: 20px;
        right: 76px;
    }

    .introduction {
        margin: auto 0;
    }

    #main h2 {
        font-size: clamp(2.7rem, 14vw, 4.6rem);
    }

    .intro-note {
        margin-top: 32px;
    }

    footer {
        align-items: center;
        margin-top: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/*
ARTIGOS RAROS PARA DOBBIE!!!
*/

#ORANGE {
  color: orange;
}

#PURPLE {
  color: purple;
}
                    
