﻿ :root {
     font-size: 16px;
 }

 * {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
 }

 body {
     font-family: 'Roboto', Arial, sans-serif;
     color: #000;
     line-height: 19px;
     font-size: 1rem;
     font-weight: 400;
 }

 #wrapper {
     position: relative;
     max-width: 700px;
     margin: 1rem auto;
     border: 1px solid #000;
     overflow: hidden;
     padding: 10px 1rem 1rem 1rem;
     background: #fff url(background-desktop.jpg) no-repeat;
     height: 526px;
 }

 header {
     padding: 0 11px;
 }

 article {
     padding: 0 0 0 8px;
 }

 footer {
     margin: 337px 0 0;
 }

 footer p {
     text-shadow: 3px 2px 3px rgba(0, 0, 0, .2);
 }

 :is(strong, h2, h3) {
     font-weight: 700;
 }

 h1 {
     margin: 0 0 10px;
     font-size: 21px;
     line-height: 22px;
     font-weight: normal;
     font-style: italic;
 }

 h2 {
     font-size: 45px;
     margin: 0 0 3px;
     line-height: 1;
     font-style: italic;
 }

 h3 {
     font-size: 0.8125rem;
     margin: 1rem 0;
     line-height: 1.125rem;
 }

 p {
     margin: 0 0 9px;
 }

 :is(a:link, a:visited, a:hover, a:active) {
     color: #000;
     white-space: nowrap;
     text-decoration: none;
 }

 ul {
     margin: 0;
     list-style: none;
 }

 ul li {
     padding-left: 1.25rem;
 }

 ul li:before {
     content: "\2022";
     float: left;
     font-family: Arial, sans-serif;
     font-size: 1.5625rem;
     text-indent: -1.25rem;
 }

 img {
     max-width: 100%;
     vertical-align: bottom;
 }

 .qrcode {
     position: absolute;
     top: 256px;
     right: 0;
     width: 150px;
     line-height: 18px;
 }

 .qrcode img {
     opacity: 0
 }

 .images {
     display: none;
 }

 .logo {
     margin: 0 0 6px;
 }

 @media all and (max-width:699px) {
     #wrapper {
         margin: 0 auto;
         border: none;
         height: auto;
         background: #D9DDE6;
         padding: 1rem;
     }

     :is(p, ul) {
         hyphens: auto;
         text-wrap: pretty;
         text-align: center;
     }

     article {
         padding: 0
     }

     br:not(footer br) {
         display: none;
     }

     .qrcode img {
         opacity: 1
     }

     h1,
     h2 {
         text-align: center;
     }

     footer {
         margin: 1rem 0
     }

     .images {
         display: block;
         margin: 0 -1rem;
     }

     .images img {
         width: 100%;
     }

     .logo {
         display: flex;
         justify-content: center;
         margin: 10px 0;
     }

     .qrcode {
         position: static;
         margin: 14px auto;
         width: 100%;
         display: flex;
         flex-direction: column;
         align-items: center;
     }

     footer p {
         text-align: center;
     }
 }