:root {
    --bg: #000;
    --mono: ui-monospace, "Cascadia Code", "Fira Code", Menlo, Consolas, monospace;
}

[data-theme="hacker"] {--accent: #6dbf8a; --accent-hover: #8fe0a8; --fg: #8a8a8a; --fg-alt: #c9c9c9;; --dim: #6e6e6e;}
[data-theme="sakura"] {--accent: #a06dbf; --accent-hover: #d188ff; --fg: #8a8a8a; --fg-alt: #c9c9c9;; --dim: #6e6e6e;}
[data-theme="autumn"] {--accent: #bf6d6d; --accent-hover: #ff8888; --fg: #8a8a8a; --fg-alt: #c9c9c9;; --dim: #6e6e6e;}
[data-theme="ocean"] {--accent: #6dbbbf; --accent-hover: #88ffff; --fg: #8a8a8a; --fg-alt: #c9c9c9;; --dim: #6e6e6e;}
[data-theme="pink"] {--accent: #bf6dad; --accent-hover: #ff88df; --fg: #8a8a8a; --fg-alt: #c9c9c9;; --dim: #6e6e6e;}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--mono);
}

img,
picture,
video,
canvas,
svg {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.container {
    width: 100%;
    max-width: 840px;
    margin-inline: auto;
}

body > header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-logo {
    width: 100%;
}

.header-logo pre {
    font-size: clamp(0.35rem, 1.92vw, 1rem);
    line-height: 1.2;
    white-space: pre;
    width: 52ch;
    max-width: 100%;
    margin-inline: auto;
}

.header-links {
    width: 100%;
    text-align: center;
}

.meta {
    text-align: center;
    padding-top: 2.5rem;
}

.meta-title {
    color: var(--fg-alt);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
}

.meta-line {
    color: var(--dim);
    font-size: 0.8rem;
}

main {
    text-align: center;
}

.section-title {
    padding-top: 2.5rem;
    letter-spacing: 0.4em;
    margin-bottom: 1.5rem;
    color: var(--fg-alt);
}

.list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 52ch;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
}

.list a {
    display: flex;
    align-items: baseline;
    gap: 0.5ch;
    width: 100%;
}

.topic {
    flex: 0 0 auto;
    color: var(--accent);
}

.dots {
    flex: 1 1 auto;
    overflow: hidden;
    white-space: nowrap;
}

.dots::before {
    content: ".................................................."
             "..................................................";
}

a:hover .topic,
a.topic:hover {
    color: var(--accent-hover);
}

.desc {
    flex: 0 0 auto;
    color: var(--fg);
}

.main-footer {
    text-align: center;
    padding-block: 2rem;
}

.main-footer-text {
    color: var(--fg);
    font-size: 0.8rem;
}

.page-footer {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-block: 1rem;
}


.footer-gif {
    height: 100px;
    width: auto;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

@media (max-width: 840px) {
    .container {
        padding-left: 1.2em;
        padding-right: 1.2em;
    }
}