﻿* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html {
    min-height: 100%;
}

#wrapper {
    max-width: 500px;
    margin: 12px auto;
    border: 1px solid #000;
    background: #fff;
    overflow: hidden;
    color: #200e00;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

article {
    padding: 16px 16px 1px;
    position: relative;
}

footer {
    padding: 25px 50px 5px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

h1 {
    margin: 0 0 10px -16px;
    padding: 6px 16px;
    font-size: 21px;
    line-height: 25px;
    font-weight: 700;
    background: #47c6ee;
    color: #fff;
}

h2 {
    font-size: 17px;
    margin: 0 0 10px;
    line-height: 21px;
    font-weight: 700;
}

h3 {
    font-size: 13px;
    margin: 16px 0px;
    line-height: 18px;
    font-weight: 700;
}

a {
    color: #200e00;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

h1 small {
    display: block;
    font-weight: 400;
    font-size: 17px;
    line-height: 21px;
}

h1 strong {
    display: block;
}

.qrcode {
    position: absolute;
    z-index: 3;
    right: 45px;
    top: 16px;
}

footer p:nth-of-type(1) {
    text-align: right;
}

@media all and (max-width: 499px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    .qrcode {
        position: static;
        margin-top: 10px;
    }

    article br {
        display: none;
    }

    footer {
        padding: 16px 16px 10px;
        gap: 16px;
    }
}

@media all and (max-width: 424px) {
    footer p:nth-of-type(1) {
        text-align: left;
    }
}