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

body {
    color: #666666;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

#wrapper {
    max-width: 832px;
    margin: 16px auto;
    background-color: #fff;
    overflow: hidden;
}

.border {
    border: 1px solid #dcdfe2cc;
    padding: 10px 24px 0;
    margin: 0 0 26px;
}

.flex {
    display: flex;
}

.flex div {
    width: 40%;
}

.flex div p {
    margin: 0 0 2px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #262626;
}

.flex div p i {
    color: #474294;
    width: 20px;
    display: inline-flex !important;
    justify-content: center;
}

.banner {
    margin: 20px -24px;
}

.kontakt {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0 0 20px;
}

.kontakt p {
    color: #262626;
    margin: 0;
}

.iframe-wrapper {
    width: auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 0 -27px;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    display: flex;
    justify-content: flex-start;
    padding: 16px 24px;
    border: 1px solid #dcdfe2cc;
}

footer a {
    padding: 10px 20px;
    background: #474294;
    color: #fff !important;
    border-radius: 4px;
    font-size: 14px;
    transition-property: background-color;
    transition-duration: 0.15s;
    transition-timing-function: ease-in;
    transition-delay: 0s;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
}

footer a:hover {
    background: #a1a1a1;
}

span {
    white-space: nowrap;
}

p {
    margin: 0 0 26px;
}

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

h1 {
    margin: 10px 0 32px;
    font-size: 36px;
    line-height: 1.1;
    color: #474294;
}

h2 {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1;
    color: #474294;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 36px;
    list-style: none;
}

ul li {
    padding-left: 40px;
    margin: 0 0 4px;
}

li:before {
    content: "\2022";
    color: #474294;
    float: left;
    font-size: 22px;
    line-height: 1.3;
    text-indent: -16px;
}

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

@media all and (max-width:830px) {
    #wrapper {
        margin: 0 auto;
        padding: 1rem;
    }

    :is(.border, footer) {
        border: none;
        padding: 0;
    }

    .banner {
        margin: 16px -16px;
    }

    .iframe-wrapper {
        margin: 0 -16px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media all and (max-width: 767px) {
    .flex {
        justify-content: space-between;
    }

    .flex div {
        width: 48%;
    }
}

@media all and (max-width: 510px) {
    footer {
        justify-content: center;
    }

    ul li {
        padding-left: 20px;
    }

    li:before {
        text-indent: -20px;
    }
}

@media all and (max-width: 424px) {
    .flex {
        display: block;
    }

    .flex div {
        width: 100%;
    }

    .kontakt {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }

    .kontakt p {
        text-align: center;
    }

    h1 {
        margin: 0 0 16px;
    }
}