﻿@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v40-latin-regular.eot');
    src: url('../fonts/open-sans-v40-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-regular.woff') format('woff'), url('../fonts/open-sans-v40-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v40-latin-700.eot');
    src: url('../fonts/open-sans-v40-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-700.woff') format('woff'), url('../fonts/open-sans-v40-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.5rem;
    font-size: 1.25rem;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #000;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 470px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

article {
    padding: 14px 1rem 0;
}

footer {
    padding: 12px 1rem 5px;
}

:is(strong, h1) {
    font-weight: 700;
}

h1 {
    margin: 1rem 0;
    font-size: 20px;
    line-height: 28px;
    background: url(../images/iconlist.jpg) no-repeat 0 8px;
    padding: 0 0 0 22px;
}

h1 small {
    font-weight: normal;
    font-size: 100%;
}

h2 {
    font-size: 16px;
    line-height: 21px;
    position: absolute;
    top: -87px;
    right: 4px;
    background: #F1E60B;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    color: #000;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h2 span {
    font-size: 22px;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.highlight {
    box-shadow: inset 0 -0.5em 0 #F1E60B;
}

.qrcode {
    position: relative;
    z-index: 99;
}

.flex p {
    font-size: 1rem;
    width: 231px;
    margin: 0 0 11px;
}

.flex {
    display: flex;
    position: relative;
    align-items: flex-end;
    flex-wrap: wrap;
}

@media all and (max-width:469px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(footer br) {
        display: none;
    }

}

@media all and (max-width:460px) {
    h2 {
        position: static;
    }
}