@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/jost-v14-latin-regular.eot');
    src: local(''), url('../fonts/jost-v14-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/jost-v14-latin-regular.woff2') format('woff2'), url('../fonts/jost-v14-latin-regular.woff') format('woff'), url('../fonts/jost-v14-latin-regular.ttf') format('truetype'), url('../fonts/jost-v14-latin-regular.svg#Jost') format('svg');
}

@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/jost-v14-latin-700.eot');
    src: local(''), url('../fonts/jost-v14-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/jost-v14-latin-700.woff2') format('woff2'), url('../fonts/jost-v14-latin-700.woff') format('woff'), url('../fonts/jost-v14-latin-700.ttf') format('truetype'), url('../fonts/jost-v14-latin-700.svg#Jost') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Jost', Arial, sans-serif;
    font-size: 15px;
    line-height: 19px;
    color: #231f20;
    font-weight: 400;
}

#wrapper {
    margin: 1rem auto;
    padding: 3.75rem 46px 0;
    max-width: 1100px;
    background: #fff;
    overflow: hidden;
    border: solid 2px #E7202F;
}

:is(header, .flex-box, .grid-box, .qrcode, .grid-box-content, .socical) {
    display: flex;
}

header {
    margin: 0 0 2rem;
    flex-direction: column;
    align-items: center;
}

.banner-anita-mobile {
    display: none;
}

.flex-box {
    justify-content: space-between;
    position: relative;
}

.flex-box-content:nth-of-type(1) {
    width: 47%;
}

.flex-box-content:nth-of-type(2) {
    width: 49%;
}

.grid-box {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 12px;
}

.grid-box-content {
    width: 87px;
    flex-direction: column;
    align-items: center;
    min-height: 140px;
    gap: 5px;
}

.grid-box p {
    text-align: center;
    font-size: 0.6875rem;
    line-height: 1.0625rem;
    color: #6d6e71;
    min-height: 40px;
    margin-bottom: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-center {
    text-align: center;
}

hr {
    background: #E7202F;
    margin: 1.125rem -3.5rem 0.3125rem;
    height: 2px;
    width: auto;
    border: 0;
}

.qrcode {
    justify-content: center;
    align-items: center;
    gap: 3rem;
    position: absolute;
    bottom: 0;
    right: 118px;
}

.benefits-title {
    margin-top: 20px !important;
}

footer {
    margin: 0.625rem -3.5rem 0;
    padding: 1.375rem 3.5rem 1.25rem;
    background: #E7202F;
}

footer :is(p, a) {
    color: #fff !important;
    margin: 0 !important;
    font-size: 106%;
}

footer span {
    margin: 0 0 0 2.4375rem;
}

footer .flex-box {
    justify-content: center;
    gap: 17px;
    align-items: center;
    padding: 0;
}

.socical {
    background: #fff;
    gap: 4px;
    padding: 0.25rem 0.3125rem 0.0625rem;
}

:is(h1, h2, h3, strong, .grid-box p) {
    font-weight: 700;
}

h1 {
    margin: 0 0 50px;
    font-size: 28px;
    line-height: 1.2;
    color: #E7202F;
}

h1 span {
    white-space: nowrap;
}

h1 small {
    display: block;
    font-size: 23px;
}

:is(h2, h3) {
    color: #E7202F;
    font-size: 1.0625rem;
}

h2 {
    line-height: 1.5rem;
    margin: 0 0 0.25rem;
}

h3 {
    line-height: 1.5625rem;
}

p:not(:last-child) {
    margin: 0 0 2rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
}

p :is(a, span) {
    white-space: nowrap;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 2rem 0.5rem;
}

ul li {
    list-style: none;
    text-indent: -0.5rem;
}

ul li:before {
    font-size: 1.4375rem;
    margin-right: 0.5rem;
    position: relative;
    top: 1px;
    float: left;
    content: "\2022";
}

.kontakt {
    padding: 0 0 155px;
}

@media screen and (max-width: 1099px) {
    #wrapper {
        border: none;
        margin: 0;
        padding: 3%;
    }

    :is(h2, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    hr {
        margin: 1.125rem -4.5% 0.3125rem;
    }

    .flex-box {
        padding: 0;
    }

    .qrcode {
        position: static;
    }

    h2 {
        margin: 1.125rem 0 0.25rem;
    }

    .text-center {
        text-align: center;
        margin-top: 1.25rem !important;
        padding-bottom: 6px;
    }

    br:not(:is(.text-center, .qrcode) br) {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    #wrapper {
        padding: 1rem 1rem 0;
    }

    hr {
        margin: 2.125rem -1rem 0.3125rem;
    }

    .text-center {
        padding: 0;
    }

    footer {
        margin: 0.625rem -1rem 0;
        padding: 1.375rem 1rem 1.25rem;
    }

    .grid-box {
        gap: 3px 16px;
    }

    .qrcode {
        position: static;
    }
}

@media screen and (max-width: 830px) {
    .banner-anita-mobile {
        margin: 20px 0 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    article .flex-box:nth-of-type(1) {
        display: block;
    }

    h1 {
        text-align: center;
    }

    article .flex-box:nth-of-type(1) .flex-box-content {
        width: auto !important;
    }

    article .flex-box:nth-of-type(1) .flex-box-content>img {
        display: none;
    }

    .qrcode {
        justify-content: center;
        gap: 1rem 3rem;
    }
}

@media screen and (max-width: 725px) {
    .qrcode {
        flex-direction: column;
        align-items: center;
    }

    h3 {
        text-align: center;
    }
}

@media screen and (max-width: 520px) {
    .qrcode {
        margin-top: 20px;
    }
}

@media screen and (max-width: 493px) {
    footer .flex-box {
        flex-direction: column;
        align-items: center;
    }

    footer p {
        text-align: center;
    }

    footer span {
        margin: 1rem 0 0;
        display: block;
    }
}