@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;
    color: #000;
}

:is(body, .font){
    font-size: 16px;
    line-height: 20px;
}

#wrapper {
    margin: 1rem auto;
    max-width: 1000px;
    background: #fff url(../images/background.jpg) no-repeat right 20px;
    border: solid thin #000;
}

header {
    padding: 36px 60px 10px;
}

article {
    padding: 16px 60px 0;
}

article :is(ul, p){
    font-size: 13px;
    line-height: 20px;
}

hr{
    border: none;
    height: 1px;
    width: 100%;
    background: #ccc;
    margin: 20px 0;
}

.flex-box{
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.flex-box-content:nth-of-type(1){
    width: 48%;
}

.flex-box-content:nth-of-type(2){
    width: 49%;
}

.text-center{
    text-align: center;
}

:is(h1, h2, strong){
    font-weight: 700;
}

:is(h1, h2) {
    line-height: 1.2;
}

h1 {
    font-size: 43px;
}

h2 {
    font-size: 22px;
    margin: 0 0 13px;
}

p {
    margin-bottom: 16px;
    text-align: justify;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 16px 20px;
}

ul li {
    list-style: none;
    text-indent: -20px;
}

ul li:before {
    font-size: 11px;
    margin-right: 20px;
    position: relative;
    top: -3px;
    float: left;
    content: "\25A0";
}

footer {
    padding: 16px 60px;
}

:is(footer, .footer-flex){
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

@media screen and (max-width: 999px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h2, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    p{
        text-align: left;
    }

    br:not(br.mobile-block) {
        display: none;
    }
}

@media screen and (max-width: 779px) {
    #wrapper {
        background: #fff;
    }

    header {
        padding: 20px 20px 10px;
    }

    article {
        padding: 10px 20px 0;
    }

    h1{
        font-size: 30px;
    }

    footer {
        padding: 16px 20px;
    }
}

@media screen and (max-width: 670px) {
    .flex-box{
        display: block;
    }

    .flex-box-content{
        width: 100% !important;
    }
}

@media screen and (max-width: 380px) {
    .footer-flex{
        flex-direction: column;
        align-items: center;
    }

    .footer-flex p{
        text-align: center;
    }
}