* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-italic.eot');
    src: url('../fonts/roboto-v30-latin-italic.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-italic.woff2') format('woff2'), url('../fonts/roboto-v30-latin-italic.woff') format('woff'), url('../fonts/roboto-v30-latin-italic.ttf') format('truetype'), url('../fonts/roboto-v30-latin-italic.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

body {
    color: #000;
    font-size: 15px;
    line-height: 20px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 910px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

header {
    position: relative;
}

article {
    padding: 40px 35px 0 45px;
}

.flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.flexbox section:nth-of-type(1) {
    width: 441px;
}

.flexbox section:nth-of-type(2) {
    width: 352px;
    margin: -49px 0 0;
    position: relative;
    z-index: 6;
}

.margin {
    margin: 20px 0 0;
    line-height: 1.5;
}

.padding {
    margin: 0 0 51px;
}

.fix {
    position: absolute;
    left: 47px;
    bottom: 3px;
    color: #fff;
    z-index: 10;
    text-align: justify;
    hyphens: auto;
    font-size: 14px;
    line-height: 18px;
    padding-right: 20px;
}

footer {
    padding: 29px 0 53px 45px;
    position: relative;
    background: #3fbbcd url(../images/background.jpg) top right no-repeat;
}

footer :is(p, a) {
    color: #FFF !important;
}

footer p {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 18px;
}

.images {
    display: none;
}

p {
    margin: 0 0 1rem;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 26px;
    font-size: 21px;
    line-height: 26px;
    font-weight: 400;
}

h1+p {
    margin: 0 0 30px !important;
}

h2 {
    font-size: 18px;
    line-height: 22px;
    color: #606060;
    margin: 0 0 1rem;
    font-weight: 700;
}

h3 {
    font-size: 18px;
    margin: 0 0 18px;
    color: #fff;
    line-height: 1.125rem;
    font-weight: 700;
}

h4 {
    position: absolute;
    top: 84%;
    left: 46.8%;
    color: #fff;
    font-weight: 400;
    font-size: 28px;
    line-height: 32px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 27px;
    list-style: none;
}

ul li {
    padding-left: 25px;
}

ul li:before {
    content: "\2022";
    float: left;
    font-size: 25px;
    text-indent: -25px;
    line-height: 1;
    margin-top: -2px;
}

.kontakt {
    width: 210px;
}

@media all and (max-width:910px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    h1+p {
        margin: 0 0 74px !important;
    }

    :is(p, ul, h1) {
        text-wrap: pretty;
        hyphens: auto;
    }

    article {
        padding: 32px 16px 16px;
    }

    .flexbox section:nth-of-type(1) {
        width: 53.4%;
    }

    .flexbox section:nth-of-type(2) {
        width: 44%;
    }

    .fix {
        text-align: left;
        padding-right: 16px;
        left: 22px;
    }

    footer {
        padding: 0;
        background: #3fbbcd url(../images/background.jpg) top left 270px no-repeat;
        background-size: calc(100% - 270px);
    }

    footer section {
        padding: 16px 16px 83px;
    }

    h4 {
        font-size: 3.2vw;
        line-height: 1.2;
    }

    p {
        text-align: left !important;
    }

    ul {
        margin: 0 0 16px;
    }

    br:not(footer br) {
        display: none;
    }

    p span {
        white-space: nowrap;
    }
}

@media all and (max-width:767px) {
    article {
        padding: 16px;
    }

    .flexbox section {
        width: 100% !important;
        margin: 0 !important;
    }

    .fix {
        position: static;
        color: #000;
        padding: 0;
        margin: 0 !important;
    }

    footer {
        background: #3fbbcd;
    }

    footer section {
        padding: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .images {
        display: inline;
        width: auto;
    }

    :is(h1, h3, h4, footer p) {
        text-align: center !important;
    }

    :is(h1, h1+p, footer p:last-of-type, .margin, .padding, ul) {
        margin: 0 0 16px !important;
    }

    h2 {
        margin: 0 0 1rem;
        font-size: 0.9375rem;
        line-height: 1.25rem;
    }

    h4 {
        position: static;
        font-size: 28px;
        padding: 16px 16px 0;
        color: #40bbcd;
    }

    .kontakt {
        width: 300px;
    }
}