﻿@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff'), url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.4375rem;
    color: #373535;
    font-weight: 400;
}

#wrapper {
    margin: 3rem auto 1rem;
    padding: 6.0625rem 1.25rem 0;
    max-width: 722px;
    background-color: #fff;
    position: relative;
    border: solid 4px #ee3338;
    border-radius: 0 2.5rem 2.5rem;
}

header img {
    position: absolute;
    left: -0.25rem;
    top: -1.8125rem;
}

footer {
    margin: 1.375rem -1.25rem 0;
}

footer p :is(a, span) {
    position: relative;
    z-index: 999;
}

.footer-text {
    padding: 0 1.25rem;
}

.qrcode {
    margin-top: -7.125rem;
    display: flex;
    justify-content: flex-end;
}

.big-szie {
    font-size: 117%;
}

:is(h1, h2, h3, h4, strong) {
    font-weight: 700;
}

:is(h2 span, h1, h4) {
    color: #ee3338;
}

h1 {
    margin: 1rem 0 0.375rem 1rem;
    font-size: 1.4375rem;
    line-height: 1.75rem;
}

h2 {
    font-size: 2.125rem;
    line-height: 2.5rem;
    margin: 1rem 0;
}

h3 {
    font-size: 1.1875rem;
    line-height: 1.5rem;
    margin: 1rem 0;
}

h4 {
    font-size: 1.4375rem;
    line-height: 1.5625rem;
    margin: 0.625rem 0 0.125rem;
}

p:not(:last-child) {
    margin: 0 0 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #373535;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 1rem 3.25rem;
}

ul li {
    list-style: none;
    text-indent: -0.9375rem;
}

ul li:before {
    font-size: 1.5rem;
    margin-right: 0.9375rem;
    position: relative;
    top: 0.3125rem;
    float: left;
    content: "\00BA";
}

@media screen and (max-width: 721px) {
    #wrapper {
        border: none;
        margin: 0;
        border-radius: 0;
        padding: 1rem;
    }

    header img {
        position: static;
    }

    footer {
        margin: 1.375rem -1rem 0;
    }

    .footer-text {
        padding: 0 1rem;
    }

    :is(h1, h2, h3, h4, p, ul li) {
        hyphens: auto;
    }

    :is(p a, p span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }

    .qrcode {
        margin-top: 1rem;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        margin-left: 0;
    }

    ul {
        margin-left: 1rem;
    }
}