@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    font-size: 16px;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

p,
ul {
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    text-align: justify;
}

article p {
    margin-bottom: 1rem;
}

hr {
    border-style: none;
    border-top: 3px solid #000;
    margin: 1rem 0;
}

h1 {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.1rem;
    color: #176536;
}

h3 {
    font-size: 1.1rem;
    color: #176536;
    margin-bottom: 1rem;
}

ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

ul ul {
    margin: 0.5rem 0 0;
}

ul li {
    padding: 0 0 0 1.5rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.5rem;
    font-size: 1.5rem;
    line-height: .9;
}

ul ul li:before {
    content: "\-";
    float: left;
    margin-left: -1.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

header {
    display: flex;
    justify-content: end;
    padding: 0 1rem;
}

article {
    padding: 1rem 4rem;
}

.center,
.center p {
    text-align: center;
}

.kontakt {
    margin-bottom: 1rem;
}

.kontakt p {
    display: flex;
    justify-content: center;
    gap: 0 4rem;
    text-align: center;
    margin: 0;
}

.kontakt p span {
    min-width: 9rem;
}

footer {
    padding: 0 4rem 1rem;
}

.flex {
    display: flex;
    gap: 1rem;
    align-items: center;
}

p.small {
    font-size: 0.813rem;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        text-align: left;
    }
}

@media only screen and (max-width: 44rem) {
    header {
        justify-content: center;
    }

    article {
        padding: 1rem;
    }

    footer {
        padding: 0 1rem 1rem;
    }

    br {
        display: none;
    }
}

@media only screen and (max-width: 38rem) {
    .kontakt p {
        flex-direction: column;
        margin: 0 0 1rem;
    }

    .flex {
        flex-direction: column;
    }
}