@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');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: 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: 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: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 1035px;
    margin: 16px auto;
    border: 1px solid #777;
    background: #E5DFED url('../images/background.jpg') bottom center no-repeat;
    background-size: 100%;
}

header {
    display: flex;
    justify-content: space-between;
}

header div {
    background: #472973;
    width: 34%;
    padding: 2.125rem 2.375rem 1.25rem;
}

header div:last-of-type {
    display: flex;
    justify-content: center;
    min-width: 250px;
}

.logo {
    background: #5b2873;
    width: 66%;
}

article {
    padding: 0 35px 147px;
    position: relative;
    z-index: 66;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.flex>div {
    width: 45%;
}

.flex>div:last-of-type {
    width: 50%;
}

.benefit div {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px -20px;
}

.benefit div strong {
    font-size: 20px;
}

.homepage {
    margin: 0 0 50px !important;
}

.link {
    color: #009ee3 !important;
    border-bottom: 2px solid #009ee3;
}

.border {
    border-bottom: 2px solid #5b2873;
}

.social-media {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    min-width: 95px;
    position: relative;
    top: 8px;
    margin: -15px 0 0;
}

.phone {
    font-size: 40px;
    line-height: 1.1;
}

footer {
    display: flex;
    justify-content: flex-end;
}

footer p {
    width: 349px;
    height: 304px;
    background: url('../images/color-arrays.png') bottom left no-repeat;
    text-align: center;
    padding: 150px 16px 0 40px;
}

footer img {
    display: none;
}

p:not(.benefit p, footer p) {
    margin: 16px 0;
}

:is(h1, h2, h3, .phone) {
    font-family: 'Just Me Again Down Here', Arial, cursive;
    font-weight: 400;
}

:is(h1, h3, strong) {
    color: #5b2873;
}

h1 {
    margin: 4px 0 22px;
    font-size: 46px;
    line-height: 1.125;
}

h1 strong {
    font-size: 1.4375em;
    font-weight: 400;
    color: #009FE3;
}

h1 span {
    display: block;
    font-size: 47px;
}

h1 span span {
    display: inline-block;
    margin-left: 20px;
}

h1 small {
    font-size: 47px;
}

h1+p {
    margin: 0 20px 10px !important;
}

h2 {
    font-size: 35px;
    line-height: 1;
    margin: 0 0 8px;
    color: #009ee3;
}

h3 {
    font-size: 46px;
    line-height: 1;
    width: 42%;
    position: absolute;
    bottom: 350px;
    left: 35px;
    z-index: 10;
}

h3 span {
    display: inline-block;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #5b2873;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 20px;
    margin: 0 0 10px;
}

li:before {
    content: '\2022';
    float: left;
    font-size: 25px;
    text-indent: -20px;
    color: #5b2873;
}

.color:before,
.colortext strong {
    color: #009ee3;
}

img {
    max-width: 100%;
}

@media all and (max-width: 1033px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    header div {
        padding: 16px;
    }

    article {
        padding: 8px 16px 0;
    }

    .flex>div {
        width: 48% !important;
    }

    .benefit div {
        margin: 0 0 10px;
    }

    .social-media {
        gap: 10px;
        min-width: auto;
    }

    .homepage {
        margin: 0 0 40px !important;
    }

    footer {
        margin: -180px 0 0;
        position: relative;
    }

    :is(footer, footer img) {
        display: block;
    }

    footer p {
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 1;
    }

    p span {
        white-space: nowrap;
    }

    :is(p, ul) {
        hyphens: auto;
    }

    h1 {
        font-size: 47px;
    }

    h1 :is(span, small) {
        font-size: 45px;
    }

    :is(h1 span span, h3 span) {
        margin-left: 0;
        display: inline;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        bottom: 21%;
    }

    ul {
        padding: 0 0 3px;
    }

    article br {
        display: none;
    }
}

@media all and (max-width: 898px) {
    h3 {
        bottom: 18%;
    }
}

@media all and (max-width: 767px) {
    .flex {
        display: block;
    }

    .flex>div {
        width: auto !important;
    }

    .homepage {
        margin: 0 !important;
    }

    footer {
        margin: 16px 0 0;
    }

    footer p {
        width: 320px;
        padding: 156px 16px 0 38px;
    }

    h1 {
        line-height: 1;
        font-size: 6vw;
    }

    h1+p {
        margin: 0 0 10px !important;
    }

    h1 span {
        display: inline;
    }

    h3 {
        position: static;
        width: 100%;
        font-size: 8vw;
    }
}

@media all and (max-width: 700px) {
    footer p {
        position: static;
        margin: 0 auto 10px;
        background: url('../images/background-color.png') center no-repeat;
        height: 261px;
        padding: 90px 16px 0 22px;
    }
}

@media all and (max-width: 520px) {
    header {
        flex-direction: column;
    }

    header div {
        width: 100% !important;
    }

    .logo {
        display: flex;
        justify-content: center;
    }
}

@media all and (max-width: 420px) {
    h1 {
        font-size: 9vw;
    }

    h1 :is(small, span) {
        font-size: 38px;
    }

    .social-media {
        display: flex;
        margin: 4px 0 0;
    }
}

@media all and (max-width: 374px) {
    footer p {
        width: 276px;
        background-size: 100% 100%;
        font-size: 14px;
    }

    .phone {
        font-size: 32px;
        line-height: 1.2;
    }
}