@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: linear-gradient(180deg, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 0.3) 50rem), url('../images/background.jpg') no-repeat #E6EEF2;
    font-weight: 400;
}

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:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.color {
    color: #009EE3;
}

p {
    margin: 0 0 1rem;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    padding-left: 1.375rem;
}

li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.25rem;
    line-height: 1.2;
    color: #4098D4;
}

h1 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: #4098D4;
    text-align: center;
}

h1 span {
    font-weight: normal;
    font-size: 1.2rem;
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #4098D4;
}

h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1875rem;
    color: #4098D4;
}

.kontakt {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 1rem;
    flex-wrap: wrap;
}

.ikon {
    color: #4098D4;
}

.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: #4098D4;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    color: #fff;
    padding: 0.5rem 1.5rem;
    display: block;
    width: 11.562rem;
    border: #4098D4 solid 0.0625rem;
    margin: 0.625rem auto 0;
}

header {
    padding: 2rem 2rem 0.625rem;
    background: #fff;
    margin: 0;
    column-gap: 1rem;
    position: relative;
}

.logo {
    display: block;
    width: fit-content;
}

section,
footer {
    margin: 0 0 0.5rem;
    padding: 1.5rem 2rem;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0.125rem 0.5rem;
}

footer {
    margin: 0.5rem 0 0;
}

footer p {
    margin: 0;
    text-align: center;
}

section i {
    font-size: 3rem;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
    margin: 0 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;
        padding: .5rem;
    }

    body {
        background: none;
    }

    .logo {
        display: block;
        width: fit-content;
        margin: 0 auto 1rem;
    }

    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;
    }
}

@media only screen and (max-width: 40.312rem) {

    section,
    footer {
        padding: 1rem;
    }

    h1 {
        font-size: 1.25rem;
    }

    h1 span {
        font-size: 1rem;
    }

    h2 {
        font-size: 1rem;
        margin: 0 0 0.625rem
    }

    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: 0.937rem;
    }

    .ikon {
        margin: 0 0 1rem;
    }

    a.apply {
        margin: 1rem auto;
    }
}