@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/nunito-v32-latin-regular.eot');
    src: url('../fonts/nunito-v32-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/nunito-v32-latin-regular.woff2') format('woff2'), url('../fonts/nunito-v32-latin-regular.woff') format('woff'), url('../fonts/nunito-v32-latin-regular.ttf') format('truetype'), url('../fonts/nunito-v32-latin-regular.svg#Nunito') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/nunito-v32-latin-700.eot');
    src: url('../fonts/nunito-v32-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/nunito-v32-latin-700.woff2') format('woff2'), url('../fonts/nunito-v32-latin-700.woff') format('woff'), url('../fonts/nunito-v32-latin-700.ttf') format('truetype'), url('../fonts/nunito-v32-latin-700.svg#Nunito') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    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;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 24px 0px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #007bff;
}

a.link:hover {
    color: #039BE5;
}

article p {
    padding-bottom: 0.875rem;
}

h1 {
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
    padding-bottom: 0.875rem;
}

h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    color: #e00022;
    padding: .75rem 0;
}

ul {
    padding: 0 0 0.875rem 1.5rem;
}

ul ul {
    padding-bottom: 0;
}

.slider {
    position: relative;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s linear infinite 0s;
}

.slider>img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider>img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider>img:nth-of-type(3) {
    animation-delay: 12s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
}

.title {
    background-color: #e00022;
    color: #fff;
    text-align: center;
    padding: 2rem 5rem;
    margin: 0 -5rem 1.5rem;
}

.info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    color: #fff;
}

.info p {
    padding-bottom: 0;
}

.info i {
    margin-right: .5rem;
}

.kontakt {
    margin: 0.875rem -5rem;
    padding: 0.875rem 5rem;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

.button {
    display: flex;
    justify-content: center;
    padding: 1.125rem 0 2rem;
}

.button a {
    padding: 18px 27px;
    text-transform: uppercase;
    background-color: #e00022;
    font-weight: 700;
    letter-spacing: 1.44px;
    font-weight: normal;
    color: #fff;
    border-radius: 3.3px;
}

.button a:hover {
    color: #f9193b;
    background-color: #ad001a;
}

header {
    display: flex;
    justify-content: center;
    padding: 0.875rem;
}

article {
    padding: 0 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;
    }

    article {
        padding: 0 2rem;
    }

    .title {
        padding: 2rem;
        margin: 0 -2rem 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .kontakt {
        margin: 0.875rem -2rem;
        padding: 0.875rem 2rem;
    }
}

@media only screen and (max-width: 35rem) {
    article {
        padding: 0 1rem;
    }

    .title {
        padding: 1.5rem 1rem;
        margin: 0 -1rem 1rem;
    }

    .kontakt {
        margin: 0.875rem -1rem;
        padding: 0.875rem 1rem;
    }
}