:root {
    --bg-dark-color: #000;
    --text-dark-color: #fff;
    --text-dark-subtext-color: #8a8a8a;
    --text-lightred: #ff8585;
    --text-highlight: #ff5e5e;
    --seperator: rgba(255, 94, 94, 0.5);
    --code-bg: #0d1117;
}

* {
    box-sizing: border-box;
    font-family: "Nunito", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Helvetica", "Arial", sans-serif;
}

body {
    margin: 0;
    padding: 4rem 1rem 2rem 1rem;
    min-height: 100vh;
    color: var(--text-dark-color);
    background-color: var(--bg-dark-color);
    line-height: 1.6;
}

.main {
    display: flex;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    flex-direction: column;
}

.main > div {
    flex: 1;
    width: 100%;
    max-width: 80ch; 
}

footer {
    width: 100%;
    max-width: 80ch;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    display: flex;
    justify-content: center;
    color: var(--text-dark-subtext-color);
    font-size: 0.9rem;
}

a, .text-highlight {
    color: var(--text-highlight);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

ul {
    padding: 1rem 1rem 1rem 2rem;
}

.subtext {
    color: var(--text-dark-subtext-color);
    font-size: 0.9rem;
    font-style: italic;
}

pre {
    background: var(--code-bg);
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    border: 1px solid #333;
    margin: 1.5rem 0;
}

code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 0.9em;
    background: #1a1a1a;
    padding: 2px 5px;
    border-radius: 4px;
    color: var(--text-highlight);
    opacity: 0.9;
}

pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}