@font-face {
    font-family: "Merriweather Sans";
    font-display: swap;
    src: url(../fonts/merriweather-sans.woff2) format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-display: swap;
    src: url(../fonts/Poppins-Regular.ttf) format("woff2");
}

@font-face {
    font-family: "Lora";
    font-display: swap;
    src: url(../fonts/Lora-VariableFont_wght.ttf) format("woff2");
}

body {
    font-family: "Poppins", "Merriweather Sans", sans-serif;
    padding: 0;
    margin: 0;
}

span.spacer {
    flex-grow: 1;
}

header {
    background-color: white;
    display: flex;
    justify-content: space-between;
    min-height: 6rem;
}

header > img {
    height: 6rem;
}

header > *:not(img) {
    color: black;
    text-decoration: none;
    font-size: 30px;
    margin: auto;
    margin-left: 1rem;
}

header > button {
    border: none;
    background-color: white;
    margin-right: 1rem;
    cursor: pointer;
}

@media (max-width: 600px) {
    header:has(a) > img {
        display: none;
    }

    header > button {
        font-size: x-large;
    }
}

footer {
    text-align: center;
    background: #004c85;
    padding: 16px 8px 16px 8px;
}

footer > a {
    color: white;
    text-decoration: none;
    margin: 0 8px 0 8px;
}

.footer a:hover {
    text-decoration: underline;
}

.teaser {
    font-family: "Lora", "Poppins", "Merriweather Sans", sans-serif;
}

.teaser span {
    color: #8fffc5;
    font-size: 75px;
    line-height: 1;
}

.teaser.big {
    display: flex;
    flex-direction: column;
}

.teaser.big > * {
    width: 100%;
    background: #002d74;
    background-image: url(../images/gradient_lowcurve_transparent_a_mint_RGB.png);
    background-repeat: no-repeat;
}

.teaser.big > :nth-child(1) {
    height: 18rem;
    background-size: 100% 130%;
    display: flex;
}

.teaser.big > :nth-child(2) {
    height: 7rem;
    background-size: 100% 100%;
    background-position: 0 1.75rem;
}

.teaser.big span {
    align-self: flex-end;
    margin-left: 20%;
    width: 13ch;
    margin-bottom: -0.6rem;
    z-index: 2;
}

@media (max-width: 600px) {
    .teaser.big > :nth-child(1) {
        height: 10rem;
    }

    .teaser.big > :nth-child(2) {
        height: 4rem;
        background-position: 0 1rem;
    }

    .teaser.big span {
        font-size: 35px;
        margin-bottom: -0.29rem;
    }
}

.teaser.small {
    width: 100%;
    background: #002d74;
    background-image: url(../images/gradient_lowcurve_transparent_a_mint_RGB.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: 0 2.5rem;
}

.teaser.small > * {
    height: 13rem;
    display: flex;
}

.teaser.small span {
    margin: auto;
}

@media (max-width: 600px) {
    .teaser.small > * {
        height: 10rem;
    }

    .teaser.small span {
        font-size: 40px;
    }
}
