@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: 16px;
    line-height: 1.5;
    background: #f4f6f8
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 16px auto;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.web {
    color: #333;
}

p {
    margin: 0 0 10px;
}

.margin {
    margin: 0 0 16px
}

p span, h1 span, .nowrap {
    white-space: nowrap
}

h1 {
    font-size: 24px;
    margin: 0 0 20px;
    text-align: center;
    color: #204798;
    line-height: 1.4;
}

.second_line {
    font-size: 0.8em;
    font-weight: 400;
    display: block;
}

h2 {
    font-size: 18.992px;
    margin: 0 0 10px;
    color: #204798;
}
h3{
    font-size: 1.5em;
    line-height: 1.3;
    padding-bottom: 1rem;
    font-weight: 400;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul li {
    padding-left: 40px
}

.tasks li:before {
    content: "\2022";
}

ul li:before {
    content: "➢";
    float: left;
    margin-left: -30px;
    font-size: 16px;
    line-height: 1.4;
    color: #204798;
}


header {
    padding: 32px 32px 24px;
    background: #fff;
    margin: 0 0 8px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 2px 8px;
}

.images {
    margin: 0 0 8px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 2px 8px;
}

.section {
    box-shadow: rgba(0, 0, 0, 0.15) 0 2px 8px;
}

.section, footer {
    margin: 0 0 8px;
    padding: 24px 32px;
    background: #fff;
}

.benefits {
    display: flex;
    align-items: center;
    gap: 30px;
}
.color{
    color: #00AFEF;
}
.kontakt {
    display: flex;
    align-items: flex-start;
    gap: 16px
}

.address {
    display: flex;
    column-gap: 24.992px;
    align-items: flex-start;
    width: 50%;
}

a.apply {
    color: #fff;
    background-color: #204798;
    font-size: 17.6px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 178px;
    height: 42px;
    margin: 32px auto 16px;
}

.section i {
    font-size: 36px;
    color: #204798;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.15) 0 2px 8px;
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer {
    margin-top: 8px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 2px 8px;
}

footer p {
    margin: 0;
    text-align: center
}

.social {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 16px 0 0;
}

.item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.item .fa-brands {
    color: #000;
    font-size: 32px;
}

.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;
    }

}

@media only screen and (max-width:798.992px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 16px;
    }

    p, ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 16px
    }

    h1 {
        margin: 16px 0;
    }

    h2 {
        font-size: 18px;
        line-height: 1.2;
        margin: 0 0 5px;
    }

    .second_line {
        white-space: normal;
    }

    header {
        padding: 16px;
        margin: 0;
    }

    .section, footer {
        padding: 16px;
    }

    .benefits, .kontakt, .address {
        gap: 16px;
    }

    .address {
        width: 50%;
    }

}

@media only screen and (max-width:750px) {
    header p, h1 {
        text-align: center
    }

    .benefits, .kontakt, .address {
        gap: 10px;
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: center
    }

}

@media only screen and (max-width:710px) {
    .benefits, .kontakt, .address {
        flex-direction: column;
        align-items: center
    }

    .benefits i {
        margin: 0 0 4.992px
    }

    .address {
        width: 100%
    }

    .address p, .benefits p, .benefits h2, .address h2 {
        text-align: center
    }

}

@media only screen and (max-width:390px) {
    a.apply {
        width: 100%;
    }

    :is(a:link, a:visited, a:hover, a:active) {
        white-space: normal;
    }

}
