@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 Slab';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-slab-v34-latin-700.eot');
  src: url('../fonts/roboto-slab-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-slab-v34-latin-700.woff2') format('woff2'), url('../fonts/roboto-slab-v34-latin-700.woff') format('woff'), url('../fonts/roboto-slab-v34-latin-700.ttf') format('truetype'), url('../fonts/roboto-slab-v34-latin-700.svg#RobotoSlab') format('svg');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  font-size: 16px;
}

body {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  font-weight: 400;
}

#wrapper {
  max-width: 460px;
  margin: 16px auto;
  border: 2px solid #000;
  background: #fff;
  position: relative;
}

header {
  position: relative;
}

.title {
  position: absolute;
  left: 6%;
  bottom: 4%;
}

article {
  padding: 16px 24px 10px;
}

article :is(p, p a, h1) {
  color: #000 !important;
}

.qrcode {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}

.qrcode p {
  flex: 1 1 0;
  line-height: 1.2;
}

footer {
  background: #fff url(../images/background.jpg) no-repeat;
  background-size: cover;
  padding: 8px 24px 15px;
}

footer p {
  text-align: center;
  font-size: 17px;
  line-height: 1.2;
}

:is(h1, h2) {
  font-weight: 700;
  font-family: 'Roboto Slab', Arial, sans-serif;
}

h1 {
  margin: 16px 0 8px;
  font-size: 21px;
  line-height: 25px;
}

h1 span {
	white-space: nowrap;
}

h2 {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
}

h3 {
  font-weight: 400;
  font-size: 21px;
  line-height: 25px;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: #fff;
  text-decoration: none;
}

@media all and (max-width: 460px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  header img {
    width: 100%;
  }

  .title {
    left: 16px;
  }

  :is(article, footer) {
    padding: 16px;
  }

  h2 {
    font-size: 8.2vw;
    line-height: 1.2;
  }

  h3 {
    font-size: 4.6vw;
    line-height: 1.2;
  }

  :is(p, h1) {
    hyphens: auto;
    text-wrap: pretty;
  }

  :is(a, span) {
    white-space: nowrap;
  }
}