﻿* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html {
    min-height: 100%;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

strong {
    font-weight: 700;
}

#wrapper {
    position: relative;
    max-width: 520px;
    margin: 12px auto;
    border: 1px solid #000;
    overflow: hidden;
    text-align: left;
    font-size: 18px;
    line-height: 20px;
    color: #221c22;
    font-family: 'Hind', sans-serif;
    background-color: #fff;
    font-weight: 300;
}

header {
    padding: 16px;
    display: flex;
    justify-content: center;
}

article {
    border-top: 5px solid #D33E52;
    border-bottom: 5px solid #D33E52;
    padding: 0 16px;
}

article p {
    text-align: right;
}

.qrcode {
    position: relative;
    padding-right: 194px;
}

.qrcode img {
    position: absolute;
    bottom: 5%;
    right: 7%;
}

footer {
    padding: 12px 16px 3px;
}

p {
    margin-bottom: 11px;
    text-align: center;
}

h1 {
    padding: 14px 16px;
    font-size: 27px;
    line-height: 31px;
    margin: 0 -16px 16px;
    background: #D9D9D9;
    text-align: center;
}

a {
    color: #221c22;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.color {
    color: #c70c24;
}

@media (max-width: 519px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    br {
        display: none;
    }

    .qrcode {
        position: relative;
        padding-right: 146px;
    }

    .qrcode img {
        position: absolute;
        bottom: 12%;
        right: 0%;
    }

    a,
    p span {
        white-space: nowrap;
    }
}

@media (max-width: 406px) {
    .img {
        display: flex;
        margin-bottom: 15px;
        justify-content: center;
    }

    .qrcode {
        padding-right: 0;
    }

    .qrcode p {
        text-align: center;
    }

    .qrcode img {
        position: static;
    }
}