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

:root {
    --background: #121212;
    --card-bg: #646464;
    --card-bg-hovered: #777777;
    --title: #ffffff;
    --text: #f8f8f8;
    --subtext: #9c9c9c;
    --accent: #aa71ff;
    --accent-dimmed: #aa71ff75;
}

html {
    background-color: var(--background);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text);
    user-select: none;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 8px 0;
    width: fit-content;
    min-height: 100vh;
    gap: 24px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--title);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header .title {
    font-size: 42px;
    color: var(--title);
    text-decoration: none;
}

header .title span {
    color: var(--accent);
}

main {
    padding: 16px 0 0 0;
}

footer {
    margin-top: auto;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
 
footer p, footer a {
    font-weight: 400;
    font-size: 14.5px;
    color: var(--subtext);
}

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

@media (max-width: 490px) {
    body {
        padding: 8px 16px;
    }

    header .title {
        font-size: 38px;
    }

    main {
        padding: 12px 0 0 0;
    }

    footer {
        gap: 4px;
    }
    
    footer p, footer a {
        font-weight: 400;
        font-size: 11.5px;
    }
}