@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v40-latin-regular.eot');
    src: url('../fonts/open-sans-v40-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-regular.woff') format('woff'), url('../fonts/open-sans-v40-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-regular.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: 'Open Sans', Arial sans-serif;
    font-size: .937rem;
    line-height: 1.4;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 72.5rem;
    margin: 1rem auto;
    overflow: hidden;
}

p {
    margin: 0 0 1.25rem;
}

p span,
h2 span {
    white-space: nowrap
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
}

.text_small {
    font-size: 0.8125rem;
}

.aside a:hover,
footer a:hover {
    opacity: 0.6;
}

a.link {
    color: #8396A1;
}

ul {
    margin: .625rem 0 0;
    list-style: none;
}

ul+p {
    margin-top: 1rem;
}

ul li {
    padding: 0 0 0 2.5rem;
}

ul li:before {
    content: "\2022";
    font-size: 1.125rem;
    position: relative;
    display: block;
    float: left;
    bottom: .125rem;
    margin: 0 0 0 -.937rem;
}

h1 {
    font-size: 1.75rem;
    margin: 1.25rem auto 0;
    padding: .937rem 1.562rem .625rem;
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.75);
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    text-align: center;
    color: #808080;
    font-weight: bold;
    display: block;
}

h2 {
    font-size: 1.3125rem;
    margin: 0 0 0.9375rem;
    line-height: 1.4;
    font-weight: 900;
}

h3 {
    font-size: 1rem;
    background-color: #C8E3DC;
    padding: 0.625rem 0.9375rem;
    font-weight: 400;
}

header img {
    margin: 1.25rem auto 0;
    display: block;
    width: fit-content;
}

.image {
    position: relative;
}

.image img {
    margin: 0 auto 3.125rem;
    display: block;
    width: fit-content;
}

.flex {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

article {
    width: 65%;
}

.aside {
    width: 33%;
}

.aside p {
    hyphens: auto
}

.section {
    border: 0.0625rem solid #e7ecf1;
    margin: 0 0 1.25rem;
    padding: 1.25rem 0.9375rem;
}

.section p:last-of-type {
    margin-bottom: 0
}

.details .margin {
    margin: .625rem 0;
}

.details .margin_bottom {
    margin-bottom: .937rem;
}

.details p {
    margin: 0 0 .312rem;
}

.kontakt p {
    margin-bottom: .187rem
}

a.email {
    font-size: 0.75rem;
    font-weight: 700;
}

a.email>span {
    width: 6.25rem;
    background-color: #C8E3DC;
    padding: 0.125rem 0.3125rem;
    border-radius: 0.5rem;
}

a.button {
    background-color: #C8E3DC;
    font-size: 1.125rem;
    text-align: center;
    font-weight: 900;
    padding: 0.625rem 1rem;
    text-decoration: none;
    display: inline-block;
    border: 0.0625rem solid #C8E3DC;
    transition: all 0.2s ease;
}

.button_right {
    width: 100%;
    margin: 0 0 0.625rem;
}

.socials {
    display: flex;
    align-items: center;
    column-gap: 1.562rem;
    margin-top: 1.25rem
}

.socials p {
    margin: 0
}

.socials i {
    font-size: 1.562rem;
    color: #000
}

.aside .socials {
    padding-left: 1.562rem
}

.kontakt {
    display: flex;
    column-gap: 1rem;
    align-items: flex-start
}

@media only screen and (max-width: 72.437rem) {
    #wrapper {
        padding: 0 1rem 1rem;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    a.wrap {
        white-space: normal
    }

    ul li {
        padding-left: .937rem
    }
}

@media only screen and (max-width: 58.125rem) {
    .kontakt {
        flex-direction: column;
    }

    .kontakt img {
        margin: 0 0 1rem
    }
}

@media only screen and (max-width: 55.625rem) {
    .flex {
        flex-direction: column;
        margin: 1rem 0 0;
    }

    article,
    .aside {
        width: 100%
    }

    footer {
        position: static;
    }
}

@media only screen and (max-width: 48rem) {
    h1 {
        left: 0;
        bottom: 0;
        width: 100%;
        margin: 0;
    }

    h1 span {
        white-space: nowrap;
    }

    .image img {
        margin: 0;
        width: 100%;
    }
}

@media only screen and (max-width: 37.5rem) {
    h1 {
        position: static;
    }

    h2 {
        font-size: 1.125rem
    }

    footer .button {
        width: 100%;
    }
}

@media only screen and (max-width: 30rem) {
    h1 {
        font-size: 1.25rem;
    }
}