/* Color definitions */
:root {
    --color-highlight: #223415;
    --color-text: #f2f2f2;
    --color-background: #0e2300;
    --color-background-secondary: #222222;
    --color-text-inactive: #a6a6a6;
    --color-text-dark: #1c1c1c;
    --color-menu-bars: #cdcdcd;
    --color-menu-text-inactive: #a1a1a1;
}


@media (pointer:none), (pointer:coarse) {

}

@media (max-width: 1542px) {
    .side-image {
        position: relative !important;
        text-align: center !important;
    }
}

@media (min-width: 1542px) {
    .side-image {
        position: relative;
        left: 50rem;
        top: 12vh;
        width: 256px;
        height: 0;
    }
}

/* Mobile resolution */
@media only screen and (max-width: 1249px) {
    nav {
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: center;
    }
    nav .logo {

    }

    nav .nav.visible {
        display: flex;
    }

    nav .nav {
        margin-top: 4rem;
        font-size: x-large;
        display: none;
        flex-direction: column;
        flex-grow: 1;
    }
    nav .nav > * {
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom: 1px dotted var(--color-text);
    }

    nav .nav .dropdown {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    nav .nav .dropdown .dropdown-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }

    nav .nav .dropdown span {
        padding: 1rem;
    }

    nav .nav .dropdown .dropdown-content a {
        color: var(--color-text);
        text-decoration: none;
        padding: 1rem;
        text-align: center;
    }

    nav .nav .dropdown .dropdown-content a:hover {
        color: var(--color-text);
        text-decoration: none;
        padding: 1rem;
    }

    #content {
        margin: 0;
    }

    article {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    article a img {
        width: 430px;
        height: 260px;
    }

    #logo {
        position: relative;
    }
}

/* Desktop resolution */
@media only screen and (min-width: 1250px) {
    #menuToggle {
        display: none;
    }

    header {
        align-items: center;
        justify-content: center;
        max-width: 1100px;
        min-height: 7rem;
    }

    nav {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    article {
        width: 1100px;
    }

    .nav .dropdown span {
        color: var(--color-text);
        padding: 14px 16px;
        text-decoration: none;
        min-height: 4rem;
        cursor: pointer;
    }

    .nav .dropdown span:hover {
        color: #f1f1f1;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: var(--color-background);
        min-width: 160px;
        white-space: nowrap;
        z-index: 9999;
        top: 2rem;
    }

    .dropdown-content a {
        color: var(--color-text);
        padding: 12px 12px;
        text-decoration: none;
        display: block;
    }

    .dropdown-content a:hover {
        background-color: #e3e3e3;
        color: var(--color-background-secondary)
    }
    .dropdown:hover .dropdown-content {display: block;}
}

/* Common styles */

.side-image img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 4px solid var(--color-highlight);
}

#content-banner img {
    object-position: center;
    border: 4px solid var(--color-highlight);
    width: 530px;
}

body {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    height: 100%;
    font-family: "Georgia", serif;
    font-weight: 200;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 120;
    font-size: large;
    background-color: var(--color-background);
    color: var(--color-text);
}

a {
    color: var(--color-text);
    text-decoration: underline;
}

body::before {
    background-image: url("background.svg");
    opacity: 0.1;
    bottom: 0;
    width: 100%;
    height: 100lvh;
    zoom: 1.5;
    content: '';
    position: fixed;
    display: block;
    background-repeat: no-repeat;
    z-index: -1;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    background-attachment: local;
}

a, input, .no-select {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
a:focus, input:focus {
    outline: none !important;
}

#banner {
    background-image: url("images/logo-transparent-background.png");
    background-size: auto min(60vw, 540px);
    background-position: 50%;
    background-repeat: no-repeat;
    height: 320px;
    width: 100%;
}

#menuToggle
{
    position: fixed;
    top: 2rem;
    right: 2rem;

    z-index: 99999;

    -webkit-user-select: none;
    user-select: none;
}

#menuToggle input
{
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;

    cursor: pointer;

    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */

    -webkit-touch-callout: none;
}

#menuToggle span
{
    display: block;
    width: 43px;
    height: 4px;
    margin-bottom: 8px;
    position: relative;

    background: var(--color-menu-bars);
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0;

    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
}

#menuToggle span:first-child
{
    transform-origin: 0 0;
}

#menuToggle span:nth-last-child(2)
{
    transform-origin: 0 100%;
}

#menuToggle input:checked ~ span
{
    opacity: 1;
    transform: rotate(-45deg) translate(-1px, -1px);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(3)
{
    transform: rotate(45deg) translate(1px, 0px);
}

#logo {
    align-self: center;
    background-size: contain;
    background-image: url("images/logo.png");
    background-repeat: no-repeat;
    min-height: 90px;
    min-width: min(346px, 60vw);
    margin-right: 4rem;
}

#banner {
    top: 6rem;
    position: relative;
    width: 100%;
    min-height: 380px;
}

#banner .sticker {
    position: absolute;
    right: auto;
    bottom: 3rem;
    max-width: 240px;
    border-radius: 8px;
    background-color: rgba( 255, 255, 255, 0.4);
    margin-left: 2rem;
}

header {
    max-height: 6rem;
    min-width: 100%;
    position: fixed;
    z-index: 9999;
    transition: 0.2s;
}

nav {
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    display: flex;
    background-color: var(--color-background);
    align-items: center;
    min-height: 5rem;
}

nav .nav:after {
    content: "";
    display: table;
    clear: both;
}

nav .nav > a {
    color: var(--color-text);
    padding: 14px 16px;
    text-decoration: none;
    min-height: 4rem;
}

.nav > a:hover {
    color: #f1f1f1;
    cursor: pointer;
}

#content {
    margin-top: 8rem;
    flex: 1;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#content-main {
    margin-top: 2rem;
    flex: 1;
    align-items: center;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

article {
    align-self: center;
}

h3 {
    font-size: x-large;
}

article {
    padding: 1rem;
}

article#headline {
    color: var(--color-text);
    min-height: 0.5rem;
    text-align: center;
}

article a {
    color: var(--color-text);
    text-decoration: none;
}

article a:visited {
    color: var(--color-text);
}

article a:hover {
    color: var(--color-text);
    text-decoration: underline;
}

footer {
    margin-top: 6rem;
    color: var(--color-text);
    text-align: center;
    flex-shrink: 1;
    font-size: medium;
}

.l-h-2-5 li {
    line-height: 2.5rem;
}


p {
    line-height: 2.5rem;
}

.p-b-2-5 li {
    padding-bottom: 0.8rem;
}

#content-banner {
    text-align: center;
    position: relative;
    top: 8rem;
}

.required::after {
    content: " *";
    color: var(--color-text);
    margin-right: 0.5rem;
}

.success {
    color: lightgreen;
}

.error {
    color: lightcoral;
}

footer .footer-legal-links {
    padding: 0 2rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: auto 100%;
}

footer .footer-legal-links div a {
    color: var(--color-text);
    text-decoration: none;
    margin: 0 1rem;
}

#headline {
    font-size: 1.5em;
    text-align: center;
    width: 80vw;
}

ul {
    list-style-type: "-  ";
}

details {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid var(--color-background-secondary);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
}

form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 6px;
}

form > * {
    margin: 1rem 0;
}

form input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-background-secondary);
    background-color: var(--color-text-inactive);
    color: var(--color-text-dark);
}

form a {
    color: var(--color-text);
    text-decoration: underline;
}

input, textarea, select { font-family:inherit; }

form input[type="submit"] {
    margin-left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 0.5rem;
    font-weight: bold;
    border-radius: 6px;
    border: 2px solid var(--color-background-secondary);
    background-color: var(--color-text-inactive);
    color: var(--color-text-dark);
}

form select {
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid var(--color-background-secondary);
    background-color: var(--color-text-inactive);
    color: var(--color-text-dark);
}

form input, form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid var(--color-background-secondary);
    background-color: var(--color-text-inactive);
    color: var(--color-text-dark);
}

form textarea {
    height: 200px;
}

/* Utility classes */
.hidden {
    display: none;
}

body.no-scroll {
    overflow: hidden;
}

.spacer-m {
    height: 4rem;
}

.flex-row {
    display: flex;
    flex-direction: row;
    /*justify-content: center;*/
    align-items: center;
    flex-wrap: wrap;
}

.c-align-s {
    flex-grow: 1;
}

.padding-lr-4 {
    padding: 0 4rem;
}

.padding-lr-2 {
    padding: 0 2rem;
}

.center {
    text-align: center;
}

#contact-form {
    align-self: center;
}

.centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.gap-2 {
    gap: 0 2rem;
}

.m-w-1200 {
    max-width: 1200px;
}

.m-w-860 {
    max-width: 860px;
}

.m-w-480 {
    max-width: 480px;
}

.m-w-360 {
    max-width: 360px;
}

.m-w-400 {
    max-width: 400px;
}

.m-w-800 {
    max-width: 800px;
}

.no-wrap {
    flex-wrap: nowrap;
}

.flex {
    display: flex;
    flex-direction: column;
}

.flex-start {
    align-items: flex-start;
}

.grow {
    flex-grow: 1;
}

.mt-4 {
    margin-top: 4rem;
}

.image-bottom-border {
    border-bottom: 3px solid var(--color-highlight);
}

.break * {
    display: inline-block;
    width: 100%;
}

.b {
    font-weight: bold;
}

.s2 {
    font-size: 1em;
}

.s3 {
    font-size: 1.25em;
}

.s4 {
    font-size: 1.5em;
}

.s6 {
    font-size: 2em;
}

.capital {
    text-transform: uppercase;
}

.w100 {
    width: 100vw;
}

.recaptcha-info {
    font-size: 0.7em;
    padding-left: 5px;
    color: var(--color-text-inactive);
}

button[data-cc="show-preferencesModal"] {
    position: fixed;
    height: 38px;
    width: 92px;
    right: 0;
    bottom: 100px;
}

.dashed li::before {
    content: "- ";
}