:root {
  font-size: 16px;
}

@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;
}

body {
  font-size: 16px;
  line-height: 1.3;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #061F52;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 640px;
  margin: 16px auto;
  border: 1px solid #777;
  overflow: hidden;
  background: #fff url('../images/background.jpg') no-repeat 0 0;
}

h1 {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 400;
}

h1 strong {
  display: block;
  font-size: 26px;
}

h2 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 700;
}

p:not(:last-of-type) {
  margin-bottom: 16px;
}

article {
  padding: 16px 20px 46px;
  font-size: 14px;
  position: relative;
}

.title {
  padding: 10px 20px;
  color: #fff;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3%;
}

.flex>div {
  width: 50%;
}

.flex>div:nth-of-type(2) {
  width: 46%;
}

.logo {
  position: absolute;
  bottom: 16px;
  right: 20px;
}

footer {
  font-size: 14px;
}

.background {
  padding: 12px 20px;
  background-color: #051E51;
  color: #fff;

}

.background+div {
  padding: 6px 16px;
  text-align: center;
  font-size: 13px;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

ul {
  margin: 0;
  list-style: none;
}

ul li {
  padding-left: 18px;
}

ul li:before {
  content: "\2022";
  color: #061F52;
  float: left;
  margin-top: -1px;
  font-size: 20px;
  line-height: 1em;
  text-indent: -15px;
  font-family: Arial, Helvetica, sans-serif;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

@media all and (max-width:639px) {
  #wrapper {
    margin: 0;
    border: none;
    background-image: none;
  }

  article {
    padding: 16px 16px;
  }

  .title {
    padding: 10px 16px;
  }

  .background {
    padding: 12px 16px;
  }

  .title {
    background-color: #1A2F59;
  }

  .flex {
    padding-bottom: 60px;
    flex-direction: column;
    gap: 12px;
  }

  .flex>div {
    width: 100% !important;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  br:not(footer br) {
    display: none;
  }

  span {
    white-space: nowrap;
  }
}