@font-face {
    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-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-italic.eot');
    src: local(''), url('../fonts/roboto-v30-latin-italic.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-italic.woff2') format('woff2'), url('../fonts/roboto-v30-latin-italic.woff') format('woff'), url('../fonts/roboto-v30-latin-italic.ttf') format('truetype'), url('../fonts/roboto-v30-latin-italic.svg#Roboto') format('svg');
}

@font-face {
    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;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: #221e1f;
}

#wrapper {
    margin: 1rem auto;
    max-width: 759px;
    background: #fff;
    border: solid thin #cbcbcb;
}

header {
    position: relative;
}

article {
    padding: 0 30px;
    margin-top: -7px;
}

.flex-box {
    display: flex;
    gap: 12px;
    flex-direction: row-reverse;
    justify-content: space-around;
}

.flex-box-content:nth-of-type(1) {
    width: 68%;
}

:is(.color, .color a) {
    color: #85c440 !important;
}

.margin-bottom {
    margin-bottom: 0;
}

.width {
    width: 279px;
    position: relative;
}

.width>a {
    position: absolute;
    top: 16%;
    left: 15%;
    height: 26%;
    width: 61%;
}

:is(h1, h2, h3, h4, strong) {
    font-weight: 700;
}

:is(h1, h2, h3, h4) {
    line-height: 1.2;
}

h1 {
    font-size: 62px;
    margin: 0 306px 9px 0;
    line-height: 1;
}

h1 span {
    font-size: 16px;
    font-weight: 400;
}

h2 {
    font-size: 16px;
    margin: 0 0 16px;
    padding: 10px;
    color: #fff;
    background: #85c440;
    display: inline-block;
}

h3 {
    font-size: 34px;
    margin: 0 0 10px;
}

h4 {
    font-size: 16px;
    margin: 0 0 10px;
}

h4 span {
    font-size: 94%;
    font-weight: 400;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 16px;
}

ul li {
    list-style: none;
    padding-left: 22px;
    background: url(../images/arrows.png) no-repeat left 5px;
    margin-bottom: 6px;
}

:is(.white, .white a) {
    color: #fff !important;
}

.bottom {
    margin-bottom: 10px;
}

.bottom2 {
    margin-bottom: 22px;
}

footer {
    padding: 16px 30px;
    background: #85c440;
}

hr {
    width: 180px;
    display: block;
    border: none;
    height: 2px;
    background: #85c440;
    margin: 10px 0;
}

.position {
    position: absolute;
    right: 20px;
    bottom: -225px;
}

.left {
    margin-left: 21px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.footer-flex-content:nth-of-type(1) {
    width: 37%;
}

.footer-flex-content:nth-of-type(2) {
    width: 23%;
}

.footer-flex-content:nth-of-type(3) {
    width: 35%;
}

@media screen and (max-width: 758px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h2, h3, h4, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .left {
        margin-left: 0;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }
}

@media screen and (max-width: 710px) {
    h1 {
        font-size: 50px;
    }

    .footer-flex {
        flex-direction: column;
        align-items: center;
    }

    .footer-flex-content {
        width: auto !important;
    }

    footer :is(h4, p) {
        text-align: center;
    }
}

@media screen and (max-width: 675px) {
    article {
        margin-top: 10px;
    }

    :is(h1, h3, h2) {
        text-align: center;
        margin-right: 0 !important;
    }

    :is(h2, .position) {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .position {
        position: static;
    }
}

@media screen and (max-width: 590px) {
    .position {
        margin: auto;
    }

    h1 {
        font-size: 30px;
    }

    h3 {
        font-size: 18px;
    }

    hr {
        margin: 10px auto;
    }

    .flex-box {
        flex-direction: column;
        align-items: center;
    }

    .flex-box-content {
        width: 100% !important;
    }

    .flex-box-content:nth-of-type(2) :is(h4, p) {
        text-align: center;
    }
}