:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@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');
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 23px;
    font-weight: 400;
}

#wrapper {
    max-width: 530px;
    margin: 16px auto;
    border: 1px solid #000;
    background: #fff url('../images/background.jpg') no-repeat left top 80px;
}

header {
    padding: 10px 16px;
    background: #9f2844;
    display: flex;
    justify-content: center;
}

article {
    padding: 32px 21px 10px;
}

footer {
    padding: 0 16px 38px;
}

p {
    margin: 0;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 24px;
    padding: 8px 10px;
    font-weight: 700;
    font-size: 27px;
    line-height: 27px;
    width: 292px;
    position: relative;
    background: #495057;
    color: #fff;
}

h2 {
    margin-top: 21px;
    font-weight: 700;
    font-size: 26px;
    line-height: 32px;
    text-align: right;
    color: #9f2844;
}

h3 {
    margin: 0;
    font-weight: 700;
    font-size: 23px;
    line-height: 30px;
    text-align: center;
}

h4 {
    margin: 0 0 20px;
    font-weight: 700;
    font-size: 38px;
    line-height: 37px;
    color: #9f2844;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

ul {
    padding: 0;
    list-style: none;
    width: 318px;
}

ul li {
    padding-left: 13px;
    position: relative;
}

li:before {
    content: "";
    width: 4px;
    height: 4px;
    background: #000;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 9px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

h1 small {
    font-size: 7px;
    line-height: 13px;
    display: block;
    transform: rotate(-90deg);
    position: absolute;
    z-index: 3;
    right: -2px;
    bottom: 15px;
}

.box {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    margin: -23px 107px 0 0;
}

h3 small {
    font-size: 122%;
}

footer :is(h3, a) {
    color: #fff !important;
}

@media all and (max-width: 529px) {
    #wrapper {
        margin: 0;
        border: none;
        background: #fff url('../images/background.jpg') no-repeat left bottom;
        background-size: cover;
    }

    :is(ul, p) {
        hyphens: auto;
    }

    article {
        padding: 16px;
    }

    .box {
        margin-top: 0;
    }
}

@media all and (max-width: 480px) {
    ul {
        width: auto;
    }

    h4 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
        line-height: 28px;
        margin: 0;
    }

    .box {
        margin-right: 0;
    }

    h3 {
        font-size: 16px;
        line-height: 1.2;
    }

    .qrcode {
        max-width: 50%;
    }
}