@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v30-latin-regular.eot');
  src: local(''), 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-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v30-latin-700.eot');
  src: local(''), 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;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #2A5782;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 558px;
  margin: 16px auto;
  border: 1px solid #D1C3A0;
  padding: 16px 30px 30px;
  overflow: hidden;
  background: #eceeec url('../images/background.jpg') no-repeat bottom center;
  background-size: 100%;
}

h1 {
  margin: 0 0 6px 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: #CBB384;
}

h2 {
  margin: 16px 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.underline {

  border-bottom: 1px solid #D2C6A8;

  width: 77px;

  display: inline-block;

  text-align: right;
}

.underline strong span {
  text-decoration: underline;
  color: #D2C6A8;
}

header {
  display: flex;
  justify-content: center;
  margin: 6px 0 22px;
}

article {
  padding-bottom: 221px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

img {
  max-width: 100%;
  vertical-align: middle;
}



ul {
  margin: 0 0 16px;
  list-style: none;
}

ul li {
  padding-left: 12px;
}

ul li:before {
  content: "\2022";
  color: #2A5782;
  float: left;
  margin-top: -3px;
  font-size: 20px;
  line-height: 1em;
  text-indent: -12px;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

@media all and (max-width:558px) {
  #wrapper {
    margin: 0;
    padding: 16px;
    border: none;
  }

  .flex {
    align-items: flex-end;
  }

  .flex p:nth-of-type(2) {
    white-space: nowrap;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  h1 br {
    display: none;
  }
}

@media all and (max-width:420px) {
  article {
    padding-bottom: 20px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    padding-bottom: 80%;
  }

  footer>div {
    text-align: center;
  }
}