* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #624536;
}

#wrapper {
    border: solid thin #532718;
    max-width: 800px;
    margin: 16px auto;
    background-color: #fff;
}

header img {
    max-width: 370px;
}

footer {
    border-bottom: 24px solid #532718;
    padding: 0 80px 25px;
}

.content {
    padding: 20px 80px 10px;
    position: relative;
}

.margin {
    margin-bottom: 0 !important;
}

h1 {
    font-size: 18px;
    margin: 16px 0;
    line-height: 22px;
}

h1 small {
    display: block;
}

h2 {
    font-size: 13px;
    font-weight: normal;
    padding-bottom: 16px;
}

p {
    margin-bottom: 16px;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    60% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

:is(.slider, .slider img:nth-of-type(1)) {
    position: relative;
}

.slider>img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 10s linear 0s infinite normal forwards;
    vertical-align: bottom;
}

.slider img:nth-child(2) {
    animation-delay: 5s;
}

.fix {
    position: absolute;
    bottom: 12%;
    left: 6%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #fff;
}

.fix div {
    font-size: 15px;
    line-height: 1.3;
}

.kontakt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    gap: 16px;
}

.kontakt p:not(:last-child) {
    margin-bottom: 16px;
}

.kontakt div {
    flex: 1 1 0;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 16px 20px;
    list-style: none;
}

ul li {
    padding-left: 24px;
}

li:before {
    text-indent: -24px;
    content: "\2022";
    color: #624536;
    float: left;
    font-size: 21px;
    margin-top: -1px;
}

span {
    white-space: nowrap;
}

@media screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    .content {
        padding: 16px;
    }

    footer {
        padding: 0 16px 16px;
    }

    :is(p, li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .kontakt {
        margin-top: 0
    }
}

@media screen and (max-width:767px) {
    .fix {
        bottom: 8%;
    }
}

@media screen and (max-width:638px) {
    .fix {
        bottom: 5%;
    }
}

@media screen and (max-width:540px) {
    .slider {
        margin-bottom: 60px;
    }

    .fix {
        bottom: -60px;
        left: 16px;
    }

    .fix div {
        color: #624536;
    }
}

@media screen and (max-width:480px) {
    ul {
        margin-left: 0;
    }

    h1 {
        text-align: center;
    }

    .kontakt {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .kontakt p {
        text-align: center;
    }
}