@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/barlow-v12-latin-regular.eot');
    src: url('../fonts/barlow-v12-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/barlow-v12-latin-regular.woff2') format('woff2'), url('../fonts/barlow-v12-latin-regular.woff') format('woff'), url('../fonts/barlow-v12-latin-regular.ttf') format('truetype'), url('../fonts/barlow-v12-latin-regular.svg#Barlow') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/barlow-v12-latin-500.eot');
    src: url('../fonts/barlow-v12-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/barlow-v12-latin-500.woff2') format('woff2'), url('../fonts/barlow-v12-latin-500.woff') format('woff'), url('../fonts/barlow-v12-latin-500.ttf') format('truetype'), url('../fonts/barlow-v12-latin-500.svg#Barlow') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/barlow-v12-latin-700.eot');
    src: url('../fonts/barlow-v12-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/barlow-v12-latin-700.woff2') format('woff2'), url('../fonts/barlow-v12-latin-700.woff') format('woff'), url('../fonts/barlow-v12-latin-700.ttf') format('truetype'), url('../fonts/barlow-v12-latin-700.svg#Barlow') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #fff;
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    background: url(../images/bg.jpg) no-repeat top center;
    background-size: cover;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 16px;
}

article > p:first-of-type,
ul:last-of-type {
    margin: 0 0 50px;
}

h1 {
    font-size: 82px;
    line-height: 0.9;
    background: #116BA6;
    padding: 40px 50px;
    clip-path: polygon(0% 11%, 100% 0%, 100% 88%, 0% 100%);
    position: absolute;
    width: 100%;
    top: -30px;
}

h1 small {
    font-size: 18px;
    font-weight: normal;
}

.klein {
    font-size: 35px;
    font-weight: normal;
}

.slim {
    font-size: 85px;
    font-weight: 500;
}

h2 {
    font-size: 25px;
    margin: 0 0 5px;
}

ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

ul li {
    padding-left: 15px;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -15px;
    font-size: 17px;
    line-height: 1.4;
}

main {
    position: relative;
}

article {
    padding: 250px 50px 0;
}

footer {
    padding: 20px 50px 50px;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 40px;
}

.flex p {
    margin: 0;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h1 {
        clip-path: none;
        position: static;
        padding: 16px;
        text-align: center;
        font-size: 50px;
    }

    h1 small {
        font-size: 17px;
    }

    .klein {
        font-size: 20px;
    }

    .slim {
        font-size: 50px;
    }

    article {
        padding: 16px 16px 0;
    }

    footer {
        padding: 16px;
    }
}

@media only screen and (max-width: 549px) {

    article > p:first-of-type,
    ul:last-of-type {
        margin: 0 0 30px;
    }

    h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    h1 small {
        font-size: 20px;
        white-space: nowrap;
    }

    .klein {
        font-size: 22px;
    }

    .slim {
        font-size: 34px;
    }

    h1 br {
        display: none;
    }

    h2 {
        font-size: 21px
    }

    .flex {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .flex p {
        text-align: center;
    }
}
