@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.5em;
  font-weight: 400;
}

#wrapper {
  max-width: 800px;
  margin: 16px auto;
  border: 1px solid #000;
  background: #b4c934 url(../images/background.jpg) top center no-repeat;
  background-size: 100%;
  position: relative;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 30px 0 16px;
}

.logo {
  padding: 16px 16px 16px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  background: #fff;
  align-items: center;
  flex: 1 1 0;
}

.logo p {
  color: #123250;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
}

.logo p a {
  color: #123250 !important;
}

article {
  padding: 24px;
  background: url(../images/background-top.jpg) top center no-repeat, url(../images/background-bottom.jpg) bottom center no-repeat, #109045;
  background-size: 100%;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
}

.box {
  width: 42%;
}

.box ul {
  font-size: 20px;
  line-height: 24px;
}

.box:last-of-type {
  width: 54%;
}

footer {
  padding: 24px;
}

footer .flex ul {
  width: 24%;
  min-height: 132px;
}

footer .flex ul:not(:first-of-type) {
  border-left: 2px solid #8b99b5;
  width: 40%;
}

footer .flex ul:nth-last-of-type(2) {
  width: 30%;
}

.font {
  text-align: center;
  font-size: 20px;
  line-height: 1.4;
}

strong {
  font-weight: 700;
}

h1 {
  margin: 16px 0;
  font-weight: 700;
  font-size: 34px;
  line-height: 38px;
  text-align: center;
  color: #b4c934;
}

h2 {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 34px;
  line-height: 38px;
}

h3 {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 26px;
  line-height: 30px;
}

h4 {
  margin: 16px 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
}

ul {
  list-style: none;
}

ul li {
  padding-left: 32px;
}

li:before {
  content: '\2022';
  float: left;
  font-size: 24px;
  text-indent: -24px;
}

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: 798px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  header {
    padding: 4% 0 16px;
  }

  :is(.logo, footer) {
    padding: 16px;
  }

  article {
    padding: 30px 16px;
  }

  :is(p, ul, h1) {
    hyphens: auto;
    text-wrap: pretty;
  }

  :is(a, span) {
    white-space: nowrap;
  }

  br:not(.logo br) {
    display: none;
  }
}

@media all and (max-width: 767px) {
  header {
    flex-direction: column;
  }

  figure {
    display: flex;
    justify-content: center;
  }

  .flex {
    display: block;
  }

  :is(.box, footer .flex ul) {
    width: 100% !important;
    min-height: auto;
  }

  footer .flex ul:not(:first-of-type) {
    border: none;
  }
}

@media all and (max-width: 480px) {
  ul li {
    padding-left: 24px;
  }
}

@media all and (max-width: 374px) {
  .font {
    font-size: 18px;
  }
}