﻿@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v40-latin-regular.eot');
    src: url('../fonts/open-sans-v40-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-regular.woff') format('woff'), url('../fonts/open-sans-v40-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v40-latin-700.eot');
    src: url('../fonts/open-sans-v40-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-700.woff') format('woff'), url('../fonts/open-sans-v40-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.25rem;
    font-size: 1rem;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #FFF;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 600px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background: #fff url(../images/background.jpg) no-repeat;
    background-size: cover;
}

.logo {
    display: flex;
    padding: 27px 27px 7px;
    justify-content: flex-end;
}

article {
    padding: 0 20px;
}

footer {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

:is(strong, h1, h2, h3, h4, h5) {
    font-weight: 700;
}

h1 {
    margin: 1rem 0;
    font-size: 24px;
    line-height: 26px;
    padding: 0 0 0 16px;
}

h1:before {
    content: "\2010";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 1.5625rem;
    text-indent: -1rem;
}

h2 {
    font-size: 30px;
    margin: 1rem 0;
    line-height: 1.2;
}

h2 span {
    color: #ee332d;
}

h3 {
    font-size: 25px;
    margin: 22px 1rem;
    line-height: 1.4;
    text-align: center;
}

h4 {
    font-size: 39px;
    margin: 1rem;
    line-height: 50px;
    text-align: center;
}

h4 span {
    color: #ee332d;
}

h5 {
    font-size: 30px;
    margin: 1rem 0;
    color: #ee332d;
    line-height: 1.2;
}

h5 span {
    white-space: nowrap;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    white-space: nowrap;
    text-decoration: none;
}

.text {
    width: calc(100% - 153px);
}

footer p {
    font-size: 19px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}

img {
    max-width: 100%;
}

@media all and (max-width:599px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(footer br) {
        display: none;
    }
}

@media all and (max-width:480px) {
    .text {
        width: 100%;
        margin: 0 0 1rem;
    }

    .qrcode {
        display: flex;
        justify-content: center;
        margin: 1rem auto;
    }
}