@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/poppins-v22-latin-300.eot');
    src: url('../fonts/poppins-v22-latin-300.eot?#iefix') format('embedded-opentype'), url('../fonts/poppins-v22-latin-300.woff2') format('woff2'), url('../fonts/poppins-v22-latin-300.woff') format('woff'), url('../fonts/poppins-v22-latin-300.ttf') format('truetype'), url('../fonts/poppins-v22-latin-300.svg#Poppins') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/poppins-v22-latin-regular.eot');
    src: url('../fonts/poppins-v22-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/poppins-v22-latin-regular.woff2') format('woff2'), url('../fonts/poppins-v22-latin-regular.woff') format('woff'), url('../fonts/poppins-v22-latin-regular.ttf') format('truetype'), url('../fonts/poppins-v22-latin-regular.svg#Poppins') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/poppins-v22-latin-600.eot');
    src: url('../fonts/poppins-v22-latin-600.eot?#iefix') format('embedded-opentype'), url('../fonts/poppins-v22-latin-600.woff2') format('woff2'), url('../fonts/poppins-v22-latin-600.woff') format('woff'), url('../fonts/poppins-v22-latin-600.ttf') format('truetype'), url('../fonts/poppins-v22-latin-600.svg#Poppins') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    min-height: 100%;
}

body {
    color: #000e1f;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 15px;
    line-height: 23px;
    font-weight: 300;
}

#wrapper {
    margin: 1rem auto;
    max-width: 980px;
    border: 1px solid #000e1f;
    background-color: #fff;
    position: relative;
}

.logo {
    padding: 30px;
    display: flex;
    justify-content: flex-start;
}

.content {
    position: relative;
    padding: 30px 348px 30px 30px;
}

article a[href^="tel:"] {
    color: #000e1f;
}

footer {
    width: 290px;
    position: absolute;
    top: 30px;
    right: 30px;
}

footer h2 {
    margin: 0 0 15px;
}

.kontakt {
    background: #ecf2f6;
    padding: 16px;
}

.kontakt p {
    text-align: center;
    padding-top: 10px;
    color: #224e63
}

p:not(:first-of-type) {
    margin-top: 20px;
}

h1 {
    font-size: 27px;
    line-height: 1.4;
    margin: 20px 0 0;
}

h2 {
    font-size: 18px;
    line-height: 24px;
    margin-top: 30px;
}

ul {
    list-style: none;
    margin-left: 20px;
}

ul li {
    padding-left: 19px;
}

li:before {
    content: "\2022";
    color: #000e1f;
    float: left;
    font-size: 23px;
    text-indent: -19px;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, strong) {
    font-weight: 600;
}

:is(a:link, a:visited, a:active) {
    color: #008bc5;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    color: #224e63 !important
}

@media only screen and (max-width:980px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }

    :is(p, ul) span {
        white-space: nowrap;
    }
}

@media only screen and (max-width:760px) {
    :is(.logo, .content) {
        padding: 16px
    }

    footer {
        position: static;
        width: auto;
        margin-top: 30px
    }

    .kontakt {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (max-width:480px) {
    .logo {
        justify-content: center
    }

    :is(h1, footer h2) {
        text-align: center;
    }

    ul {
        margin-left: 0
    }
    h1{font-size: 22px}
}