@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #003769;
    font-family: "Arial", sans-serif;
    font-size: .937rem;
    line-height: 1.5;
    background: rgb(235, 240, 240);
    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:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 .625rem;
}

p small {
    font-size: .875rem;
}

span {
    white-space: nowrap
}

.nomargin {
    margin: 0
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 1.375rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.25rem;
    line-height: 1.1;
    color: #D59820;
}

h1 {
    font-size: 1.5rem;
    margin: 1rem 0 .5rem;
    color: #D59820;
    line-height: 1.2;
    text-align: center
}

h3 {
    margin-bottom: .312rem;
    font-size: 1.187rem;
    color: #D59820;
}

h2 {
    font-size: 1.2rem;
    margin-bottom: .625rem;
    color: #D59820;
}

.kontakt {
    display: flex;
    align-items: flex-start;
    column-gap: 5rem;
}

aside {
    display: flex;
    column-gap: 1.562rem;
    align-items: flex-start;
}

.benefits {
    display: flex;
    column-gap: 1.25rem;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: .625rem;
}

.flex1 {
    display: flex;
    flex-flow: wrap;
}

.flex1 .column {
    width: 11.562rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.flex1 .column p {
    text-align: center;
    color: #000
}

a.apply {
    background: #133668;
    font-size: 1.1rem;
    text-align: center;
    color: #fff;
    border: solid .125rem #133668;
    padding: 0.7rem 2rem;
    display: block;
    width: 14.375rem;
    margin: 2rem auto 1rem;
}

article i {
    color: #D59820
}

header {
    padding: 2rem 2rem 1rem;
    background: #fff;
    margin: 0 0 .625rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section,
footer {
    margin: 0 0 0.5rem;
    padding: 1rem 1.5rem;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.15) 0 .125rem .5rem;
}

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-bottom: .937rem
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider {
    position: relative;
    margin-bottom: .625rem;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s 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;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: .5rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    ul li {
        padding-left: 1.5rem;
    }

    header {
        padding: 1rem;
    }

    section,
    footer {
        padding: 1rem;
    }

    .benefits,
    .kontakt,
    .address {
        gap: 1rem;
    }

    .address {
        width: 50%
    }

    a.apply {
        margin: 1rem auto;
    }

    .flex1 {
        align-items: center;
        justify-content: center
    }

    .flex1 .column {
        width: 30%;
        align-items: center;
    }
}

@media only screen and (max-width: 46.875rem) {

    header p,
    h1 {
        text-align: center
    }

    .benefits,
    .kontakt,
    .address {
        gap: .625rem;
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: center
    }
}

@media only screen and (max-width: 44.375rem) {
    ul li {
        padding-left: 1rem;
    }

    ul li:before {
        margin-left: -16px;
    }

    .benefits,
    .kontakt,
    .address {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .benefits i {
        margin: 0 0 .312rem
    }

    aside {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .kontakt img {
        margin: 0 auto;
    }
}

@media only screen and (max-width: 23.5rem) {
    h3 {
        font-size: 1.062rem;
    }

    a.apply {
        width: 100%;
    }
}