@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot');
    src: local(''), url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v25-latin-700.eot');
    src: local(''), url('../fonts/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-700.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-700.svg#RobotoCondensed') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #231f20;
}

#wrapper {
    margin: 1rem auto;
    max-width: 1000px;
    background: #fff;
    border: solid thin #cbcbcb;
}

header {
    margin: 26px 0 0;
}

.banner {
    padding: 10px 0 0 42px;
}

.background {
    background: url(../images/background.jpg) no-repeat left top;
    width: 100%;
    height: 349px;
    padding: 22px;
    background-size: 100% 100%;
}

article {
    padding: 6px 42px 20px;
}

.flex-box {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.flex-box-content:nth-of-type(1) {
    width: 48%;
}

.flex-box-content:nth-of-type(2) {
    width: 49%;
}

:is(.color, .color a) {
    color: #fff !important;
}

.margin-bottom {
    margin-bottom: 0;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

:is(h1, h2) {
    line-height: 1.2;
}

h1 {
    font-size: 33px;
}

h1+p {
    font-size: 121%;
}

h2 {
    font-size: 19px;
    margin: 10px 0;
    color: #fff;
    display: inline-block;
}

:is(.flex-box-content>h2, article>h2) {
    padding: 6px 10px 3px;
    background: #231f20;
}

.qrcode {
    display: inline-block;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 14px 15px;
}

ul li {
    list-style: none;
    text-indent: -15px;
}

ul li:before {
    font-size: 8px;
    margin-right: 15px;
    position: relative;
    top: -1px;
    float: left;
    content: "\25A0";
}

footer {
    margin: 0 43px 30px;
    padding: 16px 0 0;
    border-top: 2px solid #000;
}

@media screen and (max-width: 999px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h2, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }
}

@media screen and (max-width: 860px) {
    .flex-box {
        display: block;
    }

    .flex-box-content {
        width: 100% !important;
    }

    .background {
        width: 421px;
        margin: 20px auto;
    }

    .banner {
        padding: 10px 20px 0;
    }

    article {
        padding: 6px 20px 20px;
    }

    footer {
        margin: 0 0 20px;
        padding: 16px 20px;
    }

    footer p {
        text-align: center;
    }
}

@media screen and (max-width: 460px) {
    .background {
        width: 100%;
        margin: 20px auto;
        background-size: 300px;
        background: #000002 url(../images/mobile.jpg) no-repeat right bottom;
        height: auto;
    }
}

@media screen and (max-width: 395px) {
    .background {
        padding-bottom: 70px;
    }
}