@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: #EBF0F0
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 820px;
    margin: 1rem auto;
    overflow: hidden;
    padding: 0 10px;
}

#wrapper>img {
    margin: 0 0 8px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.url {
    color: #3a434f;
}

p {
    margin: 0 0 0.625rem;
}

.margin {
    margin: 0 0 1rem
}

p span {
    white-space: nowrap
}

h1 {
    font-size: 24px;
    margin: .625rem 0;
    text-align: center;
    color: #DE1920;
    line-height: 1.2
}

h1+p {
    text-align: center;
    margin: 0;
}

h2 {
    font-size: 1.187rem;
    margin: 0 0 .625rem;
    color: #DE1920
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul li {
    padding-left: 1rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
    font-size: 1.125rem;
    line-height: 1.4;
    color: #DE1920;
}

header {
    padding: 32px;
    margin: 0 0 .5rem;
    background: #fff;
    display: flex;
}

.section {
    box-shadow: rgba(0, 0, 0, 0.15) 0 .125rem .5rem;
}

.section,
footer {
    margin: 0 0 8px;
    padding: 24px 32px;
    background: #fff;
}

.flex {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    align-items: center;
    margin: 0 0 1.5rem;
}

.flex p {
    margin: 0
}

.kontakt {
    display: flex;
    align-items: flex-start;
    gap: 1rem
}

.address {
    display: flex;
    column-gap: 1.562rem;
    align-items: flex-start;
    width: 50%;
}

a.apply {
    background: #DE1920;
    font-size: 1.1rem;
    text-align: center;
    color: #fff;
    padding: .5rem 1.5rem;
    display: block;
    width: 14.375rem;
    margin: 0 auto;
    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: 2.25rem;
    color: #DE1920
}

.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%;
}

footer {
    margin-top: .5rem;
}

footer p {
    margin: 0;
    text-align: center
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 1rem 0 0;
}

.fa-brands {
    color: #000;
    font-size: 2rem;
}

@media only screen and (max-width: 819px) {
    #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;
    }

    .kontakt,
    .address {
        gap: 1rem;
    }

    a.apply {
        margin: 1rem auto;
    }
}

@media only screen and (max-width: 580px) {
    h1 {
        text-align: center
    }

    ul li {
        padding-left: 1rem;
    }

    header {
        justify-content: center;
    }

    .kontakt,
    .address,
    .flex {
        flex-direction: column;
        align-items: center
    }

    .address,
    .flex p {
        width: 100%
    }

    .address p,
    .address h2,
    .flex p {
        text-align: center
    }

    .benefits,
    .kontakt,
    .address {
        gap: 10px;
    }
}

@media only screen and (max-width: 376px) {
    a.apply {
        width: 100%;
        margin: 0 0 .625rem
    }
}