* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

strong {
    font-weight: 700;
}

#wrapper {
    max-width: 508px;
    margin: 12px auto;
    border: 2px solid #231f20;
    background-color: #fff;
    overflow: hidden;
    color: #231f20;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

.block {
    display: block;
}

header {
    margin: 8px 0 2px;
}

header p,
.p {
    background: #b8d1ed;
    padding: 10px 10px;
    margin-top: 10px;
    margin-left: -2px;
    font-size: 17px;
}

.title {
    border-bottom: #b8d1ed 6px solid;
    padding: 8px 16px;
}

article {
    padding: 2px 0;
}

article p:last-child {
    padding-top: 0;
}

p small {
    display: block;
}

.qrcode {
    justify-content: space-between;
    padding: 6px 15px 10px 10px;
    border: none;
    display: flex;
    gap: 45px;
    align-items: flex-end;
}

.text {
    padding: 10px;
    background: #b8d1ed;
    line-height: 20px;
    font-size: 16px;
}

h1 {
    font-size: 16px;
    line-height: 21px;
    text-align: center;
    font-weight: 400;
}

h1 strong {
    font-size: 25px;
    line-height: 1.125;
}

h1>small {
    font-size: 16px;
    font-weight: normal;
    display: block;
}

h1+p {
    text-align: center;
    line-height: 1.25;
}

a {
    color: #231f20;
    text-decoration: none;
    white-space: nowrap
}

.a {
    font-size: 17px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

footer span {
    white-space: nowrap;
}

.font {
    font-size: 17px;
    font-weight: normal;
    line-height: 22px;
    position: relative;
    top: 2px;
}

.font-size {
    font-size: 16px;
    font-weight: normal;
}

.p {
    background: #b7d0ec;
    padding: 4px 11px 8px;
    margin-top: 0;
}

.border-none {
    border-bottom: none;
}

@media (max-width: 507px) {
    #wrapper {
        border: none;
        padding-right: 0;
        overflow: hidden;
        height: auto;
        margin: 0;
    }

    article {
        padding: 1px 0 3px;
        margin: 0;
    }

    .qrcode {
        text-align: center;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        margin: 0;
        padding: 10px 16px 16px;
    }

    .qrcode p {
        padding: 0 0 10px;
    }

    footer br,
    .no {
        display: none;
    }

    h1 {
        font-size: 23px;
        line-height: 1.1;
        margin-top: 6px;
    }

    .text,
    header p {
        text-align: center;
    }

    span {
        white-space: nowrap;
    }
}