@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    font: 1em/1.5em "Segoe UI", Calibri, sans-serif;
    color: #fff;
}
#wrapper {
    position: relative;
    margin: 1rem auto;
    overflow: hidden;
    max-width: 580px;
    border: solid 1px #000;
    background: #fff;
}
p {
    padding-bottom: 2rem;
    font-weight: 700;
}
h1 {
    margin: 0 0 6rem;
    font-size: 1.063em;
    line-height: 1.1em;
    text-transform: uppercase;
}
h2 {
    font-size: 2.5em;
    line-height: 1.3;
    text-transform: uppercase;
}
header p {
    font-size: 1.250em;
    line-height: 1.3;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
main {
    background: #EF862A url('../images/bg.jpg') no-repeat bottom;
    padding: 2rem 1rem 1rem 2rem;
}
article p:first-of-type {
    width: 95%;
}
.flexbox {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 -95px 0 209px;
}
.flexbox p {
    padding-bottom: 0.7rem;
}
.rotate {
    transform: rotate(-4deg);
    position: absolute;
    background: #4D4F51;
    padding: 0.3rem;
    position: absolute;
    right: 1rem;
    bottom: 14rem;
}
.qrcode {
    width: 100%;
}
footer {
    padding: 1rem 1rem 0.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
img {
    max-width: 100%;
    height: auto;
}
@media only screen and (max-width:579px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p :is(a, span) {
        display: inline-block;
    }
    main {
        padding: 1rem;
        background-image: none;
    }
    p {
        padding-bottom: 1rem;
    }
    .flexbox {
        margin: 0;
        align-items: center;
        flex-direction: column-reverse;

    }
    .flexbox p {
        text-align: center;
    }
    .qrcode {
        display: flex;
        justify-content: center;
    }
    .rotate {
        position: static;
        text-align: center;
        width: fit-content;
        margin: 0 auto 1rem;
    }
    h1 {
        margin-bottom: 1rem;
    }
    h2 {
        font-size: 2em;
    }
    .hide_m {
        display: none;
    }
}