@charset "utf-8";
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v25-latin-700.eot');
    src: local(''),
        url('../fonts/montserrat-v25-latin-700.eot?#iefix') format('embedded-opentype'),
        url('../fonts/montserrat-v25-latin-700.woff2') format('woff2'),
        url('../fonts/montserrat-v25-latin-700.woff') format('woff'),
        url('../fonts/montserrat-v25-latin-700.ttf') format('truetype'),
        url('../fonts/montserrat-v25-latin-700.svg#Montserrat') format('svg');
}
@font-face {
    font-display: swap;
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/quicksand-v30-latin-regular.eot');
    src: url('../fonts/quicksand-v30-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/quicksand-v30-latin-regular.woff2') format('woff2'),
        url('../fonts/quicksand-v30-latin-regular.woff') format('woff'),
        url('../fonts/quicksand-v30-latin-regular.ttf') format('truetype'),
        url('../fonts/quicksand-v30-latin-regular.svg#Quicksand') format('svg');
}
@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-slab-v24-latin-regular.eot');
    src: local(''),
        url('../fonts/roboto-slab-v24-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-slab-v24-latin-regular.woff2') format('woff2'),
        url('../fonts/roboto-slab-v24-latin-regular.woff') format('woff'),
        url('../fonts/roboto-slab-v24-latin-regular.ttf') format('truetype'),
        url('../fonts/roboto-slab-v24-latin-regular.svg#RobotoSlab') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #FFF;
    font: 400 1em/1.3em 'Montserrat', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 600px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: url('../images/bg.jpg') no-repeat top left;
    overflow: hidden;
    padding: 1rem;
    height: 849px;
}
p {
    padding-bottom: 1rem;
}
h1, h1+p {
    text-align: center;
    font-weight: 400;
    font-family: 'Roboto Slab', Arial, sans-serif;
}
h1+p {
    font-size: 1.2em;
}
h1 {
    margin: 0 -2rem 2.5rem 0;
    font-size: 2.125em;
    line-height: 1.7;
}
h2 {
    padding: 3rem 1rem 1rem 1rem;
    font: 900 1.4em/1.9 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    margin-left: -12rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
header {
    position: absolute;
    top: 5rem;
    right: 2.5rem;
}
article section :is(h1, p) {
    text-align: center;
}
article p.text {
    font-size: 1.3em;
    padding-bottom: 3rem;
    font-family: 'Quicksand', Arial, sans-serif;
}
article section {
    position: absolute;
    top: 24rem;
    right: 1rem;
    width: 310px;
}
article .box {
    position: absolute;
    bottom: 0.5rem;
    left: 2.5rem;
}
article .ttu {
    text-transform: uppercase;
    font-size: 0.85em;
}
footer {
    position: absolute;
    bottom: 70px;
    right: 33px;
    transform: rotate(10deg);
}
@media only screen and (max-width: 599px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 0;
        background: #3A4597;
        height: 100%;
    }
    header {
        background: #FFF;
        padding: 1rem;
    }
    header, footer {
        display: flex;
        justify-content: center;
    }
    article {
        padding: 0 1rem;
    }
    header, h2, article section, article .box, footer {
        position: static;
    }
    article section {
        width: 100%;
    }
    article .box p {
        text-align: center;
    }
    article p.text {
        padding-bottom: 1rem;
    }
    footer {
        transform: rotate(0);
        padding: 0 1rem 1rem;
    }
    br {
        display: none;
    }
    h2 {
        text-align: center;
        padding: 1rem;
        margin: 0 -1rem 1rem;
        background: #36A634;
        font-size: 1.3em;
    }
    h1 {
        margin: 0 0 1rem;
        font-size: 1.5em;
        line-height: 1.3em;
    }
}