@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: #F0F5F8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.color {
    color: #006C5B;
}

p,
ul {
    margin: 0 0 1rem;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
}

ul li {
    padding-left: 1.375rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
}

h1 {
    text-align: center;
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: #339AA9;
}

h1+p {
    text-align: center;
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #339AA9;
}

h3 {
    margin: 0 0 .5rem;
    font-size: 1.1875rem;
}

.center {
    display: flex;
}

.top {
    margin: 2rem 0;
    column-gap: 1rem;
    row-gap: 1rem;
    justify-content: space-around;
}

.top p {
    font-weight: 700;
    text-align: center;
    margin: 0;
    width: 25%;
}

.bottom {
    flex-wrap: wrap;
}

.bottom p {
    white-space: nowrap;
    margin: 0;
    font-weight: 700;
}

.bottom p:not(:last-of-type) {
    margin-right: .375rem;
}

.color {
    color: #339AA9;
}

.kontakt {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 1rem;
    flex-wrap: wrap;
}

.ikon {
    color: #339AA9;
}

.container {
    display: flex;
    column-gap: 1.562rem;
    align-items: flex-start;
    width: 35%;
}

.container:first-of-type {
    width: fit-content;
}

.benefits {
    display: flex;
    column-gap: 1.25rem
}

a.apply {
    background: #339AA9;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    color: #fff;
    padding: .5rem 1.5rem;
    display: block;
    width: 14.375rem;
    border: #006C5B solid .062rem;
    margin: 0 auto 0;
}

.slider {
    position: relative;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 12s linear infinite 0s;
}

.slider > img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider > img:nth-of-type(2) {
    animation-delay: 6s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }
}

header {
    padding: 2rem;
    background: #fff;
    margin: 0;
    column-gap: 1rem;
    position: relative;
}

.logo {
    display: block;
    width: fit-content;
}

.color_green {
    color: #009E8F;
}

section,
footer {
    margin: 0 0 0.5rem;
    padding: 1.5rem 2rem;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.15) 0 .125rem .5rem;
}

footer {
    margin: .5rem 0 0
}

footer p {
    margin: 0;
    text-align: center;
}

section i {
    font-size: 3rem;
}

.flex {
    display: flex;
    justify-content: space-between;
    column-gap: 1.25rem;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 40%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
    margin: 0 0 .5rem;
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: none;
        padding: .5rem;
    }

    .logo {
        display: block;
        width: fit-content;
        margin: 0 auto 1rem;
    }

    header {
        padding: 1rem 2rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 43.75rem) {
    header {
        flex-direction: column;
    }

    .top {
        flex-wrap: wrap;
    }

    .top p {
        min-width: 9.375rem;
    }
}

@media only screen and (max-width: 40rem) {
    .flex {
        flex-direction: column;
    }
}

@media only screen and (max-width: 35rem) {

    header,
    section,
    footer {
        padding: 1rem;
    }

    h1,
    h2 {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 1rem;
    }

    h3 {
        margin: 0 0 1rem;
    }

    :is(.kontakt, .benefits) * {
        text-align: center;
    }

    .container,
    .kontakt,
    .benefits {
        flex-direction: column;
    }

    .container {
        width: 100%;
    }

    .container * {
        width: 100%;
    }

    .container:first-of-type {
        width: 100%;
    }

    .container:last-of-type {
        margin-top: .937rem
    }

    .ikon {
        margin: 0 0 1rem;
    }

    a.apply {
        margin: 1rem auto;
    }
}