@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff'), url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-size: 16px;
    line-height: 22px;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #000;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 926px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

h1 {
    margin: 20px 0;
    font-size: 27px;
    line-height: 31px;
    font-weight: 700;
    text-align: center;
}

h1 span {
    font-weight: 400;
}

h2 {
    font-size: 20px;
    margin: 16px 0 25px;
    line-height: 24px;
    font-weight: 700;
    text-decoration: underline;
}

h3 {
    font-size: 22px;
    margin: 0 0 8px;
    font-weight: 700;
    line-height: 18px;
    color: #fff;
    text-align: center;
}

strong {
    font-weight: 700;
}

footer h3+p {
    line-height: 28px;
}

p:not(:last-child, footer p) {
    margin-bottom: 1rem;
}

p.center {
    text-align: center;
}

header {
    display: flex;
    padding: 34px 1rem 16px;
    justify-content: center;
    border-bottom: 10px solid #2b9f93;
}

article {
    padding: 20px 60px 35px;
    background: url(../images/background.jpg) no-repeat;
    background-size: cover;
}

.big-font {
    font-size: 25px;
    line-height: 1.4;
}

.bottom-margin {
    margin-bottom: 6px !important;
}

footer {
    justify-content: space-between;
    display: flex;
    padding: 16px 60px;
    background: #00938e;
}

footer p {
    font-size: 18px;
    color: #fff;
    line-height: 27px;
}

.kontakt {
    width: 311px;
}

.apply {
    width: calc(100% - 370px);
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
    font-size: 20px;
    line-height: 28px;
    text-align: justify;
    hyphens: auto;
}

ul li {
    padding-left: 30px;
    margin: 0 0 3px;
}

ul li:before {
    content: "\25A0";
    float: left;
    font-size: 16px;
    text-indent: -30px;
    line-height: 15px;
    margin-top: 3px;
}

img {
    max-width: 100%;
}

@media (max-width: 926px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    article {
        padding: 1rem;
    }

    ul {
        text-align: left;
    }

    footer {
        gap: 1rem;
        padding: 1rem;
    }

    footer p {
        font-size: 17px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(.kontakt br) {
        display: none;
    }

    .kontakt p br {
        display: inline;
    }
}

@media (max-width:767px) {
    article {
        padding: 1rem;
    }

    ul {
        margin: 0 0 1rem;
    }

    footer {
        flex-direction: column-reverse;
    }

    :is(.kontakt, .apply) {
        width: 100%;
    }

    footer p {
        text-align: center;
    }
}