:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    line-height: 20px;
    font-family: Verdana, Arial, sans-serif;
    color: #fff;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 620px;
    margin: 16px auto;
    overflow: hidden;
    border: 1px solid #004992;
    background-color: #004992;
}

:is(h1, h2, h3, strong) {
    font-weight: 700;
}

h1 {
    margin: 43px 0 0;
    font-size: 26px;
    line-height: 1.25;
}

h1 span {
    display: block;
    font-size: 90%;
    font-weight: 400;
}

h2 {
    margin: 0 0 10px 0;
    font-size: 22px;
    line-height: 1.2;
}

h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.2;
}

p {
    margin-bottom: 16px;
}

header {
    padding: 16px 50px;
}

header .logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

article {
    margin: 0;
    padding: 0;
}

.content {
    padding: 2px 50px 12px;
    position: relative;
}

footer {
    display: flex;
    align-items: center;
    padding: 0 50px 2rem;
    gap: 4rem;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

ul {
    margin: 0 0 16px;
    list-style: none;
}

ul+p {
    padding-left: 18px;
}

ul li {
    padding-left: 18px;
}

ul li:before {
    content: "\25A0";
    color: #fff;
    float: left;
    margin-top: -1px;
    font-size: 16px;
    line-height: 1em;
    text-indent: -18px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h4 {
    font-weight: bold;
    font-size: 17px;
    line-height: 1.1;
    color: #FFF;
    background: #d9673c;
    padding: 17px 10px 10px 10px;
    position: absolute;
    top: 12px;
    right: 52px;
    text-align: center;
    transform: rotate(-6deg);
    box-shadow: 10px 10px 29px -7px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: 10px 10px 29px -7px rgba(0, 0, 0, 0.33);
    -moz-box-shadow: 10px 10px 29px -7px rgba(0, 0, 0, 0.33);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    text-align: center;
    border: 2px solid #FFF;
}

.images {
    display: block;
    position: relative;
    margin: 0 0 1rem;
}

.text {
    position: absolute;
    bottom: 16px;
    right: -5px;
    font-weight: bold;
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
    transform: rotate(-6deg);
    background: #d9673c;
    padding: 1rem;
}

.kontakt p {
    margin: 0;
}

.slide {
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
}

.slide img {
    vertical-align: bottom;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    6.6% {
        opacity: 1;
    }

    33.3% {
        opacity: 1;
    }

    39.9% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.slide img:nth-of-type(1) {
    position: relative;
}

.slide img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 15s linear 0s infinite normal forwards;
}

.slide img:nth-child(2) {
    animation-delay: 5s;
}

.slide img:nth-child(3) {
    animation-delay: 10s;
}

@media all and (max-width:619px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    header {
        padding: 1rem;
    }

    .content {
        padding: 0.125rem 1rem 0;
    }

    h4 {
        top: 16px;
        right: 1rem;
    }

    footer {
        padding: 1rem;
        gap: 1rem;
        flex-wrap: wrap;
    }
}

@media all and (max-width:480px) {
    h4 {
        position: static;
        transform: none;
        margin: 0 0 1rem;
    }

    header .logo {
        justify-content: center;
    }

    .text {
        font-size: 5vw;
    }

    .content {
        padding: 0 1rem;
    }

    h1 {
        margin-top: 1rem;
    }
}