@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), 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-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), 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');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 15px;
    line-height: 23px;
    font-weight: 400;
}

#wrapper {
    max-width: 842px;
    margin: 1rem auto;
    border: 1px solid #000;
    background-color: #fff;
    position: relative;
}

header {
    height: 606px;
    background: url(../images/background-top.jpg) top no-repeat;
}

.logo {
    padding: 30px 46px;
    display: flex;
    justify-content: flex-end
}

header figure {
    display: none;
}

article {
    padding: 0px 46px 25px;
}

.flex {
    background: url(../images/line-color.jpg) bottom left no-repeat;
    margin-top: 4px;
    padding-bottom: 29px;
}

.social p>i {
    padding: 0 5px 2px;
}

.qr-code {
    width: 275px;
    position: absolute;
    top: 482px;
    right: 61px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.qr-code p {
    line-height: 19px;
}

.qr-code p img {
    display: inline;
}

footer {
    position: absolute;
    bottom: 26px;
    right: 1px;
}

footer p {
    text-align: right;
    padding: 24px 31px 0 0;
    font-size: 22px;
    line-height: 21px;
    font-style: italic;
    font-family: "Times New Roman", Times, serif;
}

p:not(:first-of-type) {
    margin-top: 20px;
}

.margin {
    margin-top: 20px;
}

h1 {
    line-height: 23px;
    font-size: 15px;
    font-weight: 400;
    padding-right: 0;
}

h2 {
    font-size: 26px;
    line-height: 1.1;
    display: flex;
    justify-content: flex-start;
    margin: 25px 0 0 -23px;
    color: #fff;
    font-style: italic;
}

h2:first-of-type {
    margin-top: -70px;
    padding-bottom: 10px;
}

h2 span {
    display: block;
    padding: 10px 23px;
    background: #ee1d23;
}

ul {
    list-style: none;
    width: 338px;
}

ul li {
    padding-left: 19px;
    margin-top: 10px;
}

li:before {
    content: "+";
    color: #df1427;
    float: left;
    font-size: 16px;
    text-indent: -19px;
}

img {
    max-width: 100%;
    display: block;
}

:is(h2, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

@media only screen and (max-width:842px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p, ul) span {
        white-space: nowrap;
    }

    .qr-code {
        top: 482px;
        right: 6%;
    }

    footer {
        width: 45%;
    }
}

@media only screen and (max-width:810px) {
    header {
        background: none;
        height: auto;
    }

    header figure {
        display: block;
    }

    h1 {
        padding-right: 0
    }

    h2:first-of-type {
        margin-top: 0;
    }

    :is(article, footer) {
        padding: 16px;
    }

    h2+p {
        padding-right: 0;
    }

    .qr-code {
        background: #fff;
        border-radius: 5px;
        padding: 10px;
        width: 300px;
    }

    .logo {
        padding: 16px;
    }
}

@media only screen and (max-width:730px) {
    ul {
        width: auto;
    }

    li br {
        display: none;
    }

    article {
        position: relative;
    }

    .flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .qr-code {
        position: static;
        padding: 0;
    }

    footer {
        position: static;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        width: auto;
    }

    footer img {
        width: 50%;
    }
}

@media only screen and (max-width:576px) {
    .logo {
        justify-content: center;
    }

    :is(.flex, footer) {
        flex-direction: column;
        align-items: center;
        gap: 20px
    }

    footer p {
        text-align: center;
        padding: 10px 0;
    }

    .flex {
        background: url(../images/line-color.jpg) bottom center no-repeat;
    }

    .social p {
        text-align: center;
    }

    .br {
        display: none;
    }

    footer img {
        width: auto;
    }
}