@font-face {
    font-display: swap;
    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-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-display: swap;
    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');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700italic.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700italic.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700italic.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700italic.woff') format('woff'), url('../fonts/roboto-v30-latin-700italic.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700italic.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 601px;
    margin: 16px auto;
    border: 5px solid #eb1c2a;
    position: relative;
    background-color: #fff;
}

article {
    padding: 0 16px;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.flex div {
    width: 48%;
}

footer {
    padding: 0 16px 20px;
}

footer p img {
    margin: 0 5px 0 0;
}

.margin {
    margin: 0 0 16px;
}

.margin+p {
    margin-left: 10px;
}

.center {
    text-align: center;
}

.kontakt {
    width: 40%;
}

.logo {
    display: flex;
    justify-content: center;
    margin: 10px 0 0;
}

h1 {
    margin: 10px 0 16px;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    color: #eb1c2a;
}

h1 small {
    display: block;
    font-size: 16px;
    line-height: 22px;
    font-style: italic;
    margin: 3px 0 0;
}

h2 {
    margin: 0 40px 10px 24px;
    font-weight: 700;
    font-size: 16px;
}

h3 {
    margin: 0 -36px 10px -16px;
    font-weight: 400;
    font-size: 21px;
    line-height: 1.2;
    background: #eb1c2a;
    color: #fff;
    font-style: italic;
    padding: 11px 16px;
    text-align: center;
}

h4 {
    margin: 0 -16px 14px;
    font-size: 24px;
    line-height: 1.2;
    background: #eb1c2a;
    color: #fff;
    font-weight: 400;
    font-style: italic;
    text-align: center;
    padding: 10px 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 12px;
    list-style: none;
}

ul li {
    padding-left: 20px;
}

li:before {
    content: '\2022';
    float: left;
    font-size: 25px;
    text-indent: -20px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.content {
    position: absolute;
    bottom: 91px;
    left: 52%;
}

@media all and (max-width: 600px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    header img {
        width: 100%;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .content {
        position: static;

    }

    .flex {
        display: block;
    }

    .flex div {
        width: 100%;
    }

    .kontakt {
        width: 100%;
        margin: 0 0 20px;
    }

    footer p {
        text-align: center;
    }

    .margin+p {
        margin-left: 0;
    }

    h2 {
        margin: 0 0 10px;
        text-align: left;
    }

    h3 {
        margin: 0 -16px 16px;
    }

    article br {
        display: none;
    }
}