@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: 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: 15px;
    color: #1f1c18;
}

#wrapper {
    margin: 1rem auto;
    max-width: 940px;
    background: #fff url(../images/background.jpg) no-repeat left top;
    border: solid thin #cbcbcb;
    height: 705px;
}

header {
    position: relative;
}

header img {
    display: block;
}

article {
    padding: 0 0 0 30px;
    margin-top: -10px;
    position: relative;
}

.flex-box {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}

.flex-box-content:nth-of-type(1) {
    width: 66%;
}

.flex-box-content:nth-of-type(2) {
    width: 49%;
}

.color {
    color: #ccc !important;
}

.text-center {
    text-align: center;
}

.margin-bottom {
    margin-bottom: 0;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

:is(h1, h2) {
    line-height: 1.2;
}

h1 {
    font-size: 82px;
    position: absolute;
    left: 14%;
    text-align: center;
    bottom: 12%;
    line-height: 0.8;
    color: transparent;
}

h1 span {
    font-size: 43%;
}

h1 span:nth-of-type(2) {
    font-size: 29%;
}

h1 small {
    font-size: 64%;
}

h2 {
    font-size: 33px;
}

p {
    margin-bottom: 4px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #1f1c18;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.flex {
    display: flex;
    gap: 10px;
}

.flex div img {
    position: relative;
    top: 6px;
}

.left {
    margin-left: 19px;
}

footer {
    padding: 5px 30px;
}

.big {
    color: #fff !important;
    font-size: 120%;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.footer-flex-content:nth-of-type(1) {
    width: 73%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-flex-content:nth-of-type(2) {
    width: 41%;
}

@media screen and (max-width: 939px) {
    #wrapper {
        border: none;
        margin: 0;
        height: auto;
        background: #d6d4d5;
    }

    article {
        margin-top: 10px;
    }

    :is(h1, h2, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h1 {
        display: none;
    }

    h2 {
        font-size: 20px;
    }

    :is(p a, p span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }

    footer {
        background: #cd1711;
    }
}

@media screen and (max-width: 695px) {
    :is(article, footer) {
        padding: 16px
    }

    .flex-box {
        flex-direction: column;
        align-items: center;
    }

    .flex-box-content {
        width: auto !important;
    }

    .footer-flex-content {
        width: auto !important;
    }

    .big {
        font-size: 110%;
        line-height: 1.2;
    }
}

@media screen and (max-width: 450px) {
    body {
        font-size: 14px;
    }

    h2 {
        font-size: 18px;
    }

    .flex {
        flex-direction: column;
        align-items: center;
    }

    .flex div img {
        width: 13px;
    }
}