:root {
  font-size: 16px;
}

@font-face {
  font-display: swap;
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/ubuntu-v20-latin-regular.eot');
  src: url('../fonts/ubuntu-v20-latin-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ubuntu-v20-latin-regular.woff2') format('woff2'),
    url('../fonts/ubuntu-v20-latin-regular.woff') format('woff'),
    url('../fonts/ubuntu-v20-latin-regular.ttf') format('truetype'),
    url('../fonts/ubuntu-v20-latin-regular.svg#Ubuntu') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/ubuntu-v20-latin-700.eot');
  src: url('../fonts/ubuntu-v20-latin-700.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ubuntu-v20-latin-700.woff2') format('woff2'),
    url('../fonts/ubuntu-v20-latin-700.woff') format('woff'),
    url('../fonts/ubuntu-v20-latin-700.ttf') format('truetype'),
    url('../fonts/ubuntu-v20-latin-700.svg#Ubuntu') format('svg');
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 1.3;
  font-family: 'Ubuntu', Arial, sans-serif;
  color: #000;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 750px;
  margin: 16px auto;
  border: 1px solid #777;
  padding: 0;
  overflow: hidden;
  background-color: #fff;
  font-size: 13px;
  background: #fff url('../images/background.jpg') no-repeat 0 0;
}

h1 {
  margin: 94px 0;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  padding: 9px 16px 9px 28px;
  color: #fff;
  background-color: #CF3B95;
}

h1:before {
  content: "\2022";
  color: #fff;
  float: left;
  margin-top: 9px;
  font-size: 20px;
  line-height: 1em;
  text-indent: -12px;
}

h2 {
  margin: 0 0 6px 0;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

h3 {
  margin: 20px 0 6px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  color: #00AFA5;
}

h3.color {
  color: #7FC241;
}

h5 {
  font-size: 47px;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
  background-color: #00AFA5;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  padding: 11px 17px 11px;
}

h6 {
  font-size: 29px;
  line-height: 1.125;
  padding: 35px 16px 64px 16px;
  color: #fff;
  background: url('../images/bg-title.png') no-repeat 0 0;
}

h6 strong {
  display: block;
  margin-top: 10px;
  font-size: 65px;
}

p:not(:last-of-type) {
  margin-bottom: 16px;
}

header {
  margin: 0;
  padding: 0;
}

.background {
  background-color: #CEEBE9;
  padding: 16px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

article {
  display: flex;
  flex-direction: column;
  padding: 0;
  align-items: flex-end;
  margin: -10px 0 46px;
}

.logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding-bottom: 18px;
  position: relative;
}

.logo>img {
  position: absolute;
  top: 0px;
  left: 158px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

.social {
  padding: 0 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px 18px;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

ul {
  margin: 0 0 16px;
  list-style: none;
}

ul li {
  padding-left: 18px;
  background: url('../images/iconlist.jpg') no-repeat 0 2px;
  margin: 5px 0;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}



@media all and (max-width:750px) {
  #wrapper {
    margin: 0;
    padding: 0;
    border: none;
    background-size: 100%;
  }

  article {
    margin: 0 0 20px;
  }

  h1 {
    margin: 20px 0;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  .logo {
    order: -1;
    padding: 16px;
    width: 100%;
    gap: 16px;
    justify-content: space-between;
  }

  .logo>img {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media all and (max-width:490px) {
  .logo {
    flex-direction: column;
  }

  .logo>img {
    position: static;
  }

  .logo>div {
    width: 100%;
  }

  h6 strong {
    font-size: 16vw;
  }

  h5 {
    font-size: 10vw;
    margin-top: 16px;
  }
}