@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: 18px;
    line-height: 23px;
    color: #606163;
}

#wrapper {
    margin: 1rem auto;
    max-width: 860px;
    background: #fff;
    border: 3px solid #1e6b9b;
}

article {
    margin: -92px 0 0;
    padding: 0 40px 16px;
    position: relative;
}

.right {
    text-align: right;
}

.flex-box {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.flex-box-content:nth-of-type(1) {
    width: 72%;
}

.inden-top {
    text-indent: -33px;
    margin-left: 33px;
}

.flex-box-content:nth-of-type(2) {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.color {
    color: #1e6b9b !important;
}

.indent {
    text-indent: -33px;
    margin-left: 33px;
}

:is(h1, strong) {
    font-weight: 700;
}

h1 {
    font-size: 18px;
    margin: 0 252px 16px 0;
    line-height: 1.2;
}

h1 span {
    font-weight: 400;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #606163;
    text-decoration: none;
}

img {
    max-width: 100%;
}

footer {
    padding: 0 40px 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

@media screen and (max-width: 859px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    p a {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }
}

@media screen and (max-width: 758px) {
    article {
        padding: 0 16px 16px;
        margin-top: 0;
    }

    h1 {
        margin-right: 0;
    }

    footer {
        padding: 0 16px 20px;
    }
}

@media screen and (max-width: 608px) {
    .flex-box {
        display: block;
    }

    .flex-box-content {
        width: auto !important;
    }

    .flex-box-content:nth-of-type(2) {
        margin-top: 16px;
        align-items: center;
    }

    .right {
        text-align: center;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }
}