@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), 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 Condensed';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/roboto-condensed-v27-latin-900.eot');
    src: url('../fonts/roboto-condensed-v27-latin-900.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v27-latin-900.woff2') format('woff2'), url('../fonts/roboto-condensed-v27-latin-900.woff') format('woff'), url('../fonts/roboto-condensed-v27-latin-900.ttf') format('truetype'), url('../fonts/roboto-condensed-v27-latin-900.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Just Another Hand';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/just-another-hand-v19-latin-regular.eot');
    src: url('../fonts/just-another-hand-v19-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/just-another-hand-v19-latin-regular.woff2') format('woff2'), url('../fonts/just-another-hand-v19-latin-regular.woff') format('woff'), url('../fonts/just-another-hand-v19-latin-regular.ttf') format('truetype'), url('../fonts/just-another-hand-v19-latin-regular.svg#JustAnotherHand') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 600px;
    margin: 16px auto;
    border: 1px solid #000;
    background: url('../images/background.jpg') top right no-repeat;
    height: 880px;
    position: relative;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 0 0 4px -44px;
}

.qrcode {
    position: absolute;
    z-index: 3;
    right: 308px;
    bottom: 81px;
}

:is(article, footer) {
    margin: 0 0 0 auto;
    width: 314px;
    padding: 10px 16px;
}

.logo {
    position: absolute;
    z-index: 3;
    right: 0;
    top: 25px;
}

footer a {
    font-size: 22px;
}

h1 {
    margin: 0 0 6px;
    font-weight: 900;
    font-size: 58px;
    line-height: 45px;
    color: #f7ef38;
    font-family: 'Roboto Condensed', Arial, sans-serif;
}

h1 small {
    color: #fff;
    display: block;
    margin: 21px 0 0;
    font-size: 43px;
    font-family: "Just Another Hand", Arial, cursive;
    font-weight: 400;
}

h1 span {
    display: block;
    color: #ed1c24;
    font-size: 48px;
    margin-bottom: 15px;
}

h2 {
    font-family: "Just Another Hand", Arial, cursive;
    padding: 0 0 13px;
    font-weight: 400;
    color: #f7ef38;
    font-size: 48px;
    letter-spacing: 2px;
    line-height: 1.2;
}

h3 {
    font-size: 18px;
    line-height: 23px;
    margin: 0 0 10px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

footer {
    padding-top: 0;
}

@media all and (max-width: 598px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    header img {
        opacity: 0;
    }
}

@media all and (max-width: 580px) {
    #wrapper {
        background: #7acdd0;
        height: auto;
    }

    header img {
        opacity: 1;
    }

    :is(article, footer) {
        width: auto;
        margin: 0;
        padding: 1px 16px 16px;
    }

    .flex {
        margin: 18px 0 0;
        justify-content: center;
    }

    .qrcode {
        position: static;
    }

    h1 {
        line-height: 1;
    }

    :is(h1, h2, p) {
        text-align: center;
    }

    br {
        display: none;
    }
	
	.logo {
    top: 7px;
}
}
