@charset "utf-8";

@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v47-latin-regular.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/roboto-v47-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/roboto-v47-latin-regular.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/roboto-v47-latin-regular.woff') format('woff'),
        /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
        url('../fonts/roboto-v47-latin-regular.ttf') format('truetype'),
        /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
        url('../fonts/roboto-v47-latin-regular.svg#Roboto') format('svg');
    /* Legacy iOS */
}

@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v47-latin-700.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/roboto-v47-latin-700.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/roboto-v47-latin-700.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/roboto-v47-latin-700.woff') format('woff'),
        /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
        url('../fonts/roboto-v47-latin-700.ttf') format('truetype'),
        /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
        url('../fonts/roboto-v47-latin-700.svg#Roboto') format('svg');
    /* Legacy iOS */
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    font: 1em/1.3em 'Roboto', Arial, sans-serif;
    color: #fff;
}

#wrapper {
    position: relative;
    margin: 1rem auto;
    overflow: hidden;
    max-width: 520px;
    border: solid 1px #000;
    background: #fff url('../images/bg.jpg') no-repeat;
    height: 748px;
}

h1 span,
h2,
p {
    background: #A9263C;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    width: fit-content;
    border-radius: 0 5px 5px 0;
}

h1 {
    margin: 0rem 0rem 0rem;
    font-size: 2.15em;
    line-height: 1.1em;
}

h1 span {
    display: block;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 3.6em;
    line-height: 1;
    padding: 0.3rem 2rem;
    margin-bottom: 0.5rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

figure {
    display: none;
}

.center {
    background: none;
    text-align: center;
    width: 100%;
    padding: 6.5rem 0 0.7rem 5.6rem;
    position: relative;
}

header p {
    position: absolute;
    right: 1rem;
    top: 1rem;
    border-radius: 5px;
    font-size: 0.875em;
    line-height: 1.3;
}

a.qrcode {
    position: absolute;
    right: 2%;
    height: 16%;
    top: 9%;
    width: 19%;

}

a.facebook {
    position: absolute;
    right: 23%;
    height: 6%;
    top: 16%;
    width: 5%;

}

a.instagram {
    position: absolute;
    right: 23%;
    height: 4%;
    top: 11%;
    width: 6%;

}

header {
    position: relative;
}

footer a {
  position: absolute;
  bottom: 7%;
  height: 9%;
  right: 20%;
  width: 62%;
}

article {
    position: absolute;
    left: 0;
    top: 24rem;
}

img {
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width:519px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        height: auto;
        background: #fff;
    }

    p :is(span, a) {
        display: inline-block;
    }

    figure {
        display: block;
        display: flex;
        justify-content: center;
        margin: 1rem;
    }

    article {
        position: static;
    }

    .center {
        padding: 0.5rem 1rem;
        background: #A9263C;

    }

    footer a {
        display: none;
    }
}

@media only screen and (max-width:400px) {
    header p {
        position: static;
        text-align: right;
        width: 100%;
    }

    h2 {
        font-size: 2em;
    }

    h1 {
        font-size: 1.5em;
    }
}