@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Indie Flower';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/indie-flower-v21-latin-regular.eot');
    src: url('../fonts/indie-flower-v21-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/indie-flower-v21-latin-regular.woff2') format('woff2'), url('../fonts/indie-flower-v21-latin-regular.woff') format('woff'), url('../fonts/indie-flower-v21-latin-regular.ttf') format('truetype'), url('../fonts/indie-flower-v21-latin-regular.svg#IndieFlower') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #121212;
    font-family: "Arial", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #EBF0F0
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 16px auto;
    overflow: hidden;
}

span {
    white-space: nowrap;
}

.rot {
    color: #FF0000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.web {
    color: #3672af;
}

p {
    margin: 0 0 10px;
}

.margin {
    margin: 0 0 16px
}

p span,
h1 span {
    white-space: nowrap
}

h1 {
    font-size: 24px;
    margin: 1.5rem 0;
    text-align: center;
    color: #3672af;
    line-height: 1.2
}

h2 {
    font-size: 18.992px;
    margin: 0 0 10px;
    color: #3672af
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul li {
    padding-left: 16px
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -16px;
    font-size: 18px;
    line-height: 1.4;
    color: #3672af;
}

header {
    margin: 0 0 8px
}

.image_header img {
    display: block;
}

header p {
    margin: 0;
}

.blue_bg {
    color: #fff;
    background-color: #3773B1;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.address_header {
    width: 180px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.address_header p {
    font-size: 12px;
}

.cursive {
    width: 60%;
}

.cursive>p {
    font-family: 'Indie Flower', 'Arial', sans-serif;
    font-size: 18px;
}

.image {
    width: 135px;
}

.image img {
    max-width: 135px;
    width: 100%;
}

.map {
    margin: 0 0 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;
}

.kontakt {
    display: flex;
    align-items: flex-start;
    gap: 80px
}

.address {
    display: flex;
    column-gap: 24.992px;
    align-items: flex-start;
    width: 50%;
}

a.apply {
    background: #a20f71;
    ;
    font-size: 17.6px;
    text-align: center;
    color: #fff;
    border: solid 2px #a20f71;
    ;
    padding: 8px 24px;
    display: block;
    margin: 32px auto 16px;
    width: fit-content;
    transition: color 0.15s ease-in-out 0s, background-color 0.15s ease-in-out 0s, border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, opacity 1s cubic-bezier(0.5, 0, 0, 1) 0s, transform 1s cubic-bezier(0.5, 0, 0, 1) 0s;
}

.section i {
    font-size: 36px;
    color: #3672af
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer {
    margin: 8px 0 0;
}

footer p {
    margin: 0;
    text-align: center
}

@media only screen and (max-width: 798.992px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: .5rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h1 {
        margin: 16px 0;
        font-size: 22px;
    }

    h2 {
        font-size: 18px;
    }

    ul li {
        padding-left: 24px;
    }

    header {
        padding: 0;
        margin: 0;
    }

    header p {
        margin: 0;
    }

    .blue_bg {
        padding: 16px;
    }

    .cursive>p {
        font-size: 16px;
    }

    .image {
        width: auto;
    }

    .section,
    footer {
        padding: 16px;
    }

    .benefits,
    .kontakt,
    .address {
        gap: 16px;
    }

    .address {
        width: 50%;
        flex-direction: column;
        align-items: center;
    }

    .address h2,
    .address p {
        text-align: center;
    }

    a.apply {
        margin: 16px auto;
    }
}

@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) {
    ul li {
        padding-left: 16px;
    }

    .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: 550px) {
    header p {
        margin: 0;
    }

    .blue_bg {
        flex-direction: column;
        gap: 20px;
    }

    .address_header {
        width: 100%;
    }

    .cursive {
        width: 100%;
    }
}

@media only screen and (max-width: 376px) {
    a.apply {
        width: 100%;
        margin: 0 0 10px
    }
}