:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 21px;
    color: #004a73;
}

#wrapper {
    margin: 1rem auto;
    max-width: 750px;
    background: #fff url(backgroud.jpg) no-repeat left bottom;
    border: solid thin #cbcbcb;
    height: 1056px;
    padding: 63px 75px 35px;
}

.flex-box {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 13px;
}

.flex-box-content {
    width: 33%;
}

.right {
    text-align: right;
}

.margin-bottom {
    margin-bottom: 0;
}

:is(h1, h2, h3, strong) {
    font-weight: 700;
}

:is(h1, h2, h3) {
    line-height: 1.2;
}

h1 {
    font-size: 28px;
    margin: 0 0 16px;
}

h2 {
    font-size: 47px;
    margin: 0 0 8px;
}

h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #004a73;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 5px 15px;
}

ul li {
    list-style: none;
    text-indent: -15px;
    margin-bottom: 8px;
}

ul li:before {
    font-size: 27px;
    margin-right: 15px;
    position: relative;
    top: -1px;
    float: left;
    content: "\2022";
}

p img {
    position: relative;
    top: 5px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.footer-flex-content:nth-of-type(1) {
    width: 55%;
}

.footer-flex-content:nth-of-type(2) {
    width: 41%;
    margin-top: -56px;
}

.bottom {
    text-align: right;
    margin: 32px -42px 10px;
}

@media screen and (max-width: 749px) {
    #wrapper {
        border: none;
        margin: 0;
        height: auto;
        padding: 1rem;
        background: #fff;
    }

    :is(h1, h2, h3, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }

    .bottom {
        margin: 16px 0 0;
        padding: 16px;
        text-align: center;
        background: #00953f;
    }
}

@media screen and (max-width: 590px) {
    h2 {
        font-size: 34px;
    }

    h1 {
        font-size: 23px;
    }

    :is(h1, h2) {
        text-align: center;
    }

    ul {
        margin-bottom: 16px;
    }

    .flex-box {
        display: block;
    }

    .flex-box-content {
        width: 100%;
    }

    .footer-flex {
        flex-direction: column;
        align-items: center;
    }

    .footer-flex p {
        text-align: center;
    }

    .footer-flex-content {
        margin-top: 20px !important;
        width: auto !important;
    }
}