﻿* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html {
    min-height: 100%;
}

#wrapper {
    max-width: 730px;
    margin: 12px auto;
    border: 1px solid #000;
    background: #fff url('./background.jpg') no-repeat 0 0;
    overflow: hidden;
    color: #686868;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
}

header {
    padding: 5px 10px 3px;
    text-align: right;
}

article {
    padding: 10px 15px 18px 350px;
    position: relative;
    color: #fff;
}

footer {
    padding: 10px 9px;
    font-size: 16px;
    line-height: 18px;
}

p {
    margin: 0 0 16px;
}

h1 {
    margin: 0 0 28px -55px;
    font-size: 28px;
    line-height: 32px;
    font-weight: 700;
}

h2 {
    font-size: 20px;
    margin: 0 0 15px;
    line-height: 24px;
    font-weight: 400;
    text-decoration: underline;
}

h3 {
    font-size: 20px;
    line-height: 22px;
    font-weight: 400;
    padding: 2px 5px;
    border: 3px solid #fff;
    color: #fff;
}

a {
    color: #686868;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

h1 span {
    display: block;
    margin-left: 24px;
    font-size: 27px;
}

.qrcode {
    position: absolute;
    z-index: 3;
    left: 34px;
    bottom: 27px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.flex {
    display: flex;
    justify-content: space-between;
    gap: 0 10px;
    padding: 10px 0 8px;
    align-items: center;
    flex-wrap: wrap;
}

h4 {
    width: 35.5%;
    font-size: 23px;
    font-weight: 400;
}

.flex p {
    margin: 0;
}

.image {
    display: none;
}

@media all and (max-width: 729px) {
    #wrapper {
        margin: 0;
        background: #fff;
        border: none;
    }

    .image {
        display: block;
        margin: -10px 0 10px -15px;
    }

    article {
        background: #e84b4d;
        padding: 10px 15px;
    }

    h1 {
        margin: 0 0 16px;
    }

    h1 span {
        margin-left: 0;
    }

    h4 {
        width: auto;
        display: flex;
        align-items: center;
    }

    .flex :is(p, h4) {
        background: #e7ecee;
        padding: 6px 16px;
    }

    .flex {
        margin: 0 -16px;
        padding: 0;
        align-items: unset;
        gap: 12px;
    }

    .qrcode {
        position: static;
    }
}