:root {
    --corner: 0.5rem;
    --text: #eeeeee;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --panel: #2a3823;
    --font-size: 16px;
    --corner: 0.5rem;
    /* Background is set on index.html, not here */
}

* {
    box-sizing: border-box;
}

body,
main,
html {
    padding: 0;
    margin: 0;
}

html {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    scrollbar-gutter: stable;
    font-size: var(--font-size);
}

p,
span {
    color: var(--text);
    font-size: var(--font-size);
}

article {
    max-width: 80ch;
    margin-inline: auto;
    padding-inline: 2rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

blockquote {
    margin: 2rem 0;
    padding-left: 1.25rem;
    border-left: 3px solid var(--text);
    font-style: italic;
}

blockquote>p {
    font-size: 14px;
}

section {
    background: var(--panel);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-radius: var(--corner);
    position: relative;
    min-width: 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;

    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
    mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
}

.marquee-track {
    display: inline-flex;
    animation: scroll 15s linear infinite;
    transform: translateZ(0);
}

.marquee-content {
    white-space: nowrap;
    font-size: var(--font-size);
    -webkit-text-size-adjust: 100%;
    transform: translateZ(0);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.border {
    border: 1px solid var(--text);
}

/* Layout */
.column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.centre {
    width: 100%;
    display: grid;
    place-items: center;
}

.margin {
    margin: 1rem;
}