﻿@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: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 480px;
    margin: 1rem auto;
    border: none;
    overflow: hidden;
    height: 608px;
    background: #FFF url(../images/background.jpg) no-repeat;
}

article {
    padding: 0 22px;
    position: relative;
}

:is(strong, h1, h2, h3, h4, h5, h6) {
    font-weight: 700;
}

h1 {
    margin: 1rem 0 5px;
    font-size: 37px;
    line-height: 36px;
    padding: 0 0 0 27px;
    color: #f13d37;
    position: relative;
}

h1:before {
    content: "";
    position: absolute;
    top: 15px;
    left: 3px;
    background: #f33e35;
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

h1 small {
    display: block;
    font-size: 20px;
}

h2 {
    font-size: 51px;
    margin: 1rem 0;
    line-height: 37px;
    color: #f13d37;
    text-align: center;
    text-shadow: 3px 3px 1px rgba(255, 255, 255, 1);
}

h2 small {
    display: block;
    font-size: 26px;
    line-height: 37px;
}

h3 {
    font-size: 31px;
    color: #f02f29;
    margin: 3px 0 0 6px;
    line-height: 1.2;
    background: #FFF;
    padding: 3px;
    display: inline-block;
}

h4 {
    font-size: 18px;
    margin: 6px 0 0 0;
    color: #f13d37;
    line-height: 1.5;
}

h5 {
    font-size: 24px;
    margin: -8px 0 0 13px;
    line-height: 1.2;
    text-align: center;
}

h5 a {
    color: #FFF !important;
}

h6 {
    font-size: 34px;
    margin: -2px 0 0 14px;
    line-height: 28px;
    position: relative;
    padding: 0 0 0 20px;
}

h6 a {
    color: #f06a36 !important;
}

h6 a small {
    color: #0c2d67 !important;
}

h6 img {
    position: absolute;
    top: 3px;
    left: -7px;
}

h6 small {
    font-size: 24px;
    display: block;
    margin: 0 0 5px 8px;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    margin: -1px 0 0 10px;
    list-style: none;
    font-size: 12px;
    line-height: 20px;
    color: #0c2d67;
}

ul li {
    padding-left: 10px;
    background: url(../images/icon.jpg) no-repeat 0 2px;
    margin: 0 0 6px;
}

img {
    max-width: 100%;
}

.text {
    width: 304px;
    font-size: 17px;
    line-height: 26px;
    margin: 0 0 21px;
}

.images {
    opacity: 0;
}

.right {
    position: absolute;
    top: -8px;
    right: 14px;
    width: 141px;
}

.kontakt {
    text-align: right;
    font-size: 19px;
    padding: 3px 10px;
    color: #FFF;
}

.kontakt a {
    color: #FFF !important;
}

.font {
    font-weight: bold;
    font-size: 27px;
    line-height: 1;
}

.flex {
    position: relative;
}

.slogan {
    position: absolute;
    top: 0;
    left: 0;
}

@media all and (max-width:479px) {
    #wrapper {
        margin: 0 auto;
        border: none;
        height: auto;
        background: #fef200;
        padding: 1px 1rem;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h2 {
        line-height: 1
    }

    h3 {
        text-align: center;
        display: flex;
        justify-content: center;
    }

    article {
        padding: 0
    }

    .right {
        position: static;
        background: #FFF;
        margin: 12px auto 1rem;
        padding: 0 0 9px 0;
    }

    .images {
        opacity: 1
    }

    .kontakt {
        background: #f56c38;
        border: 1px solid #FFF;
        padding: 14px 1rem 1px;
        border-radius: 10px;
    }

    .text {
        width: auto;
    }

    ul li {
        border-bottom: 1px dotted #0c2d67;
    }

    .flex {
        display: flex;
        gap: 1rem;
        flex-direction: row-reverse;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }
	
	h1 small {
        font-size: 19px;
    }

    .kontakt p {
        text-align: center;
    }

    footer {
        background: #F56C38;
        padding: 10px;
        text-align: center;
        margin: 1rem -1rem 0;
    }

    .slogan {
        position: static;
    }
}