@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Concert One';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/concert-one-v21-latin-regular.eot');
    src: url('../fonts/concert-one-v21-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/concert-one-v21-latin-regular.woff2') format('woff2'), url('../fonts/concert-one-v21-latin-regular.woff') format('woff'), url('../fonts/concert-one-v21-latin-regular.ttf') format('truetype'), url('../fonts/concert-one-v21-latin-regular.svg#ConcertOne') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 24px;
    font-size: 17px;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 10px solid #FFD402;
    overflow: hidden;
    padding: 1rem 45px;
    background: #fff url(../images/background.jpg) repeat;
}

article {
    margin: 0 -45px;
    padding: 1rem 45px;
}

footer {
    margin: 0 0 0 -45px;
    background: #FFD402;
    padding: 6px 45px;
    position: relative;
}

footer p {
    margin: 0;
    font-weight: bold;
}

strong {
    font-weight: 700;
}

:is(h1, h2) {
    font-family: "Concert One", Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: 34px;
    line-height: 1;
}

h1 small {
    font-size: 16px;
    display: block;
}

h2 {
    font-size: 48px;
    line-height: 1;
    text-align: center;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.title {
    margin: 0 -45px 20px;
    position: relative;
    background: #FFD402;
    padding: 10px 0 6px 0;
}

.qrcode {
    position: absolute;
    top: 50%;
    right: 1rem;
    background: #FFD402;
    padding: 1rem;
    transform: translateY(-50%);
    width: 283px;
}

.qrcode img {
    position: absolute;
    bottom: 7px;
    right: 95px;
}

.logo {
    position: absolute;
    bottom: 8px;
    right: -1rem;
}

@media all and (max-width:800px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, h2) {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media all and (max-width:740px) {
    footer {
        margin: 0 -1rem;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    #wrapper {
        padding: 1rem
    }

    :is(.qrcode img, .logo) {
        position: static;
    }

    .qrcode {
        position: static;
        display: flex;
        align-items: center;
        transform: none;
        width: auto;
        gap: 1rem;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    article {
        margin: 0 -1rem;
        padding: 1rem;
    }

    .title {
        margin: 0 -1rem 1rem;
        display: flex;
        flex-direction: column;
    }
}

@media all and (max-width:480px) {
    .qrcode {
        justify-content: center;
    }

    :is(h1, p) {
        text-align: center;
    }
}

@media all and (max-width:375px) {
    .link {
        white-space: normal !important;
    }
}