:root {
  font-size: 16px;
}

@font-face {
  font-display: swap;
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-condensed-v25-latin-regular.eot');
  src: url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'),
    url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'),
    url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'),
    url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-condensed-v25-latin-700.eot');
  src: url('../fonts/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'),
    url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'),
    url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff'),
    url('../fonts/roboto-condensed-v25-latin-700.ttf') format('truetype'),
    url('../fonts/roboto-condensed-v25-latin-700.svg#RobotoCondensed') format('svg');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 20px;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  color: #000;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 502px;
  margin: 16px auto;
  border: 1px solid #2B3642;
  overflow: hidden;
  background: #fff url('../images/background.jpg') no-repeat 0 0;
}

h1 {
  margin: 0 0 7px 0;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  transform: rotate(-6deg);
  color: #fff;
  padding: 4px 4px 4px 24px;
}

h1+p {
  padding: 16px 0 169px 139px;
  font-size: 23px;
}

h3 {
  margin: -8px 0 20px;
  font-size: 31px;
  line-height: 1.25;
  font-weight: 700;
  color: #343C62;
  transform: rotate(-6deg);
  padding: 0px 4px 4px 14px;
  z-index: 80;
}

p:not(:last-of-type) {
  margin-bottom: 16px;
}

header {
  margin: 0;
  padding: 0;
}

.logo {
  position: absolute;
  top: 110px;
  left: 205px;
  z-index: 99;
}

.qrcode {
  position: relative;
}


.link {
  position: absolute;
  bottom: -1px;
  right: 14px;
  border-bottom: 2px solid #F1D327;
  font-size: 15px;
  z-index: 999;
}

article {
  margin: 0;
  padding: 0;
}

footer {
  display: none;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.qrcodelink {
  position: absolute;
  top: 22%;
  right: 8%;
  width: 14%;
  height: 40%;
}

ul {
  margin: 0 0 16px;
  list-style: none;
}

ul li {
  padding-left: 12px;
}

ul li:before {
  content: "\2022";
  color: #000;
  float: left;
  margin-top: -3px;
  font-size: 20px;
  line-height: 1em;
  text-indent: -12px;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

@media all and (max-width:500px) {
  #wrapper {
    margin: 0;
    border: none;
    background-image: none;
  }

  .logo {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 16px 0;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  br:not(footer br) {
    display: none;
  }

  h3 {
    margin: 24px 0 16px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: #343C62;
    transform: rotate(0deg);
    padding: 0;
    z-index: 80;
  }

  h3 strong {
    margin-left: -16px;
    padding: 4px 16px 4px 32px;
    background-color: #E1E4F0;
  }

  h1 {
    margin: 0 0 0 -16px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    transform: rotate(0deg);
    color: #fff;
    padding: 4px 4px 4px 32px;
    background-color: #2C3642;
  }

  h1+p {
    padding: 16px;
    font-size: 20px;
    text-align: center;
  }

  footer {
    display: block;
    text-align: right;
  }
}