@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff'), url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    line-height: 26px;
    color: #231f20;
    font-weight: 400;
}

#wrapper {
    margin: 1rem auto;
    max-width: 648px;
    background: #fff url(../images/background.jpg) no-repeat;
    height: 648px;
    position: relative;
    border: none;

}

header {
    display: flex;
    justify-content: center;
    opacity: 0;
}

article {
    padding: 0 1.25rem;
}

.font-size {
    font-size: 11px;
    line-height: 14px;
}

footer {
    margin: 0.625rem 0 0;
    padding: 1.25rem 1.5rem 1.875rem 2.5rem;
    gap: 40px;
    align-items: center;
}

:is(footer, .socical) {
    display: flex;
}

.socical {
    gap: 10px;
    align-items: center;
    justify-content: center;
}

footer .qrcode {
    position: absolute;
    right: 3.125rem;
    bottom: 1.625rem;
}

:is(h1, strong) {
    font-weight: 700;
}

h1 {
    margin: 2.8125rem 0 0;
    font-size: 28px;
    line-height: 1.4;
    color: #023770;
}

h1 span {
    font-weight: 400;
    font-size: 24px;
    display: block;
    margin: 0.5rem 0;
}

h1 small {
    font-weight: 400;
    font-size: 29px;
    display: block;
    margin: 1rem 0 9px;
}

:is(h1, p) {
    text-align: center;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
}

:is(p a, ins) {
    white-space: nowrap;
}

ins {
    text-decoration: none;
}

img {
    max-width: 100%;
}

@media screen and (max-width: 647px) {
    #wrapper {
        border: none;
        margin: 0;
        height: auto;
        background: #FFF;
    }

    header {
        opacity: 1
    }

    header img {
        width: 100%;
    }

    :is(h1, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(br.mobile-block) {
        display: none;
    }

    footer {
        gap: 40px;
    }

    footer .qrcode {
        right: 16px;
    }
}

@media screen and (max-width: 605px) {
    h1 {
        font-size: 30px;
    }

    footer {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .footer-content:nth-of-type(1) {
        width: 100%;
    }

    footer .qrcode {
        position: static;
    }
}