@font-face {
    font-display: swap;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/merriweather-v30-latin-regular.eot');
    src: url('../fonts/merriweather-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/merriweather-v30-latin-regular.woff2') format('woff2'), url('../fonts/merriweather-v30-latin-regular.woff') format('woff'), url('../fonts/merriweather-v30-latin-regular.ttf') format('truetype'), url('../fonts/merriweather-v30-latin-regular.svg#Merriweather') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/merriweather-v30-latin-700.eot');
    src: url('../fonts/merriweather-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/merriweather-v30-latin-700.woff2') format('woff2'), url('../fonts/merriweather-v30-latin-700.woff') format('woff'), url('../fonts/merriweather-v30-latin-700.ttf') format('truetype'), url('../fonts/merriweather-v30-latin-700.svg#Merriweather') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #231F20;
    font-weight: 400;
}

#wrapper {
    margin: 1rem auto;
    border: 2px #C33C45 solid;
    max-width: 867px;
    position: relative;
    background-color: #FFFFFF;
    overflow: hidden;
}

article {
    padding: 10px 16px 0;
    position: relative;
}

footer {
    background: #C43B44;
    padding: 5px 16px;
    position: relative;
}

footer a {
    color: #fff !important;
    font-size: 18px;
    display: inline-block;
    background: #C43B44;
    padding-right: 10px;
    position: relative;
}

footer:before {
    content: '';
    height: 2px;
    position: absolute;
    top: 22px;
    right: 16px;
    left: 16px;
    background: #fff;
}

.center {
    text-align: center;
}

section {
    padding: 0 0 0 147px;
    position: relative;
}

.person {
    position: absolute;
    top: 8px;
    left: 16px;
}

.contact p {
    font-size: 15px;
}

.facebook {
    position: absolute;
    bottom: 0;
    right: 0;
}

.fix {
    position: absolute;
    bottom: 0;
    right: 62px;
    font-size: 13px;
    margin: 0;
}

.info {
    display: flex;
    gap: 8px;
    font-size: 15px;
    background: #fff;
    position: absolute;
    top: 64px;
    right: 0;
    padding: 0 10px;
}

.qr-code {
    position: absolute;
    top: -72px;
    right: 8px;
}

p:not(footer p) {
    margin-bottom: 15px;
}

p small {
    display: block;
    font-size: 0.78125rem;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 36px;
    font-size: 35px;
    line-height: 1.1;
    font-weight: 400;
    color: #C23B45;
    border-bottom: 1px solid #231F20;
    padding: 0 0 5px;
}

h1 span {
    display: block;
    font-size: 14px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media only screen and (max-width:865px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, h1) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .qr-code {
        position: static;
        display: flex;
        justify-content: center;
        margin: 0 0 10px;
    }
}

@media only screen and (max-width:700px) {
    .qr-code {
        position: static;
        display: flex;
        justify-content: center;
        margin: 0 0 10px;
    }

    :is(section, .info) {
        padding: 0;
    }

    .contact {
        display: flex;
        gap: 16px;
    }

    :is(.person, .info) {
        position: static;
    }

    article {
        padding: 16px;
    }

    .info {
        justify-content: center;
    }

    h1 {
        text-align: center;
    }
}

@media only screen and (max-width:450px) {
    .fix {
        position: static;
        margin: 0 0 16px;
    }

    :is(:is(.contact, footer) p, .fix) {
        text-align: center;
    }

    .facebook {
        position: static;
        display: flex;
        justify-content: center;
    }

    .contact {
        flex-direction: column;
        align-items: center;
    }

    footer {
        padding: 10px 16px;
    }

    footer a {
        font-size: 16px;
        padding: 0 5px;
    }

    h1 {
        font-size: 28px;
        line-height: 1.2;
    }
}