@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');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #14387f;
    font-size: 17px;
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.4;
    font-weight: 400;
}

#wrapper {
    border: 2px solid rgba(22, 55, 113, 0.15);
    max-width: 997px;
    margin: 16px auto;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

article {
    padding: 18% 10% 0;
    position: relative;
}

.title {
    position: absolute;
    left: 0;
    top: -5%;
    z-index: 2;
    width: 90%;
    padding: 4% 5% 2%;
    background-color: #14387f;
    font-size: 20px;
}

.title p {
    color: #fff;
}

.kontakt a {
    color: #14387f !important;
}

figure {
    position: absolute;
    bottom: -34px;
    right: 30px;
}

footer {
    padding: 30px 10%;
}

footer a {
    padding: 0.5em 1.2em 0.55em;
    color: #fff !important;
    background: #990033;
    display: inline-block;
    text-align: center;
} 

:is(h1, h2) {
    font-weight: 400;
}

h1 {
    font-size: 36px;
    color: #fff;
    line-height: 1.16;
    margin: 0 0 1rem;
}

h2 {
    font-size: 28px;
    margin: 2rem 0 0 0;
    line-height: 1.25;
}

p:not(:last-child) {
    margin-bottom: 16px;
}

:is(p, li) {
    text-align: left;
    hyphens: auto;
    text-wrap: pretty
}

span {
    white-space: nowrap;
}

strong {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #990033;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

ul {
    list-style: none;
}

ul li {
    margin: 0.25rem 0;
    padding-left: 20px;
}

li:before {
    text-indent: -20px;
    content: "\2022";
    color: #990033;
    float: left;
    font-size: 21px;
    font-family: Arial, sans-serif;
    margin-top: -2px;
}

@media screen and (max-width:995px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, li) {
        text-align: left;
        text-wrap: pretty;
    }

    .title {
        position: static;
        margin: -9% -1rem 1rem;
        padding: 16px;
    }

    article {
        padding: 0 1rem 1rem;
    }

    footer {
        padding: 30px 0.5rem;
    }

}

@media screen and (max-width:767px) {
    body {
        font-size: 16px;
        line-height: 22px;
    }

    .title {
        width: auto;
        padding: 16px;
    }

    figure {
        position: static;
    }

    :is(figure, footer) {
        display: flex;
        justify-content: center;
    }

    :is(.kontakt, .kontakt+p) {
        text-align: center;
    }

    footer a {
        padding: 0.5rem 1rem;
    }

    h1 {
        font-size: 30px;
        line-height: 38px;
    }

    h2 {
        font-size: 24px;
    }

    li:before {
        margin-top: 1px;
    }

}