@keyframes fadein {
    0% {
        opacity: 0%;
    }
    100% {
        opacity: 100%;
    }
}

@keyframes fade-and-rise {
    0% {
        opacity: 0%;
        transform: translate(0, 20px);
    }
    100% {
        opacity: 100%;
        transform: translate(0, 0);
    }
}

body {
    color: #FFF;
    background-color: #111;
}

.section {
    width: 100%;
    padding: 8em 15em;
    page-break-after: always;
}

@media all and (min-width: 1442px) {
    .section {
        padding: 8em 15em;
    }
}

@media all and (max-width: 1113px) {
    .section {
        padding: 6em 10em;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx),(-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi)
{
    .section {
        padding: 6em 4em;
    }
}

@media all and (max-width: 768px) {
    .section {
        padding: 6em 6em;
    }
}

@media all and (max-width: 568px) {
    .section {
        padding: 4em 2em;
    }
}

@media all and (max-width: 568px) and (orientation: landscape) {
    .section {
        padding: 4em 6em;
    }
}

@media print {
    .section {
        padding: 6em;
    }
}

.section.bg-light {
    background-color: #222;
}

.section.feature {
    width: 100%;
    height: 80vh;
    min-height: 400px;
    max-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
}

@media all and (max-width: 735px) {
    .section.feature {
        height: 60%;
        min-height: 300px;
        padding: 4em 2em;
    }
}

.section.feature .section-title {
    margin-bottom: 0;
}

.section.feature .feature-description {
    width: 60%;
    text-align: center;
    margin: 2em auto 0 auto;
}

@media all and (max-width: 735px) {
    .section.feature .feature-description {
        width: 90%;
    }
}

.section.feature .button-link {
    margin: 2em auto 0 auto;
}

.section.hero {
    height: 100vh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media all and (max-width: 568px) {
    .section.hero .center{
        text-align: left;
    }
}

.section-content {
    width: 100%;
    max-width: 1024px;
    min-width: 200px;
    margin: 0 auto;
}

.section-content.animation-ready {
    opacity: 0;
}

.section-content.animated {
    animation-name: fadein;
    animation-duration: 2s;
    animation-delay: 0s;
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
}

.section-title {
    font-weight: bold;
    font-weight: 600;
    margin-bottom: 1em;
    width: fit-content;
}

.section-title.center {
    margin-left: auto;
    margin-right: auto;
}

.section-title.game-mode {
    color: #BBB;
}

.section-title.game-mode.animation-ready {
    opacity: 0;
}

.section-title.game-mode.animated {
    animation-name: fade-and-rise;
    animation-duration: 1s;
    animation-delay: 0;
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
}

@media screen and (prefers-reduced-motion: reduce) {
    .section-title.game-mode.animated {
        animation-name: fadein;
    }
}

.game-mode-title {
    color: #E14FAC;
}

.subsection {
    margin-bottom: 3em;
    page-break-before: avoid;
}

@media all and (min-width: 1442px) {
    .subsection {
        margin-bottom: 3em;
    }
}

@media all and (max-width: 1068px) {
    .subsection {
        margin-bottom: 2em;
    }
}

@media all and (max-width: 735px) {
    .subsection {
        margin-bottom: 1em;
    }
}

.section .subsection:only-of-type {
    margin-bottom: 0;
}

.subsection-content {
    margin: 3em 0 3em 0;
}

@media all and (min-width: 1442px) {
    .subsection-content {
        margin: 3em 0 3em 0;
    }
}

@media all and (max-width: 1068px) {
    .subsection-content {
        margin: 2em 0 2em 0;
    }
}

@media all and (max-width: 735px) {
    .subsection-content {
        margin: 1em 0 1em 0;
    }
}

.subsection .title h1 {
    font-weight: bold;
    font-weight: 600;
    line-height: 1;
}

.subsection .title h2 {
    font-weight: bold;
    font-weight: 600;
    margin-bottom: 1em;
    line-height: 1;
}

.subsection .title.hero h2 {
    margin-bottom: 2em;
    line-height: 1.2;
}

.subsection .description p {
    color: #BBB;
    font-weight: normal;
    font-weight: 300;
    line-height: 1.5em;
}

.hero .title {
    margin-bottom: 1em;
}

.hero .description p {
    padding: 0 5em;
    color: var(--font-color-primary);
}

@media all and (min-width: 1442px) {
    .hero .description p {
        padding: 0 8em;
    }
}

@media all and (max-width: 1068px) {
    .hero .description p {
        padding: 0;
    }
}

.two-column {
    margin: 3em 0 3em 0;
    position: relative;
}

@media all and (min-width: 1442px) {
    .two-column {
        margin: 3em 0 3em 0;
    }
}

@media all and (max-width: 1068px) {
    .two-column {
        margin: 2em 0 2em 0;
    }
}

@media all and (max-width: 735px) {
    .two-column {
        margin: 1em 0 1em 0;
    }
}

.subsection .two-column:last-child {
    margin-bottom: 0;
}

.row {
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    margin: 3em 0 3em 0;
}

@media all and (max-width: 568px) {
    .row {
        flex-wrap: wrap;
        margin: 3em auto 3em auto;
    }
}

.row:first-child {
    margin-top: 0;
}

.row:last-child {
    margin-bottom: 0;
}

.row.animation-ready {
    opacity: 0;
}

.row.animated {
    animation-name: fade-and-rise;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
}

@media screen and (prefers-reduced-motion: reduce) {
    .row.animated {
        animation-name: fadein;
    }
}

.row .column {
    width: 50%;
    position: relative;
}

@media all and (max-width: 568px) {
    .row .column {
        width: 100%;
    }
}

.row .title {
    margin-right: 5em;
    margin-bottom: 0;
}

@media all and (min-width: 1442px) {
    .row .title {
        margin-right: 5em;
    }
}

@media all and (max-width: 1068px) {
    .row .title {
        margin-right: 3em;
    }
}

@media all and (max-width: 735px) {
    .row .title {
        margin-right: 1em;
    }
}

@media all and (max-width: 568px) {
    .row .title {
        margin-right: 0;
        padding-right: 25vw;
    }
}

.row .title h2 {
    margin-bottom: 0;
}

.row .description {
    margin-left: 5em;
    margin-top: 0;
}

@media all and (min-width: 1442px) {
    .row .description {
        margin-left: 5em;
    }
}

@media all and (max-width: 1068px) {
    .row .description {
        margin-left: 3em;
    }
}

@media all and (max-width: 735px) {
    .row .description {
        margin-left: 1em;
    }
}

@media all and (max-width: 568px) {
    .row .description {
        margin-left: 0;
        margin-top: 2em;
    }
}

.fullsize-graphic-container {
    width: 100%;
    padding-top: 56.25%;
    margin-top: 6em;
    margin-bottom: 6em;
    position: relative;
    page-break-before: avoid;
    border-radius: 0.5em;
}

.fullsize-graphic-container::before {
    content: "";
    float: left;
}

.fullsize-graphic-container::after {
    content: "";
    clear: both;
}

@media all and (min-width: 1442px) {
    .fullsize-graphic-container {
        margin-top: 3em;
        margin-bottom: 6em;
    }
}

@media all and (max-width: 1068px) {
    .fullsize-graphic-container {
        margin-top: 2em;
        margin-bottom: 4em;
    }
}

@media all and (max-width: 735px) {
    .fullsize-graphic-container {
        width: 100vw;
        left: 50%;
        right: 50%;
        padding-top: 56.25vw;
        margin-top: 4em;
        margin-bottom: 4em;
        margin-left: -50vw;
        margin-right: -50vw;
    }
}

.fullsize-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 0.5em;
    background-size: cover;
    background-repeat: no-repeat;
}

@media all and (max-width: 735px) {
    .fullsize-graphic {
        border-radius: 0;
    }
}

@media (inverted-colors: inverted) {
    .fullsize-graphic {
        filter: invert(1);
    }
}

.halfsize-graphic-container {
    width: 100%;
    position: relative;
    page-break-before: avoid;
    background-size: cover;
    background-repeat: no-repeat;
}

.halfsize-graphic-container::before {
    content: "";
    width: 100%;
    float: left;
    padding-top: 56.25%;
}

.halfsize-graphic-container::after {
    content: "";
    clear: both;
}

.halfsize-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 0.5em;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (inverted-colors: inverted) {
    .halfsize-graphic {
        filter: invert(1);
    }
}

.halfsize-graphic::before {
    content: "";
    width: 100%;
    float: left;
    padding-top: 56.25%;
}

.halfsize-graphic::after {
    content: "";
    clear: both;
}

.caption {
    width: 100%; 
    margin: 1em 0 0 0;
    text-align: center;
    color: #BBB;
}

@media all and (max-width: 735px) {
    .caption {
        padding: 0 1em 0 1em;
    }
}

.caption p {
    font-size: 14px;
}

@media all and (max-width: 735px) {
    .caption p {
        font-size: 12px;
    }
}