@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #5E767B;
    font-family: "Arial", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    background: #f2f5f7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 800px;
    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;
}

span {
    white-space: nowrap;
}

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: #adc801;
}

h1 {
    font-size: 1.5rem;
    margin: 0 0 .625rem;
    color: #5E767B;
    line-height: 1.2
}

small {
    font-size: 1rem;
    font-weight: normal;
}

h2 {
    font-size: 1.625rem;
    margin-bottom: 1.25rem;
    color: #5E767B;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: .625rem;
    color: #adc801;
}

h4 {
    margin-bottom: .312rem;
    font-size: 1.187rem;
}

.header_flex {
    width: 65%;
}

.kontakt {
    display: flex;
    align-items: flex-start;
    gap: 150px
}

.kontakt .fa-people-group,
.kontakt .fa-location-dot,
.fa-file-pen {
    color: #5E767B;
}

aside {
    display: flex;
    column-gap: 1.562rem;
    align-items: flex-start;
    width: 40%;
}

.benefits {
    display: flex;
    column-gap: 1.25rem
}

a.apply {
    background: rgb(175, 202, 11);
    font-size: 1.1rem;
    text-align: center;
    color: #fff;
    border: solid 2px rgb(175, 202, 11);
    padding: 0.7rem 2rem;
    display: block;
    width: 230px;
    margin: 2rem auto 1rem;
}

.apply:hover {
    background: #fff;
    color: rgb(175, 202, 11);
}

header :is(.fa-location-dot, .fa-clock) {
    width: 1.25rem;
    text-align: center;
}

header {
    padding: 2rem 2rem 1rem;
    background: #fff;
    margin: 0;
    position: relative;
}

.header_flex {
    width: 60%
}

header img {
    position: absolute;
    right: 2rem;
    top: 2rem;
}

.slider {
    position: relative;
}

.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;
    }
}

section,
footer {
    margin: 0 0 0.5rem;
    padding: 1rem 1.5rem;
    background: #fff;
}

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;
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    :is(p, ul) {
        hyphens: auto;
    }

    h1 br {
        display: none;
    }

    header {
        padding: 16px;
    }

    .kontakt {
        gap: 80px;
    }

    aside {
        width: auto;
    }

    h1 {
        margin: 20px 0;
    }

    header img {
        position: static;
        display: block;
        width: fit-content;
        margin: 0 auto;
    }

    .header_flex {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 16px;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 599px) {

    h1,
    h2 {
        font-size: 18px;
        text-align: center;
    }

    i {
        margin: 0 0 16px;
    }

    .kontakt aside {
        width: 100%;
        display: block;
    }

    .kontakt,
    .benefits {
        display: block;
        text-align: center;
    }

    aside:last-of-type {
        margin-top: 30px
    }

    .apply {
        margin: 0.625rem auto;
    }
}
