@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: 700;
    font-size: 16px;
    line-height: 21px;
    color: #fff;
    text-align: right;
}

#wrapper {
    margin: 1rem auto;
    max-width: 590px;
    background: #fff url(../images/background.jpg) no-repeat left top;
    height: 643px;
}

header img {
    display: block;
}

article {
    padding: 80px 13px 0;
}

.margin-bottom {
    margin-bottom: 0;
}

:is(h1, strong) {
    font-weight: 700;
}

h1 {
    font-size: 64px;
    margin: 0 0 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px #000;
}

h1 span{
    display: block;
    font-weight: 400;
    font-size: 65%;
}

.big{
    font-size: 110%;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
}

img {
    max-width: 100%;
}

footer {
    padding: 149px 11px 16px 113px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.red {
    width: 40%;
}

footer>a {
    position: relative;
    top: 8px;
}

.banner {
    display: none;
}

@media screen and (max-width: 589px) {
    #wrapper {
        border: none;
        margin: 0;
        height: auto;
        background: #060607;
    }

    article {
        padding-top: 16px;
    }

    .banner {
        display: block;
    }

    :is(body, h1, p) {
        text-align: center;
    }

    :is(h1, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h1{
        font-size: 45px;
    }

    h1 span{
        display: inline;
    }

    footer>a {
        position: static;
    }

    :is(p a, p span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block) {
        display: none;
    }

    footer {
        padding: 0 15px 15px;
        flex-direction: column;
        align-items: center;
    }

    .red {
        width: 100%;
        background: #be0c31;
        padding: 15px;
        margin-top: 15px;
    }
}