﻿* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html {
    min-height: 100%;
}

#wrapper {
    max-width: 640px;
    margin: 12px auto;
    border: 1px solid #000;
    background: #fff url('./background.jpg') no-repeat 0 0;
    overflow: hidden;
    color: #200e00;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    position: relative;
}

header {
    position: relative;
}

header img {
    opacity: 0;
}

article {
    padding: 0 16px;
}

footer {
    padding: 8px 16px;
    background: #ed1c24;
    color: #fff;
    position: relative;
}

footer a {
    color: #fff;
}

h1 {
    padding: 2px 17px;
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 153px;
    color: #fff;
}

h2 {
    font-size: 22px;
    margin: 16px 0px;
    line-height: 26px;
    font-weight: 700;
}

h3 {
    font-size: 13px;
    margin: 16px 0px;
    line-height: 18px;
    font-weight: 700;
}

header a {
    content: "";
    position: absolute;
    top: 10%;
    right: 2%;
    width: 34%;
    height: 34%;
    z-index: 9999;
}

a {
    color: #200e00;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 16px;
    line-height: 20px;
}

.marginbot {
    margin-bottom: 17px;
}

.text {
    padding: 10px;
    margin-bottom: 10px;
    background: rgba(254, 251, 171, 0.7);
}

h1 span {
    font-size: 34px;
    line-height: 40px;
}

.margin {
    position: absolute;
    z-index: 3;
    left: 61px;
    top: 164px;
    font-size: 17px;
    line-height: 32px;
    text-indent: 270px;
}

.fontsize {
    font-size: 20px;
    line-height: 21px;
}

.qrcode {
    position: absolute;
    z-index: 3;
    right: 19px;
    top: -117px;
}

.padding {
    background: #fff;
    padding: 8px 16px;
    margin-left: -16px;
}

@media all and (max-width: 639px) {
    #wrapper {
        margin: 0;
        border: none;
        background: url('./background_mobile.jpg') no-repeat 0 0;
        background-size: cover;
    }

    header img {
        opacity: 1;
    }

    article {
        padding-top: 10px;
    }

    h1 {
        background: #ed1c24;
        position: static;
        margin-bottom: 10px;
    }

    h1 span {
        font-size: 26px;
    }

    .margin {
        position: static;
        text-indent: 0;
        line-height: 20px;
        margin-bottom: 12px;
    }

    .qrcode {
        position: static;
        margin-top: 10px;
    }

    .margin br {
        display: none;
    }
}