@font-face {
    font-display: swap;
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lexend-v26-latin-regular.eot');
    src: url('../fonts/lexend-v26-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/lexend-v26-latin-regular.woff2') format('woff2'), url('../fonts/lexend-v26-latin-regular.woff') format('woff'), url('../fonts/lexend-v26-latin-regular.ttf') format('truetype'), url('../fonts/lexend-v26-latin-regular.svg#Lexend') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lexend-v26-latin-700.eot');
    src: url('../fonts/lexend-v26-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/lexend-v26-latin-700.woff2') format('woff2'), url('../fonts/lexend-v26-latin-700.woff') format('woff'), url('../fonts/lexend-v26-latin-700.ttf') format('truetype'), url('../fonts/lexend-v26-latin-700.svg#Lexend') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #161616;
    font-family: 'Lexend', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 920px;
    margin: 16px auto;
    border: 1px solid #000;
    position: relative;
    background-color: #fff;
}

article {
    position: absolute;
    top: 40px;
    right: 20px;
    z-index: 9;
}

footer {
    position: absolute;
    bottom: 160px;
    right: 111px;
    z-index: 9;
}

.qrcode {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 0;
}

p {
    font-size: 14px;
    line-height: 20px;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

h1 {
    margin: 0 0 10px 30px;
    font-size: 19px;
    line-height: 27px;
}

h2 {
    margin: 0 0 26px 40px;
    font-size: 36px;
    line-height: 1.2;
    color: #f7ee17;
    text-align: center;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #161616;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    padding: 0 0 26px;
    list-style: none;
}

ul li {
    padding-left: 30px;
    position: relative;
}

li:before {
    content: url('../images/icon.jpg');
    position: absolute;
    text-indent: -30px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 918px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    article {
        right: 2%;
    }

    footer {
        right: auto;
        left: 51%;
        bottom: 29%;
        padding-right: 40px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    span {
        white-space: nowrap;
    }
}

@media all and (max-width: 874px) {
    article {
        right: auto;
        left: 54%;
        padding-right: 16px;
        top: 5%;
    }
}

@media all and (max-width: 846px) {
    .qrcode img {
        max-width: 62px;
    }

    h2 {
        font-size: 34px;
        margin-bottom: 16px;
    }

    .mobile {
        display: none;
    }
}

@media all and (max-width: 767px) {
    #wrapper {
        background: #b0c4e3;
    }

    article {
        position: static;
        padding: 16px;
    }

    article br {
        display: none;
    }

    footer {
        padding: 0 16px 16px;
        position: static;
    }

    :is(h1, ul, footer > p) {
        text-align: center;
    }

    .qrcode {
        justify-content: center;
        padding: 14px 0 0;
    }

    footer p {
        font-size: 15px;
        line-height: 21px;
    }

    ul {
        padding: 0;
    }

    ul li {
        padding-left: 16px;
    }

    h2 {
        margin: 0 0 16px;
    }

    h1 {
        margin: 0 0 10px;
    }
}

@media all and (max-width: 374px) {
    .qrcode {
        flex-direction: column;
    }

    .qrcode p {
        text-align: center;
    }
}