﻿@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Roboto', Arial, sans-serif;
    color: #231f20;
    font-weight: 400;
}

#wrapper {
    border: solid 5px #79BB65;
    max-width: 615px;
    margin: 1rem auto;
    background: #fff url(../images/background.jpg) no-repeat 0 0;
    overflow: hidden;
    position: relative;
}

header {
    opacity: 0;
}

article {
    position: relative;
    margin-top: -15.5rem;
    padding: 0.625rem;
}

footer {
    position: relative;
    padding: 10px 0.625rem 0.25rem;
}

footer div {
    flex-direction: row-reverse;
    display: flex;
    justify-content: space-between;
    padding: 0 0 0 10px;
}

footer small {
    font-size: 95%;
}

footer p {
    padding-bottom: 12px;
    text-align: right;
    width: 100%;
}

footer img {
    vertical-align: bottom;
}

:is(h1, h3, h2, strong) {
    font-weight: 400;
}

h1 {
    font-size: 20px;
    line-height: 1.35;
    text-transform: uppercase;
    position: relative
}

:is(h1, h4, p) span {
    font-size: 125%;
    white-space: nowrap;
    line-height: 1;
}

.padding {
    padding-left: 16px;
}

.text {
	letter-spacing: 0.125rem;
}

h1 small {
    position: relative;
    font-size: 15px;
    display: block;
    margin-top: 3px;
}

h1 small:nth-of-type(2) {
    display: block;
    top: 0;
}

h1 sup {
    white-space: nowrap;
    font-size: 65%;
}


h2 {
    font-size: 1.4375rem;
    line-height: 1.875rem;
    margin: -1.25rem 0 3.5rem;
}

h3 {
    color: #fff;
    font-size: 21px;
    margin: 0 0 43px;
    line-height: 1.875rem;
}

h4 {
    margin: 4px 0 11px;
    display: block;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    text-transform: uppercase;
}

h4+p {
    font-size: 83%;
    line-height: 1.5;
}

h4 span {
    font-size: 120%;
}

p:not(:last-child) {
    margin-bottom: 0.25rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
    letter-spacing: 0.125rem;
    font-weight: 400;
}

img {
    max-width: 100%;
}

.qrcode {
    transform: translate(8px, -31px);
}

@media screen and (max-width: 615px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    footer div {
        padding: 0;
    }

    p {
        hyphens: auto;
    }

    p br {
        display: none;
    }

    h1 {
        font-size: 1.23875rem;
        line-height: 1.4;
    }

    h1 small {
        top: -6px;
    }
	
	.text {
		letter-spacing: 0;
		white-space: nowrap;
	}

    article {
        margin-top: -45%;
    }

    footer {
        padding: 0 1rem 1rem;
        justify-content: center;
    }

    footer p {
        text-align: center;
    }

    span {
        white-space: nowrap;
    }

    .qrcode {
        transform: translate(0, 0);
    }

    #wrapper {
        background: #fff;
        line-height: 1.5;
    }

    header {
        opacity: 1;
    }

    article {
        margin-top: 0;
        padding: 1rem;
    }

    h3 {
        background: #79BB65;
        padding: 1rem;
    }

    :is(h2, h3) {
        text-align: center;
        margin: 0 0 1rem;
    }

    a {
        letter-spacing: 0 !important;
        white-space: nowrap;
    }

    footer div {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .padding {
        padding-left: 0;
    }

}