@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: .938rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

article p {
    padding-bottom: 1rem;
}

strong {
    color: #1a3a5c;
}

h1 {
    font-size: 1.7rem;
    line-height: 1.3;
    color: #1a3a5c;
    padding: 1.5rem 0 .25rem;
    background: url("../images/line.png") 0 0/contain no-repeat;
}

h2 {
    font-size: 1rem;
    border-bottom: 2px solid #f39200;
    padding: 0 0 .2rem;
    margin-bottom: .5rem;
    color: #1a3a5c;
}

ul {
    list-style: none;
    padding-bottom: 1.5rem;
}

ul li {
    padding: 0 0 0 1.25rem;
    position: relative;
}

ul li:before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #000;
    border-radius: 1px;
}

strong.yellow {
    color: #f39200;
}

.yellow h2 {
    border-color: #f39200;
}

.yellow ul li:before {
    background: #f39200;
}

.blue h2 {
    border-color: #29a8e0;
}

.blue ul li:before {
    background: #29a8e0;
}

strong.blue {
    color: #7fc7ec;
}

h2.green {
    border-color: #2e7d4f;
}

.flex {
    display: flex;
    gap: 1.5rem;
}

.flex>div {
    flex: 50%;
}

.box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .625rem;
    padding-bottom: 1.5rem;
}

.box>div {
    padding: .5rem 1rem;
    background: url("../images/green_line.png")top left/contain no-repeat #f2f7fb;
}

.box>div>p {
    padding-bottom: 0;
}

.kontakt {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.big {
    font-size: 1.2rem;
}

.qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .625rem;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 1rem 3rem;
}

header>img {
    position: absolute;
    top: 0;
    right: 0;
}

article {
    padding: 0 3rem 1rem;
}

footer {
    padding: 1.5rem 3rem;
    background-color: #1a3a5c;
    color: #f2f7fb;
    font-size: .85em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

}

@media only screen and (max-width: 45rem) {

    header {
        padding: 1rem;
    }

    article {
        padding: 0 1rem .5rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }
}

@media only screen and (max-width: 40rem) {
    .flex {
        display: block;
    }

    .box {
        grid-template-columns: 1fr;
    }

    .kontakt,
    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media only screen and (max-width: 35rem) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    header>img {
        position: static;
    }

    h1,
    h1+p {
        text-align: center;
    }
}