:root {
    --bg: #282828;
    --fg: #ebdbb2;
    --accent: #fabd2f;
    --muted: #a89984;
    --font-header: 'serif';
    --font-body: 'monospace';
}

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

body {
    color: var(--fg);
    background-color: var(--bg);
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    text-align: center;
}

header {
    position: absolute;
    top: 1rem;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

hr {
    position: absolute;
    top: 4rem;
    width: 100%;
    border: none;
    border-top: 1px solid var(--muted);
}

a {
    color: var(--fg);
    text-decoration: none;
    font-family: var(--font-header);
    margin-left: 1rem;
} 

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

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 60%;
    padding: 1rem;
    margin-top: 6rem;
}

section {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    font-size: 0.85rem;
}

button {
    background: none;
    border: 1px solid var(--fg);
    color: var(--fg);
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    font-family: var(--font-body);
}

button:hover {
    background-color: #3c3836;
}
