@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff'), url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: #000;
}

#wrapper {
    margin: 1rem auto;
    max-width: 980px;
    background: #fff;
    border: solid thin #cbcbcb;
}

header {
    padding: 16px 20px;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.header-flex-content {
    width: 48%;
}

article {
    padding: 16px 20px;
}

.flex-box {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.flex-box-content {
    width: 48%;
}

:is(.color, .color a) {
    color: rgba(212, 1, 22, 1) !important;
}

.white {
    color: #fff !important;
}

.socical{
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-top: 16px;
}

iframe {
    width: 100%;
    display: block;
    margin: 20px 0;
    border: none;
    height: 300px;
}

.gray {
    background: rgba(235, 236, 240, 1);
    padding: 20px;
    margin: 20px -20px;
}

.top{
    margin-top: 0 !important;
}

.bottom{
    margin-bottom: 0 !important;
}

.red {
    background: rgba(212, 1, 22, 1);
    padding: 20px;
    margin: 20px -20px;
}

.background {
    background-image: linear-gradient(rgba(212, 1, 22, 0.73), rgba(212, 1, 22, 0.73)), url("../images/bg.jpg");
    background-size: 100% 100%;
    padding: 20px;
    margin: 20px -20px;
}

.text-center {
    text-align: center;
}

.justify {
    text-align: justify;
    hyphens: auto;
}

.margin-bottom {
    margin-bottom: 0;
}

.button {
    width: 256px;
    height: 37px;
    line-height: 37px;
    display: block;
    border: none;
    background: rgb(212, 1, 22);
    color: #fff !important;
    margin: 16px auto;
    text-align: center;
    font-size: 14px;
}

.button-white {
    width: 223px;
    height: 37px;
    line-height: 37px;
    display: block;
    border: none;
    background: #fff;
    color: rgba(212, 1, 22, 1) !important;
    margin: 16px auto;
    text-align: center;
    font-size: 15px;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

:is(h1, h2) {
    line-height: 1.2;
}

h1 {
    font-size: 28px;
    margin: 0 0 20px;
}

h1 span {
    display: block;
    color: #000;
}

h1 small {
    font-size: 16px;
}

h2 {
    font-size: 25px;
    margin: 0 0 16px;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 16px;
}

ul li {
    list-style: none;
    padding-left: 20px;
    background: url(../images/check.png) no-repeat left 5px;
    margin-bottom: 10px;
}

ul.ul li {
    list-style: none;
    padding-left: 20px;
    background: url(../images/li.png) no-repeat left 5px;
    margin-bottom: 10px;
}

footer {
    padding: 16px 20px;
	background: rgba(235, 236, 240, 1);
}

.footer-flex {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.footer-flex-content {
    width: 41%;
}

.flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.flex-content {
    width: 48%;
}

@media screen and (max-width: 979px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h2, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }
}

@media screen and (max-width: 750px) {
    :is(.header-flex, .flex-box, .flex) {
        flex-direction: column;
        align-items: center;
    }

    :is(.header-flex-content, .flex-box-content, .flex-content){
        width: 100% !important;
    }
}

@media screen and (max-width: 750px) {
    .footer-flex {
        flex-direction: column;
        align-items: center;
    }

    .footer-flex-content{
        width: auto !important;
    }
}