:root {
  font-size: 16px;
}

@font-face {
  font-display: swap;
  font-family: 'Encode Sans Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/encode-sans-condensed-v10-latin-regular.eot');
  src: url('../fonts/encode-sans-condensed-v10-latin-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/encode-sans-condensed-v10-latin-regular.woff2') format('woff2'),
    url('../fonts/encode-sans-condensed-v10-latin-regular.woff') format('woff'),
    url('../fonts/encode-sans-condensed-v10-latin-regular.ttf') format('truetype'),
    url('../fonts/encode-sans-condensed-v10-latin-regular.svg#EncodeSansCondensed') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Encode Sans Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/encode-sans-condensed-v10-latin-700.eot');
  src: url('../fonts/encode-sans-condensed-v10-latin-700.eot?#iefix') format('embedded-opentype'),
    url('../fonts/encode-sans-condensed-v10-latin-700.woff2') format('woff2'),
    url('../fonts/encode-sans-condensed-v10-latin-700.woff') format('woff'),
    url('../fonts/encode-sans-condensed-v10-latin-700.ttf') format('truetype'),
    url('../fonts/encode-sans-condensed-v10-latin-700.svg#EncodeSansCondensed') format('svg');
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 20px;
  font-family: 'Encode Sans Condensed', Arial, sans-serif;
  color: #44484B;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 800px;
  margin: 16px auto;
  border: 1px solid #777;
  overflow: hidden;
  background: #eeeff1 url('../images/background.jpg') no-repeat 0 0;
}

strong {
  font-weight: 700;
}

h1 {
  margin: 16px 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 400;
  margin-left: -24px;
  padding-left: 24px;
  background: url('../images/icon.png') no-repeat center left;
}

h2 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  font-style: italic;
  color: #172C5B;
}

p:not(:last-of-type) {
  margin-bottom: 16px;
}

header {
  padding: 16px 18px 2px;
  text-align: right;
  position: absolute;
  top: 0;
  right: 0;
}

.text {
  flex: 1 1 0;
  text-align: justify;
}

article {
  padding: 70px 16px 8px 20px;
}

footer {
  text-align: center;
  font-size: 14px;
  padding: 5px 16px;
}

.qrcode {
  position: absolute;
  bottom: 25px;
  right: 21px;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
  color: #172C5B;
}

.qrcode div {
  position: relative;
}

.qrcode div strong {
  position: absolute;
  top: 5px;
  left: -49px;
  text-align: right;
  font-size: 13px;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 38px;
}

.title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 60px 42px 99px;
  gap: 16px;
}

.fix {
  position: absolute;
  bottom: 6px;
  left: 97px;
  font-size: 14px;
  line-height: 1.25;
}

.box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 36px;
}

.box>div {
  position: relative;
}

.box .text {
  margin-top: 26px;
}

img {
  max-width: 100%;
  vertical-align: middle;
}



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;
}

span {
  white-space: nowrap;
}

@media all and (max-width:800px) {
  #wrapper {
    margin: 0;
    border: none;
    background-size: cover;
    background-position: center center;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  .text {
    text-align: left;
  }

  .flex .text {
    margin-top: 20px;
  }
}

@media all and (max-width:767px) {
  .flex {
    flex-direction: column;
  }

  article {
    padding: 16px 16px 8px;
  }

  header {
    position: static;
    text-align: center;
  }

  .title {
    flex-direction: column;
    padding: 16px 0;
    text-align: center;
    justify-content: center;
  }

  .title>div {
    width: 100%;
  }

  .title>div img {
    margin: 0 auto;
  }

  h2 {
    text-align: center;
  }

  h1 {
    margin-left: 0;
  }

  .fix {
    position: absolute;
    bottom: 5px;
    left: 97px;
    font-size: 14px;
    line-height: 1.2;
  }

  .box {
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    margin-bottom: 16px;
  }

  .qrcode {
    position: static;
    bottom: 25px;
    right: 21px;
    text-align: center;
    font-size: 12px;
    line-height: 1.3;
    color: #172C5B;
    width: 180px;
    margin: 0 auto;
  }

  .flex .text {
    margin-top: 0;
  }
}

@media all and (max-width:360px) {
  .fix {
    font-size: 4vw;
    left: 30%;
  }
}