@font-face {
    font-display: swap;
    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;
}

body {
    color: #f36f21;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 17px;
    line-height: 22px;
    font-weight: 700;
}

#wrapper {
    max-width: 900px;
    margin: 16px auto;
    border: 1px solid #000;
    background: url('../images/background.jpg') center no-repeat;
    height: 316px;
    position: relative;
}

header {
    opacity: 0;
}

article {
    position: absolute;
    top: 100px;
    right: 24px;
    z-index: 1;
    width: 266px;
}

footer {
    position: absolute;
    bottom: 16px;
    right: 22px;
    z-index: 1;
}

h1 {
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #f36f21;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

@media all and (max-width: 898px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(article, footer) {
        right: 16px;
    }
}

@media all and (max-width: 869px) {
    #wrapper {
        background: #002e65;
        height: auto;
    }

    header {
        opacity: 1;
        display: flex;
        justify-content: center;
    }

    article {
        position: static;
        padding: 36px 16px 26px;
        width: calc(100% - 200px);
    }

    footer {
        background: #fff;
        padding: 20px;
        right: 0;
        bottom: 0;
        border-radius: 20px 0 0;
    }

    br {
        display: none;
    }
}

@media all and (max-width: 588px) {
    #wrapper {
        padding: 0 0 16px;
    }

    article {
        width: auto;
    }

    footer {
        position: static;
        display: flex;
        justify-content: center;
        border-radius: 16px;
        margin: 0 16px;
    }

    :is(h1, p) {
        text-align: center;
    }
}