@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    font-size: 16px;
}

body {
    color: #032c52;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    background: #f9f9f9;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 62.5rem;
    margin: 0 auto 1rem;
    overflow: hidden;
    background: transparent;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

span {
    white-space: nowrap;
}

h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}

h2 {
    font-size: 1rem;
    margin: 0 0 1.5rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-weight: normal;
    font-size: 3.75rem;
    text-align: center;
    color: #0081cd;
    line-height: 1.2;
}

h5 {
    font-size: 1.4rem;
    margin: 0;
}

ul {
    list-style: none;
    margin: 1rem 0 0.625rem;
    padding: 0;
    color: #0b2653;
}

ul li {
    padding-left: 2rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.1rem;
    font-size: 1.2rem;
    line-height: 1.1;
}

header {
    background: #002b53;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    margin: 0 0 2rem;
}

.title {
    background: #002b53;
    padding: 0.625rem;
}

.title :is(h1, p) {
    color: #fff;
}

article {
    margin: 2rem 0;
}

.flex {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin: 2rem 0;
}

.flex section {
    padding: 0.625rem;
    width: 50%;
}

.flex section:first-of-type {
    background: #ededed;
}

.flex section:last-of-type {
    background: #82b1dd;
}

a.apply_now {
    box-shadow: none;
    -ms-transition: opacity .45s cubic-bezier(.25, 1, .33, 1), transform .45s cubic-bezier(.25, 1, .33, 1), border-color .45s cubic-bezier(.25, 1, .33, 1), color .45s cubic-bezier(.25, 1, .33, 1), background-color .45s cubic-bezier(.25, 1, .33, 1), box-shadow .45s cubic-bezier(.25, 1, .33, 1);
    -webkit-transition: opacity .45s cubic-bezier(.25, 1, .33, 1), transform .45s cubic-bezier(.25, 1, .33, 1), border-color .45s cubic-bezier(.25, 1, .33, 1), color .45s cubic-bezier(.25, 1, .33, 1), background-color .45s cubic-bezier(.25, 1, .33, 1), box-shadow .45s cubic-bezier(.25, 1, .33, 1);
    transition: opacity .45s cubic-bezier(.25, 1, .33, 1), transform .45s cubic-bezier(.25, 1, .33, 1), border-color .45s cubic-bezier(.25, 1, .33, 1), color .45s cubic-bezier(.25, 1, .33, 1), background-color .45s cubic-bezier(.25, 1, .33, 1), box-shadow .45s cubic-bezier(.25, 1, .33, 1);
    background-color: #009ee3;
    display: block;
    transform-style: preserve-3d;
    outline: 0;
    position: relative;
    border-bottom: none;
    opacity: 1;
    font-size: 1.125rem;
    padding: 1.5625rem;
    text-align: center;
    color: #fff;
    width: fit-content;
    font-weight: 700;
    margin: 0 auto;
}

a.apply_now:before {
    background-color: #0086c1;
    width: 100%;
    height: 30%;
    left: 0;
    top: 99%;
    transform-origin: 0 0;
    transform: rotateX(-90deg);
    transition: all .5s cubic-bezier(.25, 1, .33, 1);
    -webkit-font-smoothing: antialiased;
    content: '';
    position: absolute;
    z-index: -1;
}

a.apply_now:after {
    background-color: #00b3ff;
    width: 100%;
    height: 37%;
    left: 0;
    top: -35%;
    transform-origin: 0 100%;
    transform: rotateX(90deg);
    content: '';
    position: absolute;
    z-index: -1;
    transition: all .5s cubic-bezier(.25, 1, .33, 1);
    -webkit-font-smoothing: antialiased;
}

a.apply_now:hover {
    transform: rotateX(20deg);
    transition: all .5s cubic-bezier(.25, 1, .33, 1);
}

a.apply_now:hover:before,
a.apply_now:hover:after {
    opacity: 1;
}

.kontakt {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 3rem 0 0;
}

.kontakt :is(h3, p) {
    text-align: center;
}

.kontakt img:first-of-type {
    margin: 0 0 1.5rem;
}

.kontakt > img:last-of-type {
    margin: 1.5rem 0;
}

.work_life {
    background: #142552;
    padding: 2rem 2rem 1rem;
    margin: 2rem 0;
}

.work_life p {
    color: #fff;
    text-align: center;
    margin: 1.5rem 0;
}

.flex_benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.detail {
    width: 25%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.detail p {
    font-size: 0.875rem;
}

.videos {
    display: flex;
    justify-content: space-between;
}

.videos section .iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 51.1%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.videos section .iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 92%;
    height: 100%;
}

.row_1 {
    background: #032c52;
    align-items: center;
}

.row_1 section:first-of-type {
    width: 48%;
}

.row_1 section:last-of-type {
    width: 52%;
    padding: 1rem 1.3rem;
}

.row_2 {
    background: #327FC7;
    align-items: center;
}

.row_2 section:first-of-type {
    width: 48%;
    padding: 1rem 1.3rem;
}

.row_2 section:last-of-type {
    width: 50%;
}

:is(.row_1, .row_2) :is(h5, p) {
    color: #fff;
}

footer {
    background-image: linear-gradient(to bottom, #79848B 0%, #88959D 15%, #88959D 100%);
    padding: 1rem;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 1rem;
}

.fa-brands {
    font-size: 1.4rem;
}

a.social-link {
    color: #fff;
}

@media only screen and (max-width: 999px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }

    h2 {
        margin: 0 0 0.625rem;
    }

    h4 {
        font-size: 2.5rem;
    }

    .title :is(h1, p) {
        text-align: center;
        hyphens: none;
    }

    .title p,
    .row_1 p,
    .row_2 p {
        margin: 0;
    }

    a.apply_now {
        padding: 1rem;
        width: 100%;
    }

    .apply p {
        font-size: 1.25rem;
    }

    .videos {
        flex-wrap: wrap;
    }

    :is(.row_1, .row_2) :is(section:first-of-type, section:last-of-type) {
        width: 100%;
    }

    .videos section .iframe-wrapper iframe {
        width: 100%;
    }

    .row_1 section:last-of-type,
    .row_2 section:first-of-type {
        padding: 1.25rem 1rem;
    }

    .kontakt {
        margin: 1.25rem 0 0;
    }

    .work_life br {
        display: none;
    }

    footer {
        justify-content: center;
    }
}

@media only screen and (max-width: 48rem) {
    h4 {
        font-size: 1.625rem;
    }

    h5 {
        font-size: 1.1rem;
    }

    header {
        margin: 0 0 1rem;
    }

    article,
    .work_life {
        margin: 1rem 0;
    }

    .flex {
        flex-direction: column;
        margin: 1rem 0;
        gap: 1rem;
    }

    .flex section {
        width: 100%;
        padding: 1rem;
    }

    .flex_benefits {
        gap: 1rem;
        justify-content: space-evenly;
    }
}

@media only screen and (max-width: 40rem) {
    .detail {
        width: 33%;
    }
}

@media only screen and (max-width: 30rem) {
    .work_life {
        padding: 1.5rem 1rem 0;
    }

    .detail {
        width: 47%;
    }

    ul li {
        padding-left: 1.1rem
    }
}