:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: 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-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: 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');
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 900px;
    margin: 16px auto;
    border: 1px solid #000;
    background: #fff;
    position: relative;
}

article {
    padding: 20px 50px 25px;
}

footer {
    position: absolute;
    z-index: 3;
    right: 50px;
    bottom: 40px;
}

p {
    margin: 0 0 12px;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 25px;
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    color: #ed1c24;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #ed1c24;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.logo {
    background: url('../images/background.jpg') no-repeat 0 0;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

@media all and (max-width: 899px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    article {
        padding: 16px 16px 5px;
    }

    .logo {
        padding: 16px;
    }

    footer {
        right: 16px;
        bottom: 16px;
    }

    p {
        hyphens: auto;
    }
}

@media all and (max-width: 620px) {
    footer {
        position: static;
        padding: 0 16px 16px;
    }
}