@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: .938rem;
    line-height: 1.5;
    background-color: #E8E8E8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

span {
    white-space: nowrap;
}

a.blau {
    color: #0645AD;
    text-decoration: none;
}

a.blau:hover {
    text-decoration: underline;
}

p {
    margin: 0 0 .625rem;
}

h1 {
    margin: 0 0 1.875rem;
    color: #CC6600;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.5;
}

h2 {
    margin: 1.875rem 0 1.25rem;
    color: #CC6600;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    margin: 1.25rem 0 .937rem;
    color: #CC6600;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
}

h4 {
    margin: 0 0 .625rem;
    color: #CC6600;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

ul {
    padding-left: 2.5rem;
    margin: 0 0 1.25rem;
}

li {
    margin-bottom: .5rem;
}

header {
    display: flex;
    justify-content: flex-end;
    padding: 0 1rem 1.75rem;
    background-color: #008BC5;
}

article {
    padding: 2.5rem 1.875rem 1rem;
}

.main {
    display: flex;
    justify-content: space-between;
}

section {
    width: 65%;
}

section p {
    text-align: justify;
}

aside {
    width: 32%;
}

aside h3 {
    margin: 0 0 .937rem;
    color: #F18C00;
    font-size: .9375rem;
    line-height: 1.5;
}

a.apply {
    display: inline-block;
    padding: .75rem 2.25rem;
    color: #fff;
    font-size: 1.0625rem;
    text-align: center;
    background-color: #0089C1;
    border: 1px solid #0089C1;
    border-radius: .25rem;
    cursor: pointer;
    user-select: none;
}

a.apply:hover {
    color: #0089C1;
    background-color: #fff;
}

footer {
    padding: 0 1.875rem 1.875rem;
}

.button {
    margin-bottom: 1.875rem;
    text-align: center;
}

.kontakt {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.kontakt h2 {
    margin-top: 1.25rem;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    color: #18233F;
    font-size: 1.5rem;
    font-weight: 700;
    background-color: #E5E7EB;
    border-radius: .625rem;
}

.socials a:hover {
    color: #0089C1;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    margin-bottom: 1.25rem;
    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%;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 44rem) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h4 {
        font-size: 1rem;
    }

    .main {
        display: block;
    }

    section,
    aside {
        width: 100%;
    }

    section p {
        text-align: left;
    }

    aside {
        margin-top: 1.25rem;
    }

    ul {
        padding-left: 1.25rem;
    }

    article {
        padding: 1.5rem 1rem 1rem;
    }

    footer {
        padding: 0 1rem 1.5rem;
    }

    .kontakt {
        display: block;
    }

    .photo {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
}

@media only screen and (max-width: 33rem) {
    header {
        justify-content: center;
    }

    h1 {
        text-align: center;
    }
}