@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');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    text-align: center;
    color: #FFF;
    font: 700 1em/1.3em 'Montserrat', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 500px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: url('../images/bg.jpg') no-repeat top left;
    overflow: hidden;
    padding: 0.8125rem 1rem;
    height: 664px;
}
h1, h2 {
    font-weight: 700;
}
p {
    padding-bottom: 1rem;
}
h1, h3 {
    font-size: 1.7em;
    line-height: 1.4;
}
h1 {
    margin: 0 0 1em;
}
h3 {
    margin: 0 0 1.5em;
}
h2 {
    font-size: 2em;
    line-height: 1.2;
    margin: 0 0 1.5rem;
}
h3+p{
    font-size: 1.3em;
    line-height: 1.3em;
    margin-left: 5rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
.logo {
    display: flex;
    justify-content: flex-end;
    margin: 0 0.4375rem 2rem;
}
.qr {
    position: absolute;
    top: 1.1rem;
    left: 1.4rem;
    transform: rotate(-15deg);
}
.qr p{
    font-size: 0.9em;
    line-height: 1.3em;
}
footer {
    display: none;
}
@media only screen and (max-width: 499px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 0;
        background: #F3F2C6;
        height: auto;
    }
    p :is(a, span) {
        display: inline-block;
    }
    header {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0 1rem;
        flex-wrap: wrap;
        padding: 1rem;
    }
    .qr {
        background: #100F4D;
        padding: 1rem 0.5rem 0;
        border-radius: 10px;
        transform: rotate(0);
        position: static;
        width: fit-content;
        margin: 0 auto;
    }
    .qr p{
        padding-bottom: 0.5rem;
    }
    h1{
        background: #076A7B;
        margin: 0;
    }
    h3{
      background: #FED135;
      margin: 0;
    }
    article p{
        background: #17B0B2;
        margin: 0;
    }
    h2{
        background: #F2652C;
        margin: 0;
    }
    h1,h2, h3, article p{
        padding: 1rem;
    }
    footer{
        display: block;
    }
}
@media only screen and (max-width: 480px) {
    body{
        font-size: 0.8em;
    }
}