@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #848282;
    font-family: "Arial", sans-serif;
    font-size: .937rem;
    line-height: 1.5;
    background: #f4f4f4;
}

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;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 1.375rem
}

ul li:before {
    content: "\25a0";
    float: left;
    margin-left: -1.375rem;
    font-size: 0.635em;
    line-height: 2;
    color: #1A529F
}

h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #1A529F;
    line-height: 1.2;
    width: 55%
}

h2 {
    font-size: 1.625rem;
    margin: 2.187rem 0 1.25rem;
    color: #1A529F;
}

h3 {
    font-size: 1.2rem;
    margin: 1rem 0 .625rem;
}

h4 {
    margin: 1.187rem 0 .312rem;
    font-size: 1.187rem;
}

.kontakt {
    display: flex;
    align-items: flex-start;
    column-gap: 15rem;
}

.aside {
    display: flex;
    column-gap: 1.562rem;
    align-items: flex-start;
}

.benefits {
    display: flex;
    column-gap: 1.25rem
}

.head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem
}

a.apply {
    background: #1A529F;
    font-size: 1.1rem;
    text-align: center;
    color: #fff;
    border: solid 2px #1A529F;
    padding: 0.7rem 2rem;
    display: block;
    width: 14.375rem;
    margin: 2rem auto 1rem;
}

a.apply:hover {
    background: #fff;
    color: #1A529F;
}

header {
    padding: 2rem 2rem 1rem;
    background: #fff;
    margin: 0;
}

section,
footer {
    margin: 0 0 0.5rem;
    padding: 1rem 1.5rem;
    background: #fff;
}

footer {
    margin-top: .5rem
}

footer p {
    margin: 0;
    text-align: center;
}

section i {
    font-size: 3rem;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    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;
    }

    .kontakt {
        gap: 6.25rem
    }

    header,
    section,
    footer {
        padding: 1rem
    }

    h1 {
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 41.875rem) {
    .head {
        flex-direction: column-reverse;
    }

    h1 {
        width: 100%
    }

    header p,
    h1 {
        text-align: center;
    }
}

@media only screen and (max-width: 36.25rem) {
    h4 {
        margin: .625rem 0
    }

    .kontakt,
    .benefits,
    .aside {
        display: block;
    }

    .kontakt i,
    .kontakt p,
    h4,
    .benefits p,
    .benefits i {
        text-align: center;
        display: block;
    }

    .aside:last-of-type {
        margin-top: 1.25rem;
    }

    .benefits i {
        margin: 0 0 1rem;
    }
}
