
html {
    margin: 0;
    padding: 0;
}

body {
    margin: auto;
    font-family: 'Red Hat Mono', sans-serif;
    background: #000;
}

body[lang=en-GB] [lang]:not([lang=en-GB]),
body[lang=pt-PT] [lang]:not([lang=pt-PT]) {
    display: none !important;
}

img, svg {
    vertical-align: middle;
}

* {
    outline: 0;
}

.hide {
    display: none !important;
}

.no_underline {
    text-decoration: none !important;
}

.center {
    text-align: center;
}

.quote {
    font-style: italic;
}

a {
    color: #000;
    text-decoration: none;
}

a:not(.card):not(.button) {
    color: #fff;
    text-decoration: underline;
}

a:not(.card):not(.button):hover, a:not(.card):not(.button):hover > * {
    color: #3A862D;
}

.card_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em 2em;
    margin-bottom: 2em;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 30em;
    padding: 2em 0;
    text-decoration: none;
}

.link {
    cursor: pointer;
}

section:nth-child(even) .card {
    background: #202020;
}

section:nth-child(odd) .card {
    background: black;
}

.card > * {
    padding: 0 2em;
}

.card img {
    max-width: 100%;
    margin: auto;
    box-sizing: border-box;
}

.card .footer_link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    background: #295E1F;
    transition: background-color 500ms;
}

.card .footer_link div {
    width: 1em;
}

.card .footer_link img {
    width: 100%;
}

.card img + .footer_link {
    margin-top: 2em;
}

.card:hover .footer_link {
    background: #3A862D;
}

.card .footer_link p {
    text-align: left;
}

button, .button {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5em;
    padding: 0.5em 2em;
    border-radius: 0.2em;
    border: 1px solid transparent;
    background-color: #295E1F;
    color: #fff;
    font-family: 'Red Hat Mono', sans-serif;
    font-size: 1em;
    text-align: center;
    transition: background-color 500ms, border 500ms;
}

button:hover, .button:hover {
    background-color: #3A862D;
    border: 1px solid #3A862D !important;
    cursor: pointer;
}

button:disabled {
    background: #000;
}

button:disabled:hover {
    border: 1px solid #000 !important;
}

.caption {
    margin: 1em 0 2em;
    font-size: 0.9em;
    font-style: italic;
}

.icon {
    width: 1em;
}

p, h1, h2, h3, ol, ul, form, table {
    color: #fff;
}

.disclaimer ol li {
    margin-bottom: 1em;
}

.disclaimer ol li::marker {
    content: "[" counter(list-item) "] ";
}

p {
    font-weight: 400;
    line-height: 1.5em;
    text-align: justify;
}

h1 {
    margin-top: 0;
    font-size: 2em;
    font-weight: 600;
    text-align: center;
}

h2, h3 {
    font-weight: 600;
    text-align: center;
}

img, svg, nav * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

header {
    padding: 1em 4em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header #logo {
    max-height: 100px;
}

header > div, header nav {
    display: flex;
    align-items: center;
}

header nav {
    justify-content: center;
    flex-wrap: wrap;
}

header nav > div, header nav > div > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

header > div, header nav, header nav > div, header nav > div > div {
    gap: 1em;
}

header .button {
    display: inline-block;
    border: 1px solid transparent;
    background-color: transparent;
    color: #fff;
}

header .button.border {
    border: 1px solid #fff;
}

#lang_selector div {
    padding: 0.5em 1em;
    border-radius: 0.2em;
    border: 1px solid transparent;
    background: #fffa;
    color: #000;
    transition: background-color 500ms, border 500ms;
}

#lang_selector div:hover {
    background-color: #3A862D;
    border: 1px solid #3A862D !important;
    cursor: pointer;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5em 1em;
    box-sizing: border-box;
}

section:nth-child(odd) {
    background-color: #202020;
}

section > * {
    max-width: 1100px;
    margin-right: 2em;
    margin-left: 2em;
}

#home {
    flex-direction: row;
    padding-top: 4em;
}

#home img {
    max-width: 600px;
    width: 50%;
    margin-right: 5%;
}

#home .button {
    font-size: 1.5em;
}

#home .button {
    text-transform: uppercase;
}

#home p {
    margin-top: 1.3em;
    text-align: right;
}

#about > img {
    max-width: 650px;
    width: 60%;
    margin-top: 1em;
}

#reviews #reviews_wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em 2em;
    margin-top: 2em;
}

#reviews #reviews_wrap a {
    width: 8em;
}

#team img {
    max-width: 15em;
    max-height: 15em;
}

#team img + div, #team div + img {
    margin-left: 2em;
}

#team > div {
    display: flex;
    margin: 0 2em;
}

#team > div + div {
    margin-top: 2em;
}

#team h2 {
    margin-top: 0;
    margin-bottom: 0;
    text-align: left;
}

#team h3 {
    margin-top: 0;
    text-align: left;
}

#team #beomni_expression h2, #team #beomni_expression h3 {
    text-align: right;
}

#team #beomni_expression p {
    text-align-last: right;
}

#rules > div {
    display: flex;
    gap: 1em 2em;
    flex-wrap: wrap;
    justify-content: center;
}

#rules .button, #buy .button {
    text-transform: uppercase;
}

#buy > #box_traits {
    min-width: 30%;
    margin: 0 2em;
}

#buy > #box_traits > div:nth-child(even) p {
    text-align: right;
}

#buy > #box_traits > div > p:first-child {
    font-size: 2em;
    margin-bottom: 0;
}

#buy > #box_traits > div > p:first-child::before {
    content: '✓';
}

#buy > #box_traits > div p + p {
    margin-top: 0;
}

#buy h2 {
    margin-top: 2em;
    text-align: center;
}

#buy #payment_methods {
    display: flex;
    gap: 2em 5em;
}

#buy #payment_methods > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em 2em;
}

#buy #payment_methods > div > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#buy #payment_methods > div > div p {
    margin: 1em 0 0;
    font-size: 0.8em;
}

#buy a {
    margin-top: 3em;
}

#digital > div {
    display: flex;
    align-items: center;
    gap: 3em;
    margin: 1em 0;
}

#digital > div > img {
    max-width: 500px;
    width: 70%;
}

#digital > div > div {
    display: flex;
    flex-direction: column;
    gap: 2em 1em;
}

#digital > div > div > a {
    display: flex;
    column-gap: 0.5em;
}

#digital .disclaimer {
    margin-top: 0;
    color: #bbb;
}

#digital .disclaimer + div {
    margin-top: 5em;
}

#competitions_link {
    margin-top: 3em;
}

#competitions > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3em;
}

#competitions img {
    max-width: 22em;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em 0;
    background-color: #191919;
}

footer div {
    margin: 1em 0;
}

footer svg {
    width: 2em;
}

footer a + a {
    margin-left: 2em;
}

footer p {
    text-align: center;
}

svg .facebook_logo, svg .instagram_logo {
    transition: fill 500ms;
}

.mail_svg {
    stroke: #fff;
    transition: stroke 500ms;
}

svg:hover .facebook_logo, svg:hover .instagram_logo {
    fill:#3A862D;
}

svg:hover .mail_svg {
    stroke:#3A862D;
}

#up_button {
    display: none;
    position: fixed;
    right: 1em;
    bottom: 1em;
}

#up_button div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.9em;
    height: 2.5em;
    background: #fffa;
    border-radius: 0.2em;
    border: 1px solid transparent;
    font-size: 1.2em;
    color: #000;
    transform: rotate(180deg);
    transition: background-color 500ms, border 500ms;
}

#up_button div:hover {
    background-color: #3A862D;
    border: 1px solid #3A862D !important;
    cursor: pointer;
}

@media (max-width: 1050px) {
    header {
        flex-direction: column;
        padding: 1em;
    }

    #logo {
        margin-bottom: 2em;
    }

    header nav {
        flex-direction: column;
    }

    #lang_selector {
        position: absolute;
        top: 2em;
        right: 2em;
    }

    section {
        padding-right: 0;
        padding-left: 0;
    }

    section > h1 {
        margin-right: 2em;
        margin-left: 2em;
    }

    h2, h3 {
        margin-right: 1em;
        margin-left: 1em;
    }

    #home {
        flex-direction: column;
        padding: 3em 1em 2em;
    }

    #home img {
        max-width: 440px;
        width: 90%;
        margin-right: 0;
        margin-bottom: 2em;
    }

    #home .button {
        font-size: 1.3em;
    }

    #rules > div {
        margin: 0 2em;
    }

    #buy #payment_methods {
        flex-direction: column;
    }

    #buy #payment_methods > div + div {
        margin-left: 0;
    }

    #buy #payment_methods img {
        font-size: 0.8em;
    }

    #digital > div {
        flex-direction: column;
    }

    #digital > div > img {
        width: 100%;
    }

    #competitions > div {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    button, .button {
        font-size: 0.9em;
        padding: 0.4em 1.5em;
    }

    header {
        padding-right: 0;
        padding-left: 0;
    }

    section {
        padding-top: 3em;
        padding-bottom: 3em;
    }

    #team > div {
        flex-direction: column;
        margin-right: 0;
        margin-left: 0;
    }

    #team img {
        width: 100%;
        max-width: none;
        max-height: none;
        margin: 0;
    }

    #team img + div, #team div + img {
        margin-left: 0;
    }

    #team > div > div {
        margin: 1em 2em 0;
    }

    #team #beomni_expression > div {
        order: 2;
    }

    #team #beomni_expression p {
        text-align-last: auto;
    }

    #competitions > div {
        width: 100%;
        margin: 0;
    }

    #competitions > div > div {
        width: 100%;
    }
}
