v: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: #000;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 630px;
  margin: 16px auto;
  border: 1px solid #777;
  overflow: hidden;
  background-color: #fff;
}

h1 {
  font-size: 22px;
  line-height: 1.375;
  font-weight: 400;
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 25px 30px;
  background-color: rgba(232, 227, 207, 0.8);
  text-align: center;
}

h1 strong {
  display: block;
}

h2 {
  margin: 16px 0 10px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

h3 {
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  position: absolute;
  bottom: 0;
  right: 20px;
}

h3 strong {
  display: inline-block;
  padding: 4px 15px;
  background-color: #E7E1CD;
  color: #4A9097;
  font-size: 23px;
  line-height: 1.2;
  transform: rotate(-6deg);
  margin: 0 0 12px;
}

p {
  margin-bottom: 16px;
  text-align: justify;
  hyphens: auto;
}

.padding {
  padding-right: 260px;
}

header {
  position: relative;
}

article {
  padding: 16px 16px 7px;
  position: relative;
}

footer {
  padding: 13px 16px 16px 16px;
  background: #fff url('../images/background.jpg') no-repeat 11px 0;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

@media all and (max-width:630px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
    text-align: left;
  }

  .padding {
    padding-right: 0;
  }

  h3 {
    position: static;
    margin-top: 24px;
  }

  h3 strong {
    margin: 0 0 16px;
  }
}

@media all and (max-width:478px) {
  h1 {
    position: static;
    padding: 16px;
  }
}