:root {
  font-size: 16px;
}

@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v25-latin-regular.eot');
  src: url('../fonts/montserrat-v25-latin-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2'),
    url('../fonts/montserrat-v25-latin-regular.woff') format('woff'),
    url('../fonts/montserrat-v25-latin-regular.ttf') format('truetype'),
    url('../fonts/montserrat-v25-latin-regular.svg#Montserrat') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v25-latin-700.eot');
  src: url('../fonts/montserrat-v25-latin-700.eot?#iefix') format('embedded-opentype'),
    url('../fonts/montserrat-v25-latin-700.woff2') format('woff2'),
    url('../fonts/montserrat-v25-latin-700.woff') format('woff'),
    url('../fonts/montserrat-v25-latin-700.ttf') format('truetype'),
    url('../fonts/montserrat-v25-latin-700.svg#Montserrat') format('svg');
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #000;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 920px;
  margin: 16px auto;
  border: 1px solid #777;
  overflow: hidden;
  background: #fff url('../images/background-bottom.jpg') no-repeat bottom right;
}

h1 {
  margin: 16px 0 16px -23px;
  font-size: 29px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  padding: 16px;
  background: url('../images/title.png') no-repeat 0 0;
  background-size: 100% 100%;
  color: #fff;
}

h1 small {
  display: block;
  text-align: right;
  font-size: 17px;
}

h2 {
  margin: 10px 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

h3 {
  background-color: #EAE71A;
  padding: 8px 46px;
  text-align: center;
  position: absolute;
  bottom: -18px;
  left: 116px;
  color: #fff;
  font-size: 24px;
  z-index: 999;
}

h4 {

  margin: 16px;

  font-size: 17px;

  line-height: 1.25;

  font-weight: 700;

  text-align: right;
}

.content {
  width: 36.4%;
  font-size: 14px;
}

.text {
  text-align: justify;
}

p:not(:last-of-type) {
  margin-bottom: 16px;
}

header {
  position: relative;
}

article {
  padding: 20px;
  background: url('../images/background.jpg') no-repeat 0 0;
  background-size: auto 100%;
  position: relative;
  border-top: 12px solid #fff;
}

.title {
  position: absolute;
  top: 7px;
  right: 0;
  width: 57%;
}

footer {
  padding: 22px 15px 33px;
  background: url('../images/background-footer.jpg') no-repeat 0 0;
  background-size: auto 100%;
  font-size: 14px;
  color: #fff;
  line-height: 1.5;
}

.qrcode {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 20px;
}

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:920px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  h1 {
    font-size: 24px;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  .text {
    text-align: left;
  }
}

@media all and (max-width:767px) {
  br:not(footer br) {
    display: none;
  }

  .title {
    position: static;
    margin-right: -16px;
    width: auto;
  }

  h1 {
    margin: 16px 0px 16px 0;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
    padding: 16px 16px 16px 14%;
    background: url(../images/title.png) no-repeat 0 0;
    background-size: 100% 100%;
    color: #fff;
  }

  article {
    padding: 16px;
    background-image: none;
    background-color: #88BCCE;
    border: none;
  }

  footer {
    padding: 16px;
    background-image: none;
    background-color: #008ACB;
  }

  .content {
    width: 100%;
    font-size: 14px;
  }

  h3 {
    padding: 8px 16px;
    position: static;
    font-size: 20px;
  }

  .qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 16px;
    flex-direction: column;
  }

  .qrcode p {
    width: 100%;
  }
}