@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/titillium-web-v19-latin-regular.eot');
    src: url('../fonts/titillium-web-v19-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/titillium-web-v19-latin-regular.woff2') format('woff2'), url('../fonts/titillium-web-v19-latin-regular.woff') format('woff'), url('../fonts/titillium-web-v19-latin-regular.ttf') format('truetype'), url('../fonts/titillium-web-v19-latin-regular.svg#TitilliumWeb') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/titillium-web-v19-latin-700.eot');
    src: url('../fonts/titillium-web-v19-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/titillium-web-v19-latin-700.woff2') format('woff2'), url('../fonts/titillium-web-v19-latin-700.woff') format('woff'), url('../fonts/titillium-web-v19-latin-700.ttf') format('truetype'), url('../fonts/titillium-web-v19-latin-700.svg#TitilliumWeb') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: 'Titillium Web', "Arial", sans-serif;
    font-size: .938rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 60rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
    padding: 3rem 4rem;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

a.link {
    color: #ff0028;
}

article p {
    padding-bottom: 1rem;
}

h1 {
    font-size: 1.7rem;
    line-height: 1.3;
    font-weight: normal;
    color: #fff;
    padding: .15rem 1rem;
    background-color: #ff0028;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

h2 {
    font-size: 1rem;
    padding-bottom: .3rem;
    font-weight: normal;
    color: #ff0028;
}

ul {
    list-style: none;
    padding-bottom: 1rem;
}

ul li {
    padding: 0 0 0 1rem;
}

ul li:before {
    content: "+";
    float: left;
    margin-left: -1rem;
    color: #ff0028;
    font-weight: 700;
    line-height: 1.3;
}

.title {
    position: relative;
    margin: 1rem -3rem 1rem 0;
}

.title+p {
    font-size: 1rem;
    line-height: 1.4;
}

.title::after {
    content: "";
    width: 7rem;
    height: 90%;
    background-color: #ff0028;
    position: absolute;
    top: -1rem;
    right: -1rem;
}

.title img {
    position: relative;
    z-index: 1;
}

.flex {
    display: flex;
    gap: 1rem;
}

.flex>div {
    flex: 50%;
}

.block {
    margin: .5rem 0 1rem;
    border: 1px solid #bfbabc;
    padding: .5rem 1rem;
    box-shadow: 0 0 .625rem rgba(0, 0, 0, 0.2);
}

.benefits {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding: 1rem 0;
}

.benefits div {
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .625rem;
}

.benefits div:not(:last-of-type) {
    border-right: 1px solid #bfbabc;
}

.benefits p {
    padding-bottom: 0;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

footer div>p {
    margin-top: 1rem;
}

.block::before {
    content: "";
    width: 1.25rem;
    height: 15rem;
    background-color: #ff0028;
    position: absolute;
    left: 0;
    bottom: 0;
}

@media only screen and (max-width: 59.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .benefits div {
        padding: 0 1rem;
    }

    .benefits p {
        hyphens: inherit;
    }
}

@media only screen and (max-width: 54rem) {
    #wrapper {
        padding: 2rem;
    }

    h1 {
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
    }

    .title {
        margin: 1rem 0;
    }

    .title::after,
    .block::before {
        display: none;
    }
}

@media only screen and (max-width: 48rem) {
    h1 {
        font-size: 1.3rem;
        position: static;
    }

    .benefits {
        gap: 1rem;
    }

    .benefits div {
        padding: 0;
        flex: 0 1 80px;
    }

    .benefits div:not(:last-of-type) {
        border: none;
    }
}

@media only screen and (max-width: 40rem) {
    #wrapper {
        padding: 1rem;
    }

    .flex {
        display: block;
    }

    .benefits {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    footer {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
}