@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #2e2113;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 800px;
    margin: 16px auto;
    border: 1px solid #2e2113;
    background-color: #fff;
}

.logo {
    padding: 20px 23px;
}

article {
    padding: 16px 20px 6px;
    background: #c2e1c7;
}

.background {
    background: #399d58;
    padding: 20px 20px 16px;
    margin: 20px -20px;
}

.background :is(h4, ul) {
    color: #fff;
}

.background li:before {
    content: url('../images/icon-color.jpg');
    margin-top: 1px;
}

.background+p {
    color: #00854d;
    font-size: 18px;
    line-height: 24px;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.flex ul {
    width: 48%;
}

h1 small {
    font-size: 100%;
    white-space: nowrap;
}

h2 span {
    white-space: nowrap;
}

footer {
    padding: 20px 20px 5px;
}

footer p {
    font-size: 18px;
    line-height: 1.5;
}

footer p span {
    font-size: 20px;
}

.button {
    display: inline-block;
    padding: 10px 25px;
    background: #399d58;
    color: #fff !important;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 18px;
}

p {
    margin: 0 0 12px;
    text-align: justify;
    hyphens: auto;
}

:is(strong, h1, h3) {
    color: #00854d;
}

:is(h1, h2, h3, h5, strong) {
    font-weight: 700;
}

h1 {
    font-size: 36px;
    line-height: 1.3;
}

h1 span {
    display: block;
    font-size: 24px;
    color: #2e2113;
    margin: 4px 0 0;
}

h2 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 30px;
}

h3 {
    font-size: 20px;
    line-height: 28px;
    text-decoration: underline;
    margin: 20px 0 0;
}

h4 {
    margin: 0 0 16px;
    font-weight: 400;
    font-size: 22px;
    line-height: 26px;
    text-decoration: underline;
}

h5 {
    font-size: 28px;
    line-height: 1.3;
    padding: 10px 20px 16px;
    color: #fff;
    background: rgb(81, 105, 164);
    background: -moz-linear-gradient(top, rgb(81, 105, 164) 0%, rgb(81, 105, 164) 50%, rgb(104, 129, 171) 100%);
    background: -webkit-linear-gradient(top, rgb(81, 105, 164) 0%, rgb(81, 105, 164) 50%, rgb(104, 129, 171) 100%);
    background: linear-gradient(to bottom, rgb(81, 105, 164) 0%, rgb(81, 105, 164) 50%, rgb(104, 129, 171) 100%);
}

h5 span {
    display: block;
    font-size: 50px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #00854d;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 24px;
    margin: 0 0 8px;
}

li img {
    position: relative;
    top: -2px;
    margin-left: 2px;
}

li:before {
    content: url('../images/icon.jpg');
    float: left;
    text-indent: -24px;
    margin-top: 2px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 798px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(.logo, footer) {
        padding: 16px;
    }

    article {
        padding: 16px 16px 3px;
    }

    .background {
        margin: 20px -16px 16px;
        padding: 16px 16px 12px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-align: left;
        text-wrap: pretty;
    }

    h5 {
        padding: 10px 16px 16px;
    }
}

@media all and (max-width: 550px) {
    .flex ul {
        width: auto;
    }
}

@media all and (max-width: 480px) {
    .logo {
        display: flex;
        justify-content: center;
    }

    h5 {
        text-align: center;
    }

    .flex {
        display: block;
    }
}