@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');
}

@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/fira-sans-v17-latin-700.eot');
    src: url('../fonts/fira-sans-v17-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/fira-sans-v17-latin-700.woff2') format('woff2'), url('../fonts/fira-sans-v17-latin-700.woff') format('woff'), url('../fonts/fira-sans-v17-latin-700.ttf') format('truetype'), url('../fonts/fira-sans-v17-latin-700.svg#FiraSans') 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: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 540px;
    margin: 1rem auto;
    border: 2px solid #489cd6;
    overflow: hidden;
    background-color: #fff;
}

header {
    display: flex;
    justify-content: center;
    margin: 1rem;
}

.text {
    padding: 0 1rem;
}

footer {
    padding: 10px 1rem;
    background: #489cd6;
}

footer p {
    font-weight: bold;
    text-align: center;
    margin: 0;
    font-family: 'Fira Sans', Arial, sans-serif;
    color: #fff;
}

footer a {
    color: #FFF !important;
    font-size: 130%;
}

:is(strong, h1) {
    font-weight: 700;
}

h1 {
    margin: 10px 0;
    font-size: 28px;
    line-height: 33px;
    text-align: center;
    color: #489cd6;
}

h1 span {
    display: block;
    font-size: 24px;
    line-height: 1.2;
}

h2{
    font-size: 29px;
    line-height: 29px;
    font-weight: 700;
}

h2 small{
    display: block;
    font-size: 80%;
    margin: 5px 0;
}

p {
    margin: 0 0 10px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.center{
    text-align: center;
}

.size{
    font-size: 145%;
}

.size-bottom{
    font-size: 115%;
}

.background {
    background: #e1e1e1;
    padding: 10px 1em;
}

.background p {
    margin: 0;
}

p span {
    white-space: nowrap;
}

.kontakt {
    font-size: 18px;
    line-height: 1.2;
}

@media all and (max-width:539px) {
    #wrapper {
        margin: 0 auto;
        border: none;
        hyphens: auto;
    }

    footer a {
        font-size: 110%;
    }


    .hiden {
        display: none;
    }

    p {
        text-align: center;
    }
}