@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot');
    src: 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-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v25-latin-700.eot');
    src: 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');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Anton';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/anton-v25-latin-regular.eot');
    src: url('../fonts/anton-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/anton-v25-latin-regular.woff2') format('woff2'), url('../fonts/anton-v25-latin-regular.woff') format('woff'), url('../fonts/anton-v25-latin-regular.ttf') format('truetype'), url('../fonts/anton-v25-latin-regular.svg#Anton') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    color: #727377;
}

#wrapper {
    border: 1px solid #b42f3d;
    max-width: 900px;
    margin: 1rem auto;
    background: #FFF;
    overflow: hidden;
    position: relative;
}

header {
    position: relative;
    padding: 148px 90px 0;
}

header p {
    line-height: 1.5;
}

header span {
    color: #b42f3d;
}

.logo {
    z-index: 9;
    position: absolute;
    top: 32px;
    right: 48px;
}

article {
    position: relative;
    padding: 1rem 90px 17px;
    background: url(../images/background.jpg) no-repeat bottom right;
}

section {
    position: relative;
}

.contact {
    position: absolute;
    top: 640px;
    right: -7px;
    transform: rotate(-7deg);
    background: #B11022;
    padding: 7px 52px 7px 12px;
}

.contact p {
    margin: 0;
    font-weight: 700;
    color: #fff;
}

.benefits {
    position: relative;
    padding: 10px;
    margin: 0 0 0 -1px;
    width: 600px;
}

.benefits ul {
    margin: 0;
}

.qrcode {
    background: #dddedf;
    padding: 12px;
    width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.qrcode p {
    font-size: 11px;
    text-align: center;
    margin: 5px 0 0;
    font-weight: bold;
    color: #b42f3d;
    line-height: 16px;
}

footer {
    padding: 1rem 1rem 1rem 103px;
    background-color: #b42f3d;
}

footer p {
    line-height: 1.4375rem;
    font-size: 18px;
    color: #fff;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    margin: 0;
    font-weight: 400;
}

h1 {
    color: #373535;
    font-size: 39px;
    margin: 30px 0 40px;
    line-height: 1.25;
    font-family: 'Anton', Arial, sans-serif;
    font-weight: 400;
}

h1 strong {
    position: relative;
    font-weight: 400;
}

h1 span {
    font-size: 24px;
    color: #929291;
    font-weight: 400;
    line-height: 1;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

h1 small {
    font-size: 100%;
    color: #727377;
}

h2 {
    font-size: 17px;
    margin: 0 0 4px 28px;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 400;
    color: #B11022;
    display: flex;
    align-items: center;
    gap: 8px;
}

h2.margin {
    margin-left: 18px;
}

h3 {
    font-size: 42px;
    line-height: 29px;
    position: absolute;
    bottom: 257px;
    left: -176px;
    transform: rotate(-90deg);
    text-transform: uppercase;
}

p {
    margin-bottom: 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

ul {
    margin: 0 0 23px 10px;
    list-style: none;
}

ul li {
    padding-left: 1rem;
    margin-bottom: 1px;
}

li:before {
    text-indent: -1rem;
    content: "\25A0";
    color: #B11022;
    float: left;
    font-size: 20px;
    margin-top: -5px;
}

.flex {
    display: flex;
    align-items: center;
    gap: 35px;
    margin: 72px 0 15px;
}

@media screen and (max-width: 900px) {
    #wrapper {
        height: auto;
        border: none;
        margin: 0;
    }

    article {
        background: url(../images/background-mobile.jpg) no-repeat bottom right;
    }

    .benefits {
        border-top: 2px solid #727377;
        border-left: 2px solid #727377;
        width: 522px;
    }

    .benefits:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        background: #706F6F;
        height: 2px;
        width: 69%;
    }

    .benefits:after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        background: #706F6F;
        height: 60%;
        width: 2px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }

    ul {
        margin-left: 0;
    }

    span:not(header span) {
        white-space: nowrap;
    }

    h1 {
        font-size: 37px;
    }

    h1 span {
        position: static;
    }

    h2 {
        margin: 0 0 5px !important;
    }
}

@media screen and (max-width: 880px) {
    .contact {
        position: static;
        transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        margin: 20px -16px 16px;
        padding: 10px 16px;
    }

    .contact p {
        text-align: center;
    }
}

@media screen and (max-width: 840px) {
    header {
        padding: 1rem 1rem 0;
    }

    .logo {
        margin: 0 auto 20px;
        position: static;
        display: flex;
        justify-content: center;
    }

    article {
        padding: 16px 16px 30%;
        background-size: 100%;
    }



    .benefits {
        width: auto;
        border: none;
        margin: 0;
        padding:  0 0 16px;
    }

    .benefits:before, .benefits:after, br {
        display: none;
    }

    .qrcode {
        display: flex;
        justify-content: center;
        position: relative;
    }

    footer {
        padding: 16px;
    }

    footer p {
        text-align: center;
    }

    .flex {
        margin: 1rem 0;
        justify-content: center;
    }

    .contact br {
        display: inline !important;
    }

    h1 {
        font-size: 34px;
        margin: 0 0 1.5rem;
        text-align: center;
    }

    h3 {
        font-size: 25px;
        display: block;
        line-height: 28px;
        margin: 16px 0 100px;
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        text-align: center;
    }

    :is(ul, p) {
        margin-bottom: 16px;
    }
}