@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/fira-sans-v16-latin-regular.eot');
    src: local(''), url('../fonts/fira-sans-v16-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/fira-sans-v16-latin-regular.woff2') format('woff2'), url('../fonts/fira-sans-v16-latin-regular.woff') format('woff'), url('../fonts/fira-sans-v16-latin-regular.ttf') format('truetype'), url('../fonts/fira-sans-v16-latin-regular.svg#FiraSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/fira-sans-v16-latin-700.eot');
    src: local(''), url('../fonts/fira-sans-v16-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/fira-sans-v16-latin-700.woff2') format('woff2'), url('../fonts/fira-sans-v16-latin-700.woff') format('woff'), url('../fonts/fira-sans-v16-latin-700.ttf') format('truetype'), url('../fonts/fira-sans-v16-latin-700.svg#FiraSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
}

#wrapper {
    max-width: 1024px;
    margin: 16px auto;
    background-color: #fff;
    box-shadow: 3px 3px 11px 2px #939095;
    overflow: hidden;
}

header {
    position: relative;
    overflow: hidden;
    padding: 0 0 10px;
}

.logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 999;
    padding: 4% 5% 4% 0;
}

header:before {
    content: "";
    position: absolute;
    background-color: #ececec;
    width: 150%;
    height: 100%;
    left: 40%;
    -webkit-transform: skewX(-27deg);
    transform: skewX(-27deg);
}

figure {
    shape-outside: polygon(0 0, 100% 0, 72% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 96% 0, 68% 100%, 0 100%);
    clip-path: polygon(0 0, 96% 0, 68% 100%, 0 100%);
    width: 65%;
    height: 100%;
    float: left;
}

.text div {
    position: relative;
    padding: 15px 5% 15px 46%;
}

.text div p {
    text-align: justify;
    hyphens: auto;
}

article {
    padding: 3% 5%;
}

.flex {
    display: flex;
    gap: 45px;
}

.flex div {
    width: 47%;
}

.benefit {
    display: flex;
    margin: -56px 0 20px 240px;
}

.benefit div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 139px;
    gap: 20px;
}

.benefit div p {
    text-align: center;
}

footer {
    position: relative;
}

.background {
    background: #ececec;
    padding: 50px 140px 10px 5%;
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0% 100%);
    width: 72%;
}

.kontakt {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    background-color: rgba(53, 67, 75, 0.7);
    width: 42%;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 9;
    padding: 30px 50px 32px 16px;
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0% 100%);
}

.kontakt p {
    text-align: right;
    color: #fff;
    margin: 0 0 5px;
}

.media {
    display: flex;
    align-items: center;
    gap: 20px;
}

.link {
    color: #0060ad !important;
}

p {
    margin: 0 0 22px;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 30px;
    font-weight: 700;
    font-size: 30px;
    color: #0060ad;
}

h2 {
    margin: 0 0 16px;
    font-weight: 700;
    font-size: 28px;
    display: inline-block;
    background: #0060ad;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0% 100%);
    padding: 2px 45px 2px 7px;
}

h3 {
    font-weight: 700;
    font-size: 18px;
    background: #0060ad;
    color: #fff;
    padding: 0 0 0 5%;
    display: flex;
    align-items: center;
    width: 65%;
    justify-content: space-between;
}

.color {
    color: #ea6a0b;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    padding: 0 0 32px;
    list-style: none;
}

ul li {
    padding-left: 15px;
}

li:before {
    content: '/';
    float: left;
    margin-top: 1px;
    font-size: 15px;
    text-indent: -15px;
    transform: rotate(10deg);
}

.button {
    display: flex;
    justify-content: center;
}

.button a {
    display: inline-block;
    padding: 10px 32px;
    background: #0060ad;
    color: #fff !important;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

span:not(h3 span) {
    white-space: nowrap;
}

@media all and (max-width: 1022px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .flex {
        justify-content: space-between;
    }

    .flex div {
        width: 48%;
    }

    .text div p {
        text-align: left;
    }
}

@media all and (max-width: 950px) {
    .logo {
        padding: 26px 16px 26px 0;
        gap: 16px;
    }

    .text div {
        padding: 10px 16px 1px 50%;
    }

    figure {
        width: 70%;
    }

    article {
        padding: 16px;
    }

    .background {
        padding: 50px 140px 10px 16px;
        width: 66%;
    }

    .kontakt {
        padding: 30px 16px;
        width: 48%;
        clip-path: polygon(19% 0, 100% 0, 100% 100%, 0% 100%);
    }

    .benefit {
        margin-left: 220px;
    }
}

@media all and (max-width: 767px) {
    figure {
        width: 100%;
        shape-outside: none;
        clip-path: none;
        margin: 0 0 16px;
    }

    header {
        background: #ececec;
    }

    header:before {
        display: none;
    }

    .benefit {
        margin: 0 0 10px;
        flex-wrap: wrap;
    }

    .benefit div {
        width: 24%;
    }

    :is(figure img, .flex div) {
        width: 100%;
    }

    :is(.text div, .kontakt) {
        padding: 16px;
    }

    h3 {
        padding: 0 0 0 16px;
    }

    h2 {
        font-size: 24px;
    }

    .background {
        padding: 16px 16px 1px;
    }

    :is(.kontakt, .background) {
        position: static;
        width: 100%;
        clip-path: none;
    }

    .kontakt {
        align-items: center;
    }

    .kontakt p {
        text-align: center;
    }

    .flex {
        display: block;
    }
}

@media all and (max-width: 590px) {
    .logo {
        flex-direction: column;
    }

    h3 {
        width: 100%;
        font-size: 4.5vw;
        gap: 0;
    }

    .benefit div {
        width: 48%;
    }
}