: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: 1.1;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2B3C58;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 800px;
  margin: 16px auto;
  border: 1px solid #777;
  padding: 16px;
  overflow: hidden;
  background-color: #fff;
  background: #fff url('../images/background.jpg') no-repeat 0 0;
}

h1 {
  margin: 58px 0 6px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

h2 {
  margin: 11px 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
}

h3 {
  margin: 54px 0 0;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  color: #F75E5E;
}

h4 {
  margin: 16px 0;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  color: #DA0404;
}

h5 {
  margin: 40px 0 34px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: #F75E5E;
  text-align: center;
}

h5 strong {
  color: #DA0404;
}

p:not(:last-of-type) {
  margin-bottom: 16px;
}

header {
  margin: 0;
  padding: 0;
}

.logo {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  gap: 4px;
  position: absolute;
  top: 8px;
  right: 8px;
}

.check {
  padding-left: 36px;
  font-size: 13px;
  line-height: 1.2;
  background: url('../images/check.png') no-repeat 0 0;
  margin-top: 12px;
}

.info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-left: 15px;
}

.info>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

article {
  margin: 0;
  padding: 0;
}

.mission {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  margin: 12px 0 12px;
}

.mission>div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 19px;
}

.mission>div p {
  margin-bottom: 0;
  text-align: center;
}

.icon {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 6px;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer {
  margin: 0;
  padding: 0;
  position: absolute;
  left: 38%;
  bottom: 0;
}

footer span {
  color: #F75E5E;
  display: block;
  margin-bottom: 5px;
  font-size: 1.1em;
}

footer p {
  text-align: center;
  margin-bottom: 33px;
  font-size: 16px;
  line-height: 1.4;
}

footer strong {
  display: block;
  color: #DA0404;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

ul {
  margin: 0 0 16px;
  list-style: none;
}

ul li {
  padding-left: 20px;
}

ul li:before {
  content: "\2022";
  color: #2B3C58;
  float: left;
  margin: -3px 0 0 -20px;
  font-size: 23px;
  line-height: 1em;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

figure {
  display: none;
}

span {
  white-space: nowrap;
}

@media all and (max-width:800px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  p {
    hyphens: auto;
    text-wrap: pretty;
  }

  .info {
    padding-left: 0;
  }
}

@media all and (max-width:767px) {
  #wrapper {
    padding: 0;
    background-image: none;
  }

  figure {
    display: block;
  }

  h5 {
    margin: 16px 0;
  }

  h3 {
    margin: 0;
  }

  .logo {
    flex-direction: column;
    right: auto;
    left: 8px;
  }

  .pad {
    padding: 16px;
  }

  h1 {
    margin: 16px 0 6px;
  }

  .info {
    gap: 16px;
  }

  article {
    padding: 0 16px;
  }

  footer {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
    flex-direction: column;
  }

  .mission {
    justify-content: space-between;
  }

  footer p {
    margin-bottom: 16px;
  }
}


@media all and (max-width:576px) {
  .flex {
    flex-direction: column;
  }

  .flex>div {
    width: 100%;
  }

  article br {
    display: none;
  }

  .icon p {
    flex: 1 1 0;
  }
}

@media all and (max-width:548px) {
  .logo {
    flex-direction: row;
    right: auto;
    left: 8px;
    gap: 5px;
  }

  .check {
    text-shadow: 1px 1px 1px rgba(255, 255, 255, .75);
    margin-top: 5px;
  }
}

@media all and (max-width:348px) {
  .logo img {
    width: 90px;
  }

}