@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #232323;
    font-family: 'Arial', sans-serif;
    font-size: .937rem;
    line-height: 1.5;
    background: #F0FAFF;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 0.625rem;
}

p span {
    white-space: nowrap
}

h1 {
    font-size: 1.812rem;
    margin: 0 0 1rem;
    line-height: 1.2;
    color: #161b45
}

h2 {
    color: #161b45;
    font-size: 1.812rem;
    line-height: 1.1
}

h2 span {
    font-weight: 400;
    font-size: 1.187rem
}

h3 {
    font-size: 1.187rem;
    margin-bottom: .625rem;
    color: #161b45;
}

h4 {
    margin-bottom: .625rem;
    font-size: 1.187rem;
}

ul {
    list-style: none;
    margin: 0 0 .312rem;
    padding: 0;
}

ul li {
    padding-left: 1.125rem;
}

ul li:before {
    content: "\25a0";
    float: left;
    margin-left: -1.125rem;
    font-size: 0.635em;
    line-height: 2.1;
    color: #161b45;
}

header {
    padding: 2rem 2rem 1rem;
    background: #fff;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: .625rem
}

.head {
    width: 60%;
}

.logo {
    width: auto
}

@keyframes slidy {
    0% {
        left: 0%;
    }

    47% {
        left: 0%;
    }

    50% {
        left: -100%;
    }

    97% {
        left: -100%;
    }

    100% {
        left: -200%;
    }
}

.slider {
    overflow: hidden;
}

.slider figure {
    position: relative;
    width: 300%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 12s slidy infinite;
}

.slider figure img {
    width: 33.333333333333336%;
    float: left;
}

.kontakt {
    display: flex;
    align-items: flex-start;
    padding: 1.875rem 1.25rem 1.25rem;
}

.kontakt aside {
    width: 50%
}

.benefits {
    display: flex;
    column-gap: 1.25rem;
    align-items: flex-start;
}

aside {
    display: flex;
    column-gap: 1.562rem;
    align-items: flex-start;
}

.kontakt > aside:nth-child(2) {
    justify-content: center
}

.apply {
    background: #fff;
    font-size: 1.1rem;
    text-align: center;
    color: #161b45;
    border: solid 0.125rem #161b45;
    padding: 0.7rem 2rem;
    display: block;
    width: 14.375rem;
    margin: 2rem auto 1rem;
}

.apply:hover {
    background: #161b45;
    color: #fff;
    border: solid 0.125rem #161b45;
}

section,
footer {
    margin: 0 0 0.5rem;
    padding: 1rem 1.5rem;
    background: #fff;
}

footer {
    text-align: center;
    margin-top: .5rem
}

footer p {
    margin: 0
}

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 .5rem;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@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;
    }

    ul li:before {
        line-height: 2.2
    }

    h1 {
        font-size: 1.562rem;
        margin: 0 0 .625rem;
    }

    h2 {
        font-size: 1.562rem
    }

    header,
    .kontakt,
    section,
    footer {
        padding: 1rem;
    }

    aside {
        column-gap: 1.25rem;
    }

    .kontakt > aside:nth-child(2) {
        padding-right: 0;
    }

    .apply {
        margin: 1rem auto;
    }
}

@media only screen and (max-width: 40.625rem) {
    header {
        flex-direction: column;
        align-items: center;
        column-gap: .625rem
    }

    .head {
        width: 100%
    }

    .logo {
        width: auto;
        margin: 0 0 .625rem
    }

    header p {
        text-align: center
    }

    h1 {
        margin: 0;
        font-size: 1.25rem;
        text-align: center
    }

    h1 span {
        font-size: 1rem
    }

    h3 {
        margin: 0 0 .312rem
    }

    .kontakt {
        flex-direction: column;
    }

    .kontakt > aside:nth-child(2) {
        justify-content: normal
    }

    .kontakt i {
        width: 3.437rem
    }
}

@media only screen and (max-width: 34.062rem) {
    h2 {
        font-size: 1.25rem;
        line-height: 1.3
    }

    h2 span {
        font-size: 1rem
    }

    article .fa-location-dot {
        margin-left: 1rem
    }

    .benefits {
        flex-direction: column;
        align-items: center
    }

    .benefits i {
        margin: 0 0 .625rem;
        width: auto
    }

    .kontakt,
    aside {
        align-items: center
    }

    aside {
        flex-direction: column;
    }

    .kontakt p,
    .kontakt h4,
    .benefits p {
        text-align: center
    }
}

@media only screen and (max-width: 30rem) {
    h1 {
        font-size: 1.125rem
    }

    h1 span {
        font-size: .875rem
    }

    h3 {
        font-size: 1rem
    }
}