@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v36-latin-regular.eot');
    src: url('../fonts/open-sans-v36-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v36-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v36-latin-regular.woff') format('woff'), url('../fonts/open-sans-v36-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v36-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v36-latin-700.eot');
    src: url('../fonts/open-sans-v36-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v36-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v36-latin-700.woff') format('woff'), url('../fonts/open-sans-v36-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v36-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #181818;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: .937rem;
    line-height: 1.5;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 0.625rem;
}

span {
    white-space: nowrap;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
}

ul ul {
    list-style: none;
    margin: 0;
}

ul li {
    padding-left: 1.375rem;
}

ul li:before {
    content: "\25a0";
    float: left;
    margin-left: -1.375rem;
    font-size: 0.635em;
    line-height: 2;
    color: #fff;
}

h1 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: #0f426b;
    line-height: 1.3;
}

h2 {
    font-size: 1.187rem;
    margin-bottom: 0.625rem;
    color: #000;
}

h3 {
    margin-bottom: 1.25rem;
    font-size: 1.187rem;
    color: #fff;
}

h4 {
    font-size: 1.812rem;
    margin: 2rem 0 1rem;
    color: #0f426b;
    line-height: 1.3;
}

header {
    padding: 2rem 2rem 1rem;
    background: #fff;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
}

.head {
    width: 60%;
}

.slider {
    position: relative;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 24s 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;
}

.slider>img:nth-of-type(4) {
    animation-delay: 18s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }
}

a.text {
    font-weight: bold;
}

a.text:hover {
    text-decoration: underline;
}

.section:nth-of-type(2n),
.section:nth-of-type(2n) h2 {
    background: #0f426b;
    color: #fff;
}

article .section:nth-of-type(3) ul li:before {
    color: #0f426b;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 1.562rem;
}

.flex .section {
    margin: 0;
    padding: 0;
}

a.apply {
    background: #9cbe17;
    font-size: 0.937rem;
    text-align: center;
    color: #fff;
    padding: 0.625rem 0.937rem;
    display: block;
    width: fit-content;
    margin: 1.25rem auto;
    font-weight: bold;
}

.kontakt {
    display: flex;
    align-items: flex-start;
    column-gap: 30%;
}

.kontakt h3 {
    margin-bottom: 0.625rem;
}

.aside {
    display: flex;
    column-gap: 1.25rem;
    align-items: flex-start;
}

.section,
footer {
    margin: 0 0 0.5rem;
    padding: 1rem 1.5rem;
    background: #fff;
}

.section i {
    font-size: 3rem;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer {
    text-align: center;
    margin-top: 0.5rem;
    background: #0f426b;
}

footer p {
    margin: 0;
    color: #fff;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    h1 {
        font-size: 1.25rem;
        margin: 1rem 0;
    }

    h2 {
        font-size: 1.125rem;
    }

    h3 {
        margin-bottom: 0.625rem;
        font-size: 1.125rem;
    }

    h4 {
        font-size: 1.5rem;
        margin: 1rem 0;
    }

    .logo {
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .head {
        width: 100%;
    }

    header {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    h1,
    h1+p,
    h1+p+p {
        text-align: center;
    }

    .text {
        text-align: center;
        display: block;
    }

    .section,
    footer {
        padding: 1rem;
        margin: 1rem 0;
    }

    footer p {
        margin-bottom: 0;
    }

    p {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 40rem) {
    h4 {
        font-size: 1.25rem;
        text-align: center;

    }

    h4+p {
        text-align: center;
        margin: 0;
    }

    article>.section:nth-of-type(5) h2 {
        text-align: center;
        margin-bottom: 1rem;
    }

    .aside {
        display: block;
    }

    .kontakt,
    .flex {
        display: block;
        text-align: center;
    }

    .flex i {
        margin-bottom: 1rem;
    }
}

@media only screen and (max-width: 23.437rem) {
    a.apply {
        width: 100%;
        margin: 1.875rem 0 0;
    }
}