:root {
    color-scheme: dark only;
    --gold-color: #ffd180;
    --blue-color: rgb(63, 81, 181);
    --light-text: rgba(255, 255, 255, 0.87);
    --size-xs: 0.5em;
    --size-sm: 0.75em;
    --size-md: 1em;
}

* {
    font-family: 'Roboto', sans-serif;
    margin: unset;
}

body {
    font-size: 16px;
    background: black;
    color: white;
}

h1 {
    text-align: center;
    color: var(--gold-color);
    font-size: 1.5em;
    font-weight: 800;
}

h2 {
    font-weight: 700;
    color: var(--gold-color);
    font-size: 1.3em;
}

button {
    cursor: pointer;
    color: var(--light-text);
    background-color: var(--blue-color);
    border-radius: 4px;
    line-height: 1.25;
    font-size: inherit;
    padding: var(--size-xs);
    text-align: center;
    transition: box-shadow 0.2s;
    border: none;
}

button:hover,
button:active {
    box-shadow: inset rgb(0, 0, 0, 0.2) 0 0 0 100px;
}

main {
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.card {
    width: 320px;
    background: #222;
    border-radius: var(--size-xs);
    margin: var(--size-sm);
    padding: var(--size-md) var(--size-sm);
    display: flex;
    flex-direction: column;
    gap: var(--size-md);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
}

.card-section {
    display: flex;
    flex-direction: column;
    gap: var(--size-xs);
}

.card-section a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: var(--size-xs);
}

.screeps-logo {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    padding: var(--size-xs) 0;
}

.server {
    display: flex;
    align-items: center;
    gap: 10px;
}

.server a {
    flex-grow: 1;
}

.status-circle {
    cursor: pointer;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
}

.community-section {
    position: absolute;
    bottom: 10px;
    right: 10px;
}
