﻿@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v32-latin-regular.eot');
    src: url('../fonts/roboto-v32-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-v32-latin-regular.woff2') format('woff2'),
        url('../fonts/roboto-v32-latin-regular.woff') format('woff'),
        url('../fonts/roboto-v32-latin-regular.ttf') format('truetype'),
        url('../fonts/roboto-v32-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v32-latin-700.eot');
    src: url('../fonts/roboto-v32-latin-700.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-v32-latin-700.woff2') format('woff2'),
        url('../fonts/roboto-v32-latin-700.woff') format('woff'),
        url('../fonts/roboto-v32-latin-700.ttf') format('truetype'),
        url('../fonts/roboto-v32-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 18px;
    font-size: 14px;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

article {
    padding: 0 1rem;
    background: #ccd4da;
}

footer {
    padding: 4px 1rem;
    display: flex;
    background: #ccd4da;
    gap: 1rem;
    justify-content: space-between;
}

footer p {
    margin: 0;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 0 -1rem 2px;
    font-size: 44px;
    line-height: 1.1;
    background: #2b4b63;
    padding: 10px 1rem;
    color: #FFF;
}

h1 small {
    font-size: 16px
}

h2 {
    font-size: 25px;
    margin: 0;
    line-height: 1;
}

h2 span {
    font-weight: normal;
}

h3 {
    font-size: 1rem;
    margin: 8px 0 2px;
    color: #006b3e;
    line-height: 1.125rem;
}

p {
    margin: 0 0 8px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    margin: 0;
    list-style: none;
}

ul li {
    padding-left: 1.75rem;
}

ul li:before {
    content: "\2022";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 15px;
    text-indent: -1.75rem;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flex div {
    width: 48%;
}

.flex-header {
    display: flex;
    background: #01704D;
    padding: 4px 1rem;
    justify-content: space-between;
    flex-direction: row-reverse;
    color: #FFF;
    align-items: center;
    gap: 1rem;
}

.box {
    background: #2b4b63;
    margin: 0 -1rem;
    padding: 10px 1rem;
    color: #FFF;
}

:is(.box, .kontakt) p {
    margin: 0
}

.kontakt {
    background: #2b4b63;
    margin: 5px -1rem 0;
    padding: 10px 1rem;
    color: #FFF;
    display: flex;
    justify-content: space-between;
    font-size: 21px;
    line-height: 25px;
    align-items: center;
    border-top: 3px solid #FFF;
    gap: 1rem;
    flex-wrap: wrap;
}

.kontakt a {
    color: #FFF;
}

p span {
    white-space: nowrap;
}

@media all and (max-width:799px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(footer br, .kontakt br) {
        display: none;
    }

    .kontakt a {
        white-space: normal;
    }
}

@media all and (max-width:660px) {
    .flex div {
        width: 100%;
    }
}