@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v12-latin-regular.eot');
    src: local(''), url('../fonts/inter-v12-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/inter-v12-latin-regular.woff2') format('woff2'), url('../fonts/inter-v12-latin-regular.woff') format('woff'), url('../fonts/inter-v12-latin-regular.ttf') format('truetype'), url('../fonts/inter-v12-latin-regular.svg#Inter') format('svg');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/inter-v12-latin-700.eot');
    src: local(''), url('../fonts/inter-v12-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/inter-v12-latin-700.woff2') format('woff2'), url('../fonts/inter-v12-latin-700.woff') format('woff'), url('../fonts/inter-v12-latin-700.ttf') format('truetype'), url('../fonts/inter-v12-latin-700.svg#Inter') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/inter-v20-latin-500.eot');
    src: url('../fonts/inter-v20-latin-500.eot?#iefix') format('embedded-opentype'),
        url('../fonts/inter-v20-latin-500.woff2') format('woff2'),
        url('../fonts/inter-v20-latin-500.woff') format('woff'),
        url('../fonts/inter-v20-latin-500.ttf') format('truetype'),
        url('../fonts/inter-v20-latin-500.svg#Inter') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/oswald-v53-latin-700.eot');
    src: url('../fonts/oswald-v53-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/oswald-v53-latin-700.woff2') format('woff2'), url('../fonts/oswald-v53-latin-700.woff') format('woff'), url('../fonts/oswald-v53-latin-700.ttf') format('truetype'), url('../fonts/oswald-v53-latin-700.svg#Oswald') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-size: 13px;
    line-height: 1.4;
    font-family: 'Inter', Arial, sans-serif;
    color: #59595B;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 900px;
    margin: 1rem auto;
    border: 1px solid #777;
    border-bottom: 30px solid #B42F3D;
    overflow: hidden;
    background: #fff url('../images/background.jpg') no-repeat top left;
    height: 673px;
    padding: 55px 5px 20px 73px;
}

.text {
    /* background: #DDDEDF; 
    box-shadow: 1px 1px 5px 0px #575757;*/
    padding: 26px 0px 13px 95px;
    max-width: 514px;
    line-height: 20px;
    margin: -20px 0 0 -95px;
    font-size: 14px;
    text-align: justify;
}

.fix {
    position: absolute;
    bottom: 20px;
    left: 0;
}

.qrcode {
    display: flex;
    align-items: baseline;
    column-gap: 34px;
    flex-wrap: wrap;
    row-gap: 1rem;
    align-items: flex-end;
    margin-left: 173px;
    font-weight: 500;
}

.qrcode p span {
    letter-spacing: 1px;
}

.qrcode div:nth-of-type(2) p span {
    letter-spacing: 3px;
}

.qrcode>div p {
    color: #B42F3D;
    margin-bottom: 5px;
    font-size: 11px;
}

.color {
    color: #B42F3D;
}

h1 {
    margin: 24px 0;
    font-size: 15px;
    font-weight: 400;
    position: relative;
    padding-left: 17px;
}

h1:before {
    content: "\25a0";
    color: #B42F3D;
    font-size: 17px;
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
    font-family: Arial, sans-serif;
}

h1 strong {
    font-weight: 500;
}

h4 {
    font-size: 19px;
    font-weight: 700;
    color: #B42F3D;
    line-height: 1;
}

h3 {
    font-size: 46px;
    margin: 0 0;
    font-weight: 700;
    font-family: 'Oswald', Arial, sans-serif;
    color: #242021;
    line-height: 1;
}

h3 span {
    font-size: 20px;
    font-weight: 400;
    font-family: 'Inter', Arial, sans-serif;
    display: block;
    color: #59595B;
    margin: 4px 0 0 234px;
}

h2 {
    font-size: 18px;
    font-weight: 700;
    margin: -2px 125px 40px 0;
    text-align: right;
}

h5 {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 22px;
    line-height: 1.2;
    margin: 27px 0 34px;
    padding: 8px;
    color: #fff;
}

p:not(:last-of-type) {
    margin-bottom: 16px;
}

header {
    display: flex;
    justify-content: end;
    position: relative;
}

header div {
    position: absolute;
    top: -35px;
    right: 0;
    z-index: 999;
}

header p {
    font-size: 20px;
    margin-top: 5px;
}

article {
    position: relative;
}

footer a {
    font-weight: 500;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #59595B;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media (max-width: 899px) {
    #wrapper {
        margin: 0;
        border: none;
        height: auto;
    }

    :is(ul li, p) {
        hyphens: auto;
    }
}

@media (max-width: 850px) {
    #wrapper {
        padding: 16px;
        background: #fff url('../images/banner.jpg') no-repeat;
        z-index: 1;
        background-position: 33% 132px;
        border-bottom: 20px solid #B2142B !important;
    }

    .text {
        background: #DDDEDF;
        box-shadow: 1px 1px 5px 0px #575757;
    }

    #wrapper:before {
        content: "";
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.8);
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;

    }

    .text {
        margin-top: -22px;
        padding-right: 16px;
        text-align: left;
    }

    h3 span {
        margin-left: 0;
        line-height: 1.4;
    }

    article {
        margin: 15px 0;
    }

    br:not(.br br) {
        display: none;
    }

    h4,
    h1 {
        margin: 5% 0;
    }

    h5 {
        background-color: #B2142B;
        display: inline-block;
        margin: 16px 0;
    }

    header div {
        position: static;
        top: 0;
        right: 0;
    }

    h2 {
        margin: 1rem 0 0;
    }
}

@media (max-width: 450px) {
    .qrcode {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin: 16px 0 0 0;
    }

    .text {
        text-align: left;
    }

    .fix {
        position: static;
    }
}