@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/roboto-v30-latin-regular.eot");
    src: url("../fonts/roboto-v30-latin-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-regular.woff2") format("woff2"), url("../fonts/roboto-v30-latin-regular.woff") format("woff"), url("../fonts/roboto-v30-latin-regular.ttf") format("truetype"), url("../fonts/roboto-v30-latin-regular.svg#Roboto") format("svg");
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

#wrapper {
    position: relative;
    border: none;
    padding: 0;
    background-color: #fff;
    overflow: hidden;
}

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

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

a.email {
    color: #f00;
}

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

p {
    margin: 0 0 .937rem;
}

.nowrap {
    white-space: nowrap;
}

.margin,
.margin p {
    margin-bottom: 0.875rem;
}

.margin {
    margin: 0 0 3.125rem;
}

h1 {
    font-size: 1.5rem;
    line-height: 1.1;
    margin: 1.25rem 0 1.875rem;
}

h2 {
    margin: 0 0 0.625rem;
    font-size: 1em;
    line-height: 1.4;
}

ul {
    list-style: none;
    margin: 0 0 2.187rem;
    padding: 0;
}

ul li {
    margin: 0;
    padding: 0 0 11px 15px;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -0.937rem;
    font-size: 1.375rem;
    line-height: 1.1;
}

.bottom {
    margin: 0;
}

.italic {
    font-style: italic;
    color: #999;
    font-size: 1rem;
    display: block;
    margin: 1rem 0;
}

header,
article,
footer {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
}

.image {
    position: relative;
}

.image p {
    color: #fff;
    background-color: #ff0000;
    font-size: 1.6vw;
    font-weight: bold;
    display: inline-block;
    padding: 0.125rem 0.625rem;
    position: absolute;
    top: 2.5vw;
    left: calc((100% - 56.25rem) / 2);
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 2.5rem 0 0;
    column-gap: 1.875rem;
}

.left {
    width: calc(100% - 15.75rem);
}

.right {
    width: 15.562rem;
}

.container {
    background-color: #f2f2f2;
    padding: 10px;
    margin: 0 0 2.812rem;
}

.container img {
    display: block;
}

.kontakt {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: .812rem;
}

.kontakt p {
    margin: 0
}

small {
    font-size: 14px
}

.margin_bottom {
    margin: 0;
}

.aside {
    border-top: 2.812rem solid #fff;
}

a.button {
    display: block;
    text-decoration: none;
    color: #fff;
    background: #ff0000;
    border-radius: 0.625rem;
    border: 0.125rem solid #f00;
    padding: 0.8rem 4rem 0.8rem 1.5rem;
    position: relative;
    margin: 0.625rem 0 1.25rem;
    font-weight: bold;
    font-size: 1rem;
    width: fit-content;
}

a.button::after {
    content: "";
    background: url("../images/next_white.png") no-repeat;
    width: 1.5625rem;
    height: 1.5625rem;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: all 0.2s ease-in-out;
}

a.button:hover {
    text-decoration: none;
    color: #fff;
}

a.button:hover::after {
    content: "";
    background: url("../images/next.png") no-repeat #fff;
    width: 1.5625rem;
    height: 1.5625rem;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    border-radius: 3.125rem;
}

.social_media {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 16.875rem;
    margin: 3.5rem 0 2.25rem;
}

.social_media a {
    border-bottom: 0.0625rem solid transparent;
    transition: all 0.2s ease-in-out;
}

.social_media > a:hover {
    text-decoration: none;
    border-bottom: 0.0625rem solid #f00;
    opacity: 0.9;
}

hr {
    border: none;
    border-top: 0.0625rem solid #ccc;
}

footer p a:link {
    color: #000;
    text-decoration: none;
}

footer p a:hover {
    text-decoration: underline;
}

footer p {
    font-weight: bold;
    margin: 1.25rem 0;
}

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

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }

    span {
        white-space: nowrap;
    }

    ul {
        margin: 0 0 1.25rem;
    }

    ul li {
        margin: 0;
    }

    article p br {
        display: none;
    }

    h1 {
        margin: 0 0 1.25rem;
    }

    h2 {
        margin: 0 0 0.3125rem;
    }

    .flex {
        margin: 1rem 0 0;
    }

    .image {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .image p {
        position: static;
        font-size: 1.25rem;
        margin-top: 1rem;
    }

    footer p {
        text-align: center;
    }
}

@media only screen and (max-width: 750px) {
    h1 + p {
        margin-bottom: 1.875rem;
    }

    .margin {
        margin: 0 0 1.5rem;
    }

    .flex {
        flex-direction: column;
    }

    .left {
        width: 100%;
    }

    .right {
        width: 100%;
        display: flex;
        flex-direction: column;
        column-gap: 1rem;
    }

    .container {
        margin-bottom: 1.25rem;
    }

    .container:last-of-type img {
        margin: 0 auto;
    }

    .container p br {
        display: block
    }

    .button_container {
        display: flex;
        justify-content: center;
        margin: 1.25rem 0;
    }

     .aside {
        border-top: 0;
    }

    .aside p br {
        display: block;
    }

    .social_media {
        margin: 1.25rem auto;
    }
}

@media only screen and (max-width: 600px) {
    .right {
        width: 100%;
        display: flex;
        flex-direction: column;
        column-gap: 1rem;
    }

    .container {
        flex-direction: column;
        column-gap: 0;
    }
}

@media only screen and (max-width: 480px) {
    h1 {
        text-align: center;
    }

    header {
        justify-content: center;
        display: flex;
    }

    .image p {
        margin: 1.25rem 0 0;
        display: block;
        width: 100%;
        text-align: center;
    }
}

@media only screen and (max-width: 375px) {
    h1 {
        font-size: 1.25rem;
    }

    .margin {
        margin: 0 0 1.25rem;
    }
}
