:root {
  font-size: 16px;
}

@font-face {
  font-display: swap;
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/nunito-sans-v15-latin-regular.eot');
  src: url('../fonts/nunito-sans-v15-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/nunito-sans-v15-latin-regular.woff2') format('woff2'), url('../fonts/nunito-sans-v15-latin-regular.woff') format('woff'), url('../fonts/nunito-sans-v15-latin-regular.ttf') format('truetype'), url('../fonts/nunito-sans-v15-latin-regular.svg#NunitoSans') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/nunito-sans-v15-latin-700.eot');
  src: url('../fonts/nunito-sans-v15-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/nunito-sans-v15-latin-700.woff2') format('woff2'), url('../fonts/nunito-sans-v15-latin-700.woff') format('woff'), url('../fonts/nunito-sans-v15-latin-700.ttf') format('truetype'), url('../fonts/nunito-sans-v15-latin-700.svg#NunitoSans') format('svg');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 20px;
  font-family: 'Nunito Sans', Arial, sans-serif;
  color: #0B3273;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 710px;
  margin: 16px auto;
  border: 1px solid #0B3273;
  overflow: hidden;
  background: #fff url('../images/background.jpg') no-repeat 0 0;
  height: 508px;
  color: #fff;
}

h1 {
  margin: 16px 0 16px 26px;
  font-size: 17px;
  line-height: 21px;
  font-weight: 400;
  padding-left: 21px;
  background: url('../images/icon.png') no-repeat 0px 2px;
}

h1 small {
  font-size: 11px;
}

h2 {
  margin: 16px 0;
  font-size: 18px;
  line-height: 19px;
  font-weight: 700;
  background: url('../images/background-title.png') bottom left no-repeat;
  padding-bottom: 10px;
}

h3 {
  padding: 14px 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  color: #fff;
  margin: 0 0 41px -85px;
}

h3+p {
  font-size: 15px;
  color: #69C9EF;
}

p:not(:last-of-type) {
  margin-bottom: 7px;
}

header {
  padding: 17px 25px 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

header figure, h3 img {
  display: none;
}

article {
  padding: 0 16px 0 305px;
}

.qrcode {
  position: absolute;
  bottom: 9px;
  left: 17px;
  opacity: 0;
}

.contact {
  position: absolute;
  bottom: 20px;
  left: 336px;
}

footer p {
  position: relative;
}

footer p img {
  position: absolute;
  top: -2px;
  left: -31px;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

: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:708px) {
  #wrapper {
    margin: 0;
    border: none;
    background: #33497a url('../images/background-mobile.jpg') top right no-repeat;
    background-size: cover;
    height: auto;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  br:not(footer br) {
    display: none;
  }

  header figure {
    display: flex;
    justify-content: center;
  }

  header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  article {
    padding: 0 16px 16px;
  }

  .contact {
    position: static;
    padding: 16px;
    text-align: center;
  }

  h3 {
    background: #33497A;
    margin: 0;
    padding: 10px 16px 10px 52px;
    position: relative;
  }

  h3 img {
    display: inline;
    position: absolute;
    top: -12px;
    left: -6px;
  }

  footer p img {
    position: static;
    margin-top: -5px;
    margin-right: 5px;
  }

}
