@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333333;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: rgb(235, 240, 240);
}

img {
    max-width: 100%;
    height: auto;
}

#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;
}

p {
    margin: 0 0 0.625rem;
}

p span {
    white-space: nowrap
}

.space {
    letter-spacing: -0.2px
}

h1 {
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
    line-height: 1.3;
    text-align: center;
    color: #004e9e
}

h2 {
    font-size: 1.187rem;
    margin: 0 0 .625rem;
    color: #004e9e
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 16px;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
    font-size: 1em;
    line-height: 1.5;
    color: #004e9e
}

ul ul {
    margin-bottom: 0
}

header {
    padding: 22px 2rem .625rem;
    background: #fff;
    margin: 0 0 .5rem
}

.section,
footer {
    margin: 0 0 0.5rem;
    padding: 1rem 1.5rem;
    background: #fff;
}

.benefits {
    display: flex;
    align-items: flex-end;
    gap: 1.875rem;
}

.benefits i {
    margin-bottom: 1rem
}

.kontakt {
    display: flex;
    align-items: flex-start;
    gap: 1rem
}

.address {
    display: flex;
    column-gap: 1.562rem;
    align-items: flex-start;
    width: 50%;
}

footer {
    margin-top: .5rem;
}

footer p {
    margin: 0;
    text-align: center
}

a.apply {
    background: #004e9e;
    font-size: 1.1rem;
    text-align: center;
    color: #fff;
    border: solid 0.125rem #004e9e;
    padding: .437rem 1.375rem;
    display: block;
    width: 180px;
    margin: 2rem auto 1rem;
}

.section i {
    font-size: 35px;
    color: #004e9e
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
    margin: .625rem 0;
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0 0;
}

.social .item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social .item .fa-brands {
    color: #000;
    font-size: 2rem;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem
    }

    .space {
        letter-spacing: normal
    }

    h1 {
        margin: 1rem 0
    }

    h2 {
        margin-bottom: 1rem;
    }

    h2 + p {
        margin: 0
    }

    h3 {
        margin-top: 0
    }

    header {
        padding: 1rem 1rem 0;
    }

    :is(.section, footer) {
        padding: 1rem;
    }

    :is(.benefits, .kontakt, .address) {
        gap: 1rem;
    }

    .address {
        width: 50%
    }

    a.apply {
        margin: 1rem auto;
    }
}

@media only screen and (max-width: 46.875rem) {

    h4 {
        margin-top: 0
    }

    header {
        flex-direction: column;
        align-items: center;
        justify-content: center
    }

    header p,
    h1 {
        text-align: center
    }

    .head {
        width: 100%
    }

    .head p {
        margin: 0 0 .625rem;
    }

    :is(.benefits, .kontakt, .address) {
        gap: .625rem;
    }
}

@media only screen and (max-width: 44.375rem) {
    h1 {
        font-size: 1.25rem;
    }

    .address h2 {
        text-align: center;
    }

    ul li {
        padding-left: 1rem;
    }

    :is(.benefits, .kontakt, .address) {
        flex-direction: column;
        align-items: center
    }

    .benefits i {
        margin: 0 0 .312rem
    }

    :is(.address p, .benefits p, h4) {
        text-align: center
    }
}

@media only screen and (max-width: 23.5rem) {
    a.apply {
        width: 100%;
        margin: 0 0 .625rem
    }
}