﻿@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');
}
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #35224d;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 21px;
    font-weight: 400;
}

#wrapper {
    max-width: 1000px;
    margin: 1rem auto;
    border: 1px solid #35224d;
    background: #fff;
}

header {
    position: relative;
}

article {
    padding: 1.5rem 3.4375rem;
}

footer {
    padding: 2.1875rem 3.4375rem 5px;
    background: #6b6d77;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer :is(p, h3) {
    color: #FFF;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

section {
    width: 47%;
}

article section p {
    font-size: 14px;
    line-height: 20px;
}

:is(p, ul) {
    font-size: 14px;
}

p.small {
    font-size: 13px;
}

p:not(article > p:nth-of-type(1)) {
    margin: 0 0 16px;
    text-align: justify;
    hyphens: auto;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 0.5rem 0 0.625rem;
    font-size: 33px;
    line-height: 1.25;
}

h1 small {
    font-weight: 400;
    font-size: 14px;
}

h2 {
    margin: 0 0 0.5rem;
    font-size: 18px;
    line-height: 2rem;
}

h3 {
    margin: 0 0 1.5625rem;
    font-size: 13px;
}

.link {
    margin: 50px 0 0 !important;
    font-size: 1.1875rem;
    line-height: 1.5rem;
    text-align: right !important;
}

.margin-bottom {
    margin-bottom: 35px !important;
}

.color {
    color: #35224d !important;
}

.none {
    display: none;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 1rem;
    list-style: none;
}

ul li {
    padding-left: 0.5rem;
    text-align: justify;
    hyphens: auto;
}

li:before {
    content: '\2022';
    float: left;
    font-size: 0.9375rem;
    text-indent: -0.5rem;
}

ul li.hidden:before {
    display: none;
}

img {
    max-width: 100%;
}

section div p {
    margin: 0 0 16px !important;
}

.kontakt {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 83px;
}

p span {
    white-space: nowrap;
}

@media (max-width: 998px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    article {
        padding: 1rem;
    }

    footer {
        padding: 1rem 1rem 0.0625rem;
    }

    :is(h1, p, ul li) {
        hyphens: auto;
        text-align: left;
    }

    .inline {
        white-space: nowrap;
    }

    h1 {
        font-size: 25px;
    }

    ul {
        margin: 0 0 1.875rem;
    }

    p {
        text-align: left !important;
    }

    :is(li br, section div p br) {
        display: none;
    }
}

@media all and (max-width: 767px) {
    section {
        width: 100% !important;
    }

    footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    footer :is(h3, .link) {
        text-align: center !important;
    }

    .link {
        margin: 1.5rem 0 0 !important;
    }

    .kontakt {
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .flexbox {
        display: block;
        padding: 0;
    }

    .bottom {
        margin-bottom: 0 !important;
    }

    .none {
        display: inline;
    }

    :is(h3 br, ul li.hidden) {
        display: none;
    }
}

@media all and (max-width: 999px) {
    .kontakt {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .kontakt p {
        text-align: center !important;
    }
}