:root {
    --black: #16161d;
    --text: #1e293b;
    --brand: #fbdd64;
    --glass: rgba(255, 255, 255, 0.4);
    --font-body: 'Cabin', system-ui, sans-serif;
    --font-head: 'Roboto Condensed', 'Arial Narrow', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--black) url('/images/bg-01.jpg') center / cover no-repeat fixed;
}

::selection {
    background: var(--brand);
    color: var(--black);
}

/* iOS ondersteunt background-attachment: fixed niet goed */
@supports (-webkit-touch-callout: none) {
    body {
        background: none;
    }

    body::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: -1;
        background: var(--black) url('/images/bg-01.jpg') center / cover no-repeat;
    }
}

main {
    padding: 2.5rem;
}

.card,
.deelnemers {
    max-width: 32rem;
    margin: 0 auto;
}

.card {
    padding: 1rem;
    background: var(--glass);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--black);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.card h1 {
    margin: 0;
    font-family: var(--font-head);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    color: #0f172a;
}

.card > * + * {
    margin-top: 2rem;
}

.prose {
    font-size: 1rem;
    line-height: 1.75;
}

.prose p {
    margin: 0;
}

.prose p + p {
    margin-top: 1.25em;
}

.card a:not(.button),
.footer a {
    color: inherit;
    text-decoration: underline;
}

.cta {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1.5rem;
    background: var(--brand);
    border: 1px solid var(--black);
    box-shadow: 4px 4px 0 0 #1c1d21;
    color: var(--black);
    font-weight: 500;
    text-decoration: none;
}

.button svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 75ms linear;
}

.button:hover svg {
    transform: translateX(0.25rem);
}

.button:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 4px;
}

.deelnemers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.tile {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 1rem;
    background: var(--glass);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tile:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

.footer {
    grid-column: 1 / -1;
    padding: 1rem;
    background: var(--glass);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-size: 0.875rem;
    line-height: 1.7;
    text-align: center;
}

.footer p {
    margin: 0;
}

.footer p + p {
    margin-top: 1em;
}

@media (min-width: 640px) {
    main {
        padding: 2.5rem 0;
    }

    .card {
        padding: 2.5rem;
    }

    .deelnemers {
        grid-template-columns: repeat(3, 1fr);
    }
}
