@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v30-latin-regular.eot');
  src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v30-latin-700.eot');
  src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  font-size: 16px;
}

body {
  color: #000;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
}

#wrapper {
  max-width: 532px;
  margin: 0.75rem auto;
  border: 2px solid #2A230A;
  padding: 0.625rem 15px;
  background: #fff url(../images/background.jpg) center no-repeat;
  background-size: cover;
  position: relative;
  height: 993px;
}

header {
  position: absolute;
  top: 1.375rem;
  left: 1rem;
}

:is(p, ul){
  font-size: 14px;
}

footer p {
  margin: 0;
}

p {
  margin: 0 0 15px;
  text-align: justify;
  hyphens: auto;
}

strong {
  font-weight: 700;
}

h1 {
  margin: 1.625rem 0 2.25rem;
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  text-align: center;
}

h1 small {
  font-size: 1.1875rem;
  line-height: 1.4375rem;
}

h1 span {
  display: block;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.3125rem;
  margin: 0 0 0.875rem;
}

h2 {
  margin: 20px 0 0 96px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.625rem;
  text-align: center;
}

h3 {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.375rem;
}

ul {
  margin: 0 0 15px;
  list-style: none;
}

ul li {
  padding-left: 0.75rem;
}

li:before {
  content: '\2022';
  float: left;
  font-size: 23px;
  text-indent: -0.875rem;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: #000;
  text-decoration: none;
}

@media all and (max-width: 532px) {
  #wrapper {
    margin: 0;
    border: none;
    hyphens: auto;
    height: auto;
  }

  header {
    top: 1rem;
  }

  p {
    text-align: left;
  }

  :is(a, p span) {
    white-space: nowrap;
  }

  footer br {
    display: inline;
  }

  br {
    display: none;
  }
}

@media all and (max-width: 470px) {
  header {
    position: static;
    display: flex;
    justify-content: center;
  }

  h1{
    font-size: 30px;
  }

  h2{
    margin-left: 0;
  }
}