@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');
}

@font-face {
  font-display: swap;
  font-family: 'Akaya Kanadaka';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/akaya-kanadaka-v17-latin-regular.eot');
  src: url('../fonts/akaya-kanadaka-v17-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/akaya-kanadaka-v17-latin-regular.woff2') format('woff2'), url('../fonts/akaya-kanadaka-v17-latin-regular.woff') format('woff'), url('../fonts/akaya-kanadaka-v17-latin-regular.ttf') format('truetype'), url('../fonts/akaya-kanadaka-v17-latin-regular.svg#AkayaKanadaka') format('svg');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  font-size: 16px;
}

body {
  color: #000;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2em;
  font-weight: 400;
}

#wrapper {
  max-width: 674px;
  margin: 16px auto;
  border: 1px solid #000;
  background: #4f7dbe url(../images/background.jpg) top left no-repeat;
  position: relative;
}

header {
  position: absolute;
  top: 12px;
  right: 12px;
}

article {
  padding: 70px 170px 6px 48px;
}

footer {
  margin: -76px 0 0;
  padding: 0 28px 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  flex-direction: row-reverse;
  align-items: flex-end;
}

.qrcode {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  flex-direction: column;
  align-items: flex-end;
}

.logo {
  padding: 0 0 8px 6px;
}

p {
  margin: 0 0 16px;
}

strong {
  font-weight: 700;
}

h1 {
  margin: 20px 0;
  font-weight: 700;
  font-size: 29px;
  line-height: 39px;
}

h1 span {
  white-space: nowrap;
}

h2 {
  font-weight: 700;
  font-size: 54px;
  line-height: 58px;
  color: #707273;
  font-family: 'Akaya Kanadaka', Arial, sans-serif;
  margin-bottom: 8px;
}

h2 span {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
}

h3 {
  margin: 0 70px 0 0;
  font-weight: 700;
  font-size: 21px;
  line-height: 25px;
  text-align: center;
}

h3 a {
  color: #707273 !important;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: #000;
  text-decoration: none;
}

@media all and (max-width: 672px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  header {
    right: 16px;
  }

  article {
    padding: 70px 180px 8px 16px;
  }

  footer {
    padding: 0 16px 16px;
  }

  :is(p, h2) {
    hyphens: auto;
    text-wrap: pretty;
  }

  p {
    text-align: left;
  }

  :is(a, span) {
    white-space: nowrap;
  }

  br:not(h1+p br) {
    display: none;
  }
}

@media all and (max-width: 624px) {
  #wrapper {
    background: #727375;
  }

  header {
    position: static;
    display: flex;
    justify-content: center;
    padding: 0 16px 16px;
  }

  article {
    background: #fff;
    padding: 16px;
    position: relative;
    border-radius: 32px;
    margin: 0 16px;
  }

  article:after {
    content: '';
    position: absolute;
    top: 99%;
    right: 95px;
    width: 70px;
    height: 80px;
    clip-path: polygon(64% 0, 0 0, 100% 100%);
    background: #fff;
  }

  footer {
    margin: 0;
    padding: 16px;
  }

  :is(h1, h2, p) {
    text-align: center;
  }

  h3 {
    margin: 0;
  }
}

@media all and (max-width: 424px) {
  footer {
    position: relative;
  }

  .logo {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 0;
  }
}