@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;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	overflow: hidden;
    background-color: #fff;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.center {
    text-align: center;
}

.center2 {
    width: 100%;
    margin-right: 5rem;
}

h1 {
    font-size: 1.6rem;
    color: #041e42;
    margin: 2rem 0;
}

h2 {
    font-size: 1.3rem;
    color: #041e42;
    margin: 2rem 0 0.5rem;
    text-transform: uppercase;
}

h3 {
    font-size: 1.25rem;
    color: #041e42;
    margin-bottom: 1rem;
}

h4 {
    color: #e35205;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 1rem 1rem;
}

header {
    background-color: #041e42;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

article {
    padding: 2rem 2rem 0;

}

.benefits {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1rem;
}

.benefits .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    width: 12rem;
}

.benefits .item span {
    font-weight: 400;
}

iframe {
    display: block;
    width: 100%;
    height: 28.125rem;
}


.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 52.4%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}


.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

article section {
    margin: 1rem -2rem 0;
    padding: 2rem 2rem;

    border-top: 10px solid #EBF0F0;
}

article i {
    font-size: 2.5rem;
}

.bewerben {
    display: flex;
    gap: 1.5rem;
}

.button {
    display: flex;
    justify-content: center;
    margin: .5rem 0 0;
}

a.apply {
    background-color: #e35205;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    padding: .5rem 1.5rem;
}

.flex {
    display: flex;
    gap: 1rem;
}

.flex .section {
    display: flex;
    gap: 1.5rem;
    width: 50%;
}

footer section {
    padding: 2rem;
    text-align: center;
}


@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 48rem) {
    .flex {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

    .flex .section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        width: 100%;
    }

    .flex :is(is,h3,p) {
        text-align: center;
    }

    .bewerben {
        flex-direction: column;
        align-items: center;
    }

    .center2 {
        margin: 0;
    }
}


@media only screen and (max-width: 40rem) {
    header {
        padding: 1rem;
        flex-direction: column;
    }
    
    article {
        padding: 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

}

