@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #45536a;
    font-family: "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-color: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    padding-bottom: .625rem;
}

h1 {
    font-size: 1.7rem;
    line-height: 1.3;
    color: #fff;
    padding: .5rem 0 1.5rem;
}

h2 {
    background-color: #d7e2f3;
    margin: 0 -1rem 0 -30rem;
    padding: .5rem 1rem .5rem 30rem;
    font-size: 1.4rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 2rem;
    line-height: 1.3;
    color: #e60005;
}

ul {
    list-style: none;
    padding-bottom: .5rem;
}

ul li {
    padding: 0 0 0 1rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
    font-size: 1.3rem;
    line-height: 1.1;
    color: #e60005;
}

.benefits {
    display: flex;
    gap: .5rem;
    font-size: .8rem;
    text-align: center;
}

.benefits>div {
    flex: 1 1 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    padding: 2rem 7rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: url("../images/bg_top.jpg") center -2.25rem/cover no-repeat;
}

article {
    padding: 0 1rem 0 50%;
    position: relative;
}

article>img {
    position: absolute;
    top: 0;
    left: 0;
}

footer {
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    background: url("../images/bg_bottom.jpg")top center/cover no-repeat;
    font-family: 'Times New Roman', Times, serif;
}

footer p {
    color: #fff;
    font-size: 1.5rem;
}

@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;
    }
}

@media only screen and (max-width: 55rem) {

    header,
    footer {
        padding: 1rem 1rem 0;
        background: #124065;
        color: #fff;
    }

    article {
        padding: 0 1rem;
        position: relative;
    }

    article>img {
        display: none;
    }

    h1 {
        font-size: 1.7rem;
        line-height: 1.3;
        color: #fff;
        padding: 1rem 0;
    }

    h2 {
        margin: 0 -1rem;
        padding: .5rem 1rem;
    }
}

@media only screen and (max-width: 35rem) {

    .benefits {
        flex-wrap: wrap;
    }

    .benefits>div {
        flex: 1 1 100px;
    }
}