﻿@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-v24-latin-regular.eot');
    src: url('../fonts/lato-v24-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-regular.woff2') format('woff2'), url('../fonts/lato-v24-latin-regular.woff') format('woff'), url('../fonts/lato-v24-latin-regular.ttf') format('truetype'), url('../fonts/lato-v24-latin-regular.svg#Lato') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/lato-v24-latin-italic.eot');
    src: url('../fonts/lato-v24-latin-italic.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-italic.woff2') format('woff2'), url('../fonts/lato-v24-latin-italic.woff') format('woff'), url('../fonts/lato-v24-latin-italic.ttf') format('truetype'), url('../fonts/lato-v24-latin-italic.svg#Lato') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v24-latin-700.eot');
    src: url('../fonts/lato-v24-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-700.woff2') format('woff2'), url('../fonts/lato-v24-latin-700.woff') format('woff'), url('../fonts/lato-v24-latin-700.ttf') format('truetype'), url('../fonts/lato-v24-latin-700.svg#Lato') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.25rem;
    color: #242021;
    font-weight: 400;
}

#wrapper {
    max-width: 800px;
    margin: 1rem auto;
    padding: 0.625rem 1rem;
    border: solid 0.125rem #D1232A;
    overflow: hidden;
    position: relative;
}

header {
    border-bottom: #D1232A 5px solid;
}

footer {
    margin: -2.5rem 0 0;
}

footer .kontakt {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 1.25rem;
}

footer .kontakt p {
    font-size: 13px;
    line-height: 0.875rem;
    position: absolute;
    top: 2.75rem;
}

footer p em {
    font-size: 11px;
}

footer .kontakt p:nth-of-type(1) {
    left: 16%;
    text-align: left;
}

footer .kontakt p:nth-of-type(2) {
    right: 17%;
    text-align: center;
}

footer .font {
    display: block;
    font-size: 23px;
    line-height: 1.8125rem;
    letter-spacing: 0.0625rem;
}

figure {
    display: flex;
    justify-content: center;
    margin: 10px;
}

:is(h1, h2, h3, strong) {
    font-weight: 700;
    text-align: center;
}

h1 {
    font-size: 1.625rem;
    margin: 1rem 0;
    line-height: 1.75rem;
    text-align: center;
}

h2 {
    font-size: 28px;
    margin: 0 0 0.5625rem;
    line-height: 1.3;
    color: #D1232A;
    text-align: center;
}

h3 {
    font-size: 17px;
    margin: 0.375rem 0 0;
    line-height: 1.375rem;
}

img {
    max-width: 100%;
}

p {
    text-align: center;
    margin: 0 0 0.5rem;
}

p span {
    white-space: nowrap;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #242021;
    text-decoration: none;
    white-space: nowrap;
}

footer p {
    font-size: 14px;
}

@media screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    p {
        hyphens: auto;
    }
}

@media screen and (max-width:767px) {
    footer .kontakt p {
        position: static;
        text-align: center !important;
        margin-top: 0.375rem;
    } }