:root {
    --c-primary: #ff37a5;
    /*--c-primary: #de5594;*/
    --c-secondary: #7ff7f9;

    --c-dark: #222222;
    --c-light: #ffffff;

    /*--c-dark: #ffffff;*/
    /*--c-light: #222222;*/

    --c-lead-bg: #222222aa;

    --lead-height: 80vh;
    --map-height: 800px;
}

@font-face {
    font-family: BR;
    src: url(font/blankriver.ttf);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-size: 22px;
    /*font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;*/
    font-family: "Overpass", sans-serif;
    font-weight: normal;
    color: var(--c-dark);
    background-color: var(--c-light);
}

main {
    height: 100%;
}

section {
    padding: 2rem 0;
}

article, .location .container {
    margin: 0 auto;
    width: 90%;
    max-width: 1600px;
}

.promoters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.promoters img {
    width: 8rem;
}

.promoters > * {
    margin: 0 1rem;
}

.collab-indicator {
    font-size: 2rem;
    padding: 0 2rem;
}

header {
    position: relative;
    height: var(--lead-height);
}

header section, .location .cover {
    position: absolute;
    width: 100%;
    z-index: 1;
}

header section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: var(--c-lead-bg);
    /*backdrop-filter: blur(10px);*/
    color: var(--c-light);
    padding: 4em 0;
    font-size: 2rem;
    height: var(--lead-height);
}

.location, .location .cover, .location .container, .location .map {
    height: var(--map-height);
}

.location .cover {
    position: absolute;
    pointer-events: none;
}

.location .container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
}

.location .card {
    pointer-events: all;
    background-color: var(--c-light);
    width: 500px;
    padding: 2rem;
    /*border: 0.5rem solid var(--c-primary);*/
    box-shadow: 0 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1);
}

header .media, .location .map {
    position: absolute;
    z-index: 0;
    width: 100%;
    object-fit: cover;
}

.location .map.bigmap {
    display: flex;
}

.location .map.bigmap > * {
    flex-grow: 1;
    flex-basis: 0;
}

.location .map.bigmap > *:not(:last-child) {
    border-right: 0.25rem solid var(--c-primary);
}

.location .map.bigmap > *:not(:first-child) {
    border-left: 0.25rem solid var(--c-primary);
}

.location .map.overlaymap {
    z-index: 1;
    display: flex;
    justify-content: right;
    align-items: center;
    width: 90%;
    max-width: 1600px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.location .map.overlaymap > * {
    width: 600px;
    height: 75%;
    object-fit: cover;
    border: 0.5rem solid var(--c-primary);
}

header .media {
    height: var(--lead-height);
}

.logo {
    height: 300px;
    max-width: 80vw;
    object-fit: contain;
}

h1 {
    font-size: 4rem;
    font-family: BR, sans-serif;
    font-weight: normal;
    margin: 0;
    border-bottom: 0.5rem solid var(--c-primary);
    display: inline-block;
}

.small {
    font-size: 1.5rem;
    margin: 0;
}

.mb0 {
    margin-bottom: 0;
}

.mb1 {
    margin-bottom: 1rem;
}

.mb2 {
    margin-bottom: 2rem;
}

.mb4 {
    margin-bottom: 4rem;
}

.mt0 {
    margin-top: 0;
}

.mt1 {
    margin-top: 1rem;
}

.mt2 {
    margin-top: 2rem;
}

.tc {
    text-align: center;
}

.nb {
    list-style: none;
    padding: 0;
}

a {
    color: var(--c-primary);
    text-decoration: none;
}

a:hover {
    filter: brightness(1.25);
}

.key-points {
    display: flex;
    justify-content: space-around;
    /*align-items: center;*/
    flex-wrap: wrap;
    text-align: center;
    flex-grow: 1;
    flex-basis: 0;
}

.key-points .icon {
    font-size: 3rem;
    color: var(--c-primary);
}

.cta {
    display: inline-block;
    background-color: var(--c-primary);
    color: var(--c-light);
    padding: 1rem 3rem;
    text-decoration: none;
    font-weight: bold;
}

footer {
    background-color: var(--c-dark);
    color: var(--c-light);
    text-align: center;
    padding: 2rem 0;
}

footer a {
    color: var(--c-secondary);
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.row .col {
    flex-grow: 1;
    flex-basis: 0;
}

.row .col:not(:last-child) {
    margin-right: 1rem;
}

.row .col:not(:first-child) {
    margin-left: 1rem;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
}

.countdown-item {
    text-align: center;
    margin: 0 4rem;
    flex-basis: 0;
}

.countdown-item-value {
    font-size: 4rem;
    font-weight: bold;
    font-variant-numeric: tabular-nums;
}

.countdown-item-label {
    font-size: 1rem;
}

.participants {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.participant {
    padding: 1rem 2rem;
    font-size: 1rem;
    text-align: center;
}

.participant img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

.map {
    height: 600px;
}

table {
    margin-top: 1rem;
}

tr, th {
    padding: 0.25rem 0;
}

th {
    padding-right: 1rem;
}

.games {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.games img {
    margin: 1rem 4rem;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    display: none;
}

.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2rem;
    font-size: 4rem;
    cursor: pointer;
    z-index: 99;
    color: var(--c-light);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--c-light);
    box-shadow: 0 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-width: 50%;
    max-height: 75%;
    min-width: 400px;
    min-height: 400px;
    width: 100%;
    height: 100%;
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 98;
    background-color: rgba(0, 0, 0, 0.5);
}

.legible {
    line-height: 1.1;
}

@media screen and (max-width: 1200px) {
    .row {
        flex-direction: column;
        align-items: flex-start;
    }

    .row .col {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .row .col:not(:last-child) {
        padding-bottom: 6em;
    }

    .games {
        flex-direction: column;
        align-items: center;
        padding-top: 1rem;
    }

    .games img {
        width: 75% !important;
        height: auto !important;
        padding-bottom: 1rem;
    }

    .promoters {
        display: none;
    }

    .location .map {
        display: none !important;
    }

    .location, .location .cover, .location .container {
        height: auto !important;
        position: static;
    }

    .countdown {
        display: none;
    }

    .location .card {
        padding: 0;
        box-shadow: none;
        margin: 0 auto 2rem;
        width: 90%;
        max-width: 1600px;
    }
}
