@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/ubuntu-v20-latin-300.eot');
    src: url('../fonts/ubuntu-v20-latin-300.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-v20-latin-300.woff2') format('woff2'), url('../fonts/ubuntu-v20-latin-300.woff') format('woff'), url('../fonts/ubuntu-v20-latin-300.ttf') format('truetype'), url('../fonts/ubuntu-v20-latin-300.svg#Ubuntu') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/ubuntu-v20-latin-regular.eot');
    src: url('../fonts/ubuntu-v20-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-v20-latin-regular.woff2') format('woff2'), url('../fonts/ubuntu-v20-latin-regular.woff') format('woff'), url('../fonts/ubuntu-v20-latin-regular.ttf') format('truetype'), url('../fonts/ubuntu-v20-latin-regular.svg#Ubuntu') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/ubuntu-v20-latin-700.eot');
    src: url('../fonts/ubuntu-v20-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-v20-latin-700.woff2') format('woff2'), url('../fonts/ubuntu-v20-latin-700.woff') format('woff'), url('../fonts/ubuntu-v20-latin-700.ttf') format('truetype'), url('../fonts/ubuntu-v20-latin-700.svg#Ubuntu') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Ubuntu', Arial, sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: #020202;
    font-weight: 300;
}

#wrapper {
    margin: 16px auto;
    padding: 0 52px;
    max-width: 930px;
    background-color: #fff;
    overflow: hidden;
    border: solid thin #cbcbcb;
}

header {
    margin: 0 -52px 10px;
    position: relative;
}

.flex-box {
    display: flex;
    justify-content: space-between;
    margin: 40px 0 0;
}

.flex-box-content:nth-of-type(1) {
    width: 62%;
    padding-right: 16px;
}

.flex-box-content:nth-of-type(2) {
    width: 48%;
    border-left: 2px solid #fae05c;
    padding-left: 18px;
}

.flex-box-content:nth-of-type(2) p {
    margin-bottom: 0;
    text-indent: -24px;
    margin-left: 24px;
    font-size: 14px;
    font-weight: 300;
    line-height: 25px;
}

.flex-box-content:nth-of-type(2) p img {
    position: relative;
    top: 3px;
}

.flex-box-content h2 {
    margin-top: 0 !important;
}

footer {
    display: flex;
    gap: 2.875rem;
    align-items: center;
}

.infor {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex: 1 1 0;
}

.kontakt {
    flex: 1 1 0;
}

.line {
    background: #23435a;
    height: 48px;
    margin: 20px -52px 0;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

h1 {
    margin: 34px 10% -60px 0;
    padding: 16px 20px 32px 52px;
    font-size: 25px;
    line-height: 1.2;
    clip-path: polygon(0 0, 100% 0%, 92% 100%, 0% 100%);
    background: #FD0;
}

h1 small {
    font-size: 24px;
    display: block;
    line-height: 1.35;
}

h1 span {
    display: block;
    font-size: 16px;
    margin-top: 5px;
    line-height: 20px;
}

h2 {
    font-size: 25px;
    line-height: 29px;
    margin: 16px 0 10px;
}

p:not(:last-child) {
    margin: 0 0 16px;
    text-align: justify;
    hyphens: auto;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #0563c1;
    text-decoration: underline;
}

img {
    max-width: 100%;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 27px;
}

li:before {
    content: "\2022";
    color: #fae05c;
    float: left;
    font-size: 24px;
    text-indent: -25px;
}

@media screen and (max-width: 928px) {
    #wrapper {
        border: none;
        margin: 0;
        padding: 0 16px;
    }

    header {
        margin: 0 -16px 16px;
    }

    .flex-box {
        gap: 0.625rem;
    }

    :is(h1, h2, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h1 {
        padding: 16px;
        padding-right: 80px;
        margin-right: 16px;
    }

    :is(a, p span) {
        white-space: nowrap;
    }

    p {
        text-align: left !important;
    }

    br {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .flex-box {
        display: block;
        margin-top: 16px;
    }

    .flex-box-content {
        width: 100% !important;
        margin-top: 16px;
    }

    .flex-box-content:nth-of-type(1) {
        padding-right: 0;
    }

    footer {
        flex-direction: column;
        gap: 0;
    }

    h1 {
        margin: 0;
        clip-path: none;
        padding: 16px;
    }
}

@media screen and (max-width: 480px) {
    footer {
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-top: 16px;
    }

    .infor {
        flex-direction: column;
        align-items: center;
    }

    .kontakt :is(h2, p) {
        text-align: center !important;
    }

    .line {
        margin: 16px -16px 0;
    }

    ul {
        margin-left: 0;
    }
}