@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v35-latin-regular.eot');
  src: url('../fonts/open-sans-v35-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-regular.woff') format('woff'), url('../fonts/open-sans-v35-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v35-latin-700.eot');
  src: url('../fonts/open-sans-v35-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-700.woff') format('woff'), url('../fonts/open-sans-v35-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-700.svg#OpenSans') format('svg');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  font-size: 16px;
}

body {
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4em;
  font-weight: 400;
}

#wrapper {
  max-width: 820px;
  margin: 16px auto;
  border: 1px solid #000;
  background-color: #154f7e;
  position: relative;
}

:is(header, footer) {
  padding: 10px;
}

article {
  padding: 10px 10px 6px;
  background: url(../images/background.jpg) center no-repeat;
  background-size: cover;
}

article p:first-of-type {
  font-size: 0.975rem;
}

.text {
  text-align: center;
  margin: 0;
}

.margin {
  display: inline-block;
  margin-right: 16px;
}

.logo {
  display: flex;
  justify-content: center;
  margin: 16px 0 0;
}

footer p {
  font-size: 17px;
  line-height: 1.5;
}

.font {
  font-size: 30px;
  line-height: 0;
  position: relative;
  top: 4px;
}

p {
  margin: 0 0 16px;
  text-align: justify;
  hyphens: auto;
}

strong {
  font-weight: 700;
}

h1 {
  margin: 16px 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 32px;
}

h1 small {
  display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}

h1 span {
  font-size: 20px;
  line-height: 24px;
}

h2 {
  font-weight: 400;
  font-size: 52px;
  line-height: 56px;
  text-align: center;
}

h3 {
  margin: 0 0 2px;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
}


ul {
  margin: 0 0 16px;
  list-style: none;
}

ul li {
  padding-left: 16px;
  margin: 0 0 2px;
}

li:before {
  content: '\2022';
  float: left;
  font-size: 28px;
  text-indent: -16px;
}

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: 820px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  :is(header,
    article, footer) {
    padding: 16px;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  p {
    text-align: left;
  }

  :is(a, span) {
    white-space: nowrap;
  }

  br:not(footer br) {
    display: none;
  }
}

@media all and (max-width: 767px) {
  .flex {
    display: block;
  }

  .flex section {
    width: 100%;
  }
}