@font-face {
    font-display: swap;
    font-family: 'Just Me Again Down Here';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/just-me-again-down-here-v24-latin-regular.eot');
    src: url('../fonts/just-me-again-down-here-v24-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/just-me-again-down-here-v24-latin-regular.woff2') format('woff2'), url('../fonts/just-me-again-down-here-v24-latin-regular.woff') format('woff'), url('../fonts/just-me-again-down-here-v24-latin-regular.ttf') format('truetype'), url('../fonts/just-me-again-down-here-v24-latin-regular.svg#JustMeAgainDownHere') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #231f20;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 21px;
}

#wrapper {
    margin: 1rem auto;
    max-width: 976px;
    overflow: hidden;
    position: relative;
    border: solid thin #cbcbcb;
    background: #DFEBEB url(../images/background.jpg) no-repeat bottom;
}

header {
    display: flex;
    justify-content: space-between;
}

.logo {
    width: 65%;
    padding: 2.3125rem 2.375rem 1.25rem;
    background: #5b2873;
}

.logo-top {
    width: 36%;
    background: #472973;
    padding: 2.0625rem 3.25rem 1.25rem;
}

article {
    padding: 12px 35px 0;
    position: relative;
    z-index: 10;
}

.flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.content {
    width: 46.5%;
}

.content:nth-of-type(2) {
    width: 49%;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px -20px;
}

.solical {
    margin: 8px 10px 0;
    display: inline-block;
}

.solical img {
    margin: 0 5px;
}

footer {
    margin: 25px 0 0;
    display: flex;
    justify-content: center;
}

.margin {
    margin: 0 0 4px;
}

p {
    margin-bottom: 1rem;
}

.color {
    color: #009ee3 !important;
}

h1 {
    margin: -8px 0 16px;
    font-size: 41px;
    line-height: 1.2;
    color: #5b2873;
}

h1 small {
    font-size: 19px;
}

h1 span:not(.nowrap) {
    display: block;
    font-size: 19px;
    line-height: 1.3;
    margin: 6px 0 0;
}

h2 {
    font-size: 33px;
    line-height: 1;
    margin: 0 0 20px;
    color: #e60f0b;
    width: 261px;
}

:is(h2, h3) {
    font-family: 'Just Me Again Down Here', cursive;
    font-weight: 400;
}

h3 {
    font-size: 2rem;
    line-height: 1.875rem;
    margin: 0 0 0.375rem;
    color: #00aeef;
}

h4 {
    font-size: 15px;
    line-height: 21px;
    font-weight: normal;
}

h4 strong {
    font-size: 18px;
    color: #5b2873;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 1rem;
    margin: 0 0 6px;
}

ul li:before {
    content: "\2022";
    float: left;
    color: #5b2873;
    font-size: 1.5625rem;
    text-indent: -1rem;
}

ul li.li-color:before {
    color: #009ee3;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #5b2873;
    text-decoration: underline;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.flex-last {
    flex-direction: row-reverse;
    display: flex;
    justify-content: space-between;
}

.phone {
    font-size: 31px;
    font-weight: bold;
    line-height: 1;
    color: #00aeef !important;
    text-decoration: none !important;
}

.imges {
    margin: 1rem 0 2rem;
}

.flexbox p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 19px;
    line-height: 23px;
}

.flexible {
    display: flex;
    align-items: flex-start;
    margin: -40px 0 0;
    gap: 1rem;
}

.flex-last .content {
    margin-right: 20px;
}

.flex-last .content:nth-of-type(2) {
    width: 47%;
}

.blue {
    color: #257f35;
}

.red {
    color: #e6302d;
}

.lila {
    color: #5c2874;
}

@media screen and (max-width:974px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    .logo {
        width: 100%;
        padding: 1rem;
    }

    .logo-top {
        min-width: 296px;
        padding: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    article {
        padding: 16px 16px 0;
    }

    :is(ul, p) {
        hyphens: auto;
    }

    :is(h4, p) span {
        white-space: nowrap;
    }

    h1 .small {
        white-space: nowrap;
    }

    h1 {
        font-size: 34px;
        margin: 0 0 16px;
    }

    h2 {
        margin: 0 0 30px;
    }

    br:not(h1 br) {
        display: none;
    }

    .flexible {
        margin: 16px 0 0;
    }
}

@media screen and (max-width:767px) {
    :is(.flex, .flex-last) {
        flex-wrap: wrap;
    }

    .content {
        width: 100% !important;
    }

    .benefit {
        margin-left: 0;
    }

    .flex-last .content:nth-of-type(2) {
        width: 100%;
    }

    .flex-last .content {
        margin: 0;
    }

    .flexible {
        margin: 16px 0;
        align-items: center;
    }

    h2 {
        width: 70%;
        margin: 0 0 16px;
    }

    footer {
        padding: 1% 1rem 0;
    }

    h1 span {}

    h1 br {
        display: none;
    }
}

@media screen and (max-width:600px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    header div {
        min-width: 100% !important;
    }

    .flexible {
        display: block;
    }

    .martin {
        display: flex;
        justify-content: center;
        margin: 0 0 1rem;
    }

    h2 {
        width: 100%;
    }

    .logo {
        display: flex;
        justify-content: center;
    }
}