@charset "utf-8";
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v30-latin-500.eot');
    src: local(''),
        url('../fonts/roboto-v30-latin-500.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-v30-latin-500.woff2') format('woff2'),
        url('../fonts/roboto-v30-latin-500.woff') format('woff'),
        url('../fonts/roboto-v30-latin-500.ttf') format('truetype'),
        url('../fonts/roboto-v30-latin-500.svg#Roboto') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1em/1.3em Tahoma, Verdana, Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff url('../images/bg.jpg') no-repeat;
    overflow: hidden;
    padding: 2rem 3rem 2rem;
}
.font {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
}
:is(h1, h2, strong) {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
h2, .logo p {
    color: #231F20;
}
h1 {
    margin: 6rem 0;
    font-size: 1.5em;
    line-height: 1.1;
    position: relative;
    padding-left: 1.5rem;
}
h1:before {
    content: "\2022";
    font-size: 1rem;
    position: absolute;
    left: 0;
    top: 1px;
}
h2 {
    font-size: 6em;
    line-height: 0.9;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
header {
    display: none;
}
article figure {
    position: absolute;
    right: 4rem;
    top: 4.25rem;
    z-index: 1;
}
footer {
    padding: 13.25rem 0 0;
    display: flex;
    justify-content: space-between;
}
.contact {
    display: flex;
    gap: 0 1rem;
    margin-top: 0.5rem;
    font-size: 1.188em;
    line-height: 1.3;
}
.logo p {
    text-align: right;
    font-size: 0.975em;
    position: relative;
    margin-top: -10px;
}
figure {
    margin: 0;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
        padding: 2rem;
    }
    p a, span {
        display: inline-block;
    }
    header, article figure {
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }
    h2 br {
        display: none;
    }
    h2 {
        font-size: 3em;
        text-align: center;
    }
    .bg, .contact {
        background: #E21A21;
        padding: 1rem 2rem;
        margin: 1rem -2rem;
    }
    .bg {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    h1 {
        margin: 0 0 1rem;
    }
    footer {
        padding-top: 0;
    }
    .contact {
        margin-top: 0;
    }
}
@media only screen and (max-width:700px) {
    footer {
        flex-direction: column;
        align-items: center;
    }
}
@media only screen and (max-width:480px) {
    #wrapper {
        padding: 1rem;
    }
}