@charset "utf-8";
@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;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1em/1.3 'Roboto', Arial, sans-serif;
    text-transform: uppercase;
}
h1, strong, article p {
    font-weight: 700;
}
#wrapper {
    position: relative;
    max-width: 520px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: url('../images/bg1.jpg') no-repeat top left;
    overflow: hidden;
    padding: 0;
    height: 751px;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
}
img {
    max-width: 100%;
    height: auto;
}
h1 {
    font-size: 1.2em;
    line-height: 1.3em;
    margin: 1rem 0.5rem;
}
header {
    padding: 0 1rem;
    display: flex;
    justify-content: flex-end;
}
article {
    padding: 13rem 7rem 0;
}
article section p {
    width: fit-content;
    background: #F58220;
    padding: 0 0.5rem;
    color: #FFF;
    margin-bottom: 0.3rem;
    font-size: 1.7em;
}
article section p span {
    color: #231F20;
}
article>p:last-of-type {
    font-size: 0.9em;
}
article a img,
article>p:last-of-type {
    padding-left: 0.5rem;
}
footer {
    padding: 4rem 1rem 0;
    text-align: center;
    color: #FFF;
    text-transform: uppercase;
}
@media only screen and (max-width: 519px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 0.8rem;
        height: 100%;
    }
    header {
        padding-bottom: 7rem;
    }
    article, footer {
        padding: 1rem 0;
    }
    article section p {
        margin: 0 auto 0.5rem;
    }
    figure {
        display: flex;
        justify-content: center;
    }
    article a img, article>p:last-of-type {
        padding-left: 0;
    }
    article>p:last-of-type, h1 {
        text-align: center;
    }
}