:root {
  font-size: 16px;
}

@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v30-latin-regular.eot');
  src: 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-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v30-latin-700.eot');
  src: 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: 17px;
  line-height: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #000;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 480px;
  margin: 16px auto;
  border: 1px solid #000;
  overflow: hidden;
  background-color: #fff;
}

h1 {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 400;
  color: #231f20;
  text-align: justify;
}

h2 {
  margin: 16px 0;
  font-size: 38px;
  line-height: 1;
  font-weight: 700;
  color: #231f20;
}

.qrcode {
  position: relative;
  padding-right: 110px;
}

.qrcode img {
  position: absolute;
  right: 7px;
  bottom: -17px;
}

p:not(:last-of-type) {
  margin-bottom: 16px;
}

header {
  margin: 0;
  padding: 0;
}

article {
  padding: 18px 16px 25px 26px;
  color: #6D6E70;
}

footer .flex {
  padding: 16px 26px 16px 137px;
  background-color: #FFF101;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer section {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

small {
  color: #6D6E70;
  display: block;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

figure {
  position: absolute;
  bottom: 8px;
  left: 8px;
}

@media all and (max-width:480px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  br:not(footer br) {
    display: none;
  }

  article {
    padding: 16px;
  }

  .qrcode {
    display: flex;
    padding-right: 0;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .qrcode img {
    position: static;
  }

  h1 {
    text-align: left;
  }

  h1 small {
    display: inline;
  }
}