@font-face {
    font-family: 'Jagermeister';
    src: url('fonts/jagermeister_regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jagermeister';
    src: url('fonts/jagermeister_bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

html,
body {
    margin: 0.5em;
    background-color: rgb(13, 71, 52);
    color: #fff;
    font-family: 'Jagermeister', sans-serif;
    line-height: 1.4em;
}

h1 {
    line-height: 1.3em;
}

img {
    max-width: 250px;
    height: auto;
}

table {
    border-collapse: collapse;
    margin-left: 3em;
}

th,
td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5em 0.75em;
    font-size: 0.9rem;
}

th {
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

a {
    color: #fff;
    text-decoration: underline;
}

a:hover {
    color: #fff;
    text-decoration: none;
}

li {
    padding-left: 0.5em;
}

header.support {
    text-align: center;
    padding: 1em 0;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0.5em 3em;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 177.78%; /* 16/9 portrait ratio */
    overflow: hidden;
    margin-top: 1.5em;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 600px) {
    .video-wrapper {
        width: 360px;
        padding-bottom: 640px; /* 360 * 16/9 */
        margin-left: auto;
        margin-right: auto;
    }
}
/* Clause numbering (1.1, 1.2 …) so cross-references in the T&Cs resolve */
ol.clauses {
    list-style: none;
    counter-reset: clause;
    padding-left: 0;
}

ol.clauses > li {
    counter-increment: clause;
    padding-left: 0;
    margin-bottom: 0.6em;
}

ol.clauses > li::before {
    content: var(--section) "." counter(clause) "  ";
    font-weight: bold;
}

ol.clauses ol {
    list-style: lower-alpha;
}
