@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: 500;
  src: url('../fonts/roboto-v30-latin-500.eot');
  src: url('../fonts/roboto-v30-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-500.woff2') format('woff2'), url('../fonts/roboto-v30-latin-500.woff') format('woff'), url('../fonts/roboto-v30-latin-500.ttf') format('truetype'), url('../fonts/roboto-v30-latin-500.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: 1rem;
}

body {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  font-weight: 400;
}

#wrapper {
  max-width: 760px;
  margin: 16px auto;
  border: 1px solid #000;
  background: #fff url(../images/background.jpg) no-repeat;
  position: relative;
  background-size: cover;
}

header {
  padding: 0;
}

article {
  padding: 0 60px;
  margin: -8px 0 0;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 56px;
  align-items: flex-end;
}

.flex p {
  flex: 1 1 0;
  margin: 0;
}

.title {
  margin: 36px 0 0;
  padding: 20px 20px 78px;
  background: #fff;
}

footer {
  position: relative;
}

footer div {
  padding: 52px 60px 60px 427px;
  position: relative;
  z-index: 10;
}

.font {
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
  margin: 48px 0 0;
}

.font a {
  color: #f36f21 !important;
}

figure {
  position: absolute;
  left: 0;
  bottom: 0;
}

p {
  margin: 0 0 10px;
}

strong {
  font-weight: 700;
}

h1 {
  margin: 18px 0 16px 62px;
  padding-left: 10px;
  font-weight: 500;
  font-size: 21px;
  line-height: 25px;
  color: #231f20;
  position: relative;
}

h1 span {
  font-weight: 400;
}

h1:before {
  content: '\2022';
  float: left;
  font-size: 16px;
  text-indent: -10px;
  position: absolute;
}

h2 {
  font-weight: 700;
  font-size: 23px;
  line-height: 28px;
  color: #231f20;
}

h3 {
  margin: 0 0 9px;
  font-weight: 700;
  font-size: 21px;
  line-height: 25px;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: #fff;
  text-decoration: none;
}

@media all and (max-width: 758px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  article {
    padding: 0 16px;
    margin: 0;
  }

  .flex {
    gap: 16px;
  }

  .title {
    padding: 16px;
  }

  footer div {
    padding-right: 16px;
  }

  h1 {
    margin-left: 0;
  }

  :is(h1, h2) {
    text-align: center;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  :is(a, span:not(h2 span)) {
    white-space: nowrap;
  }

  br:not(footer br) {
    display: none;
  }
}

@media all and (max-width: 676px) {
  .flex {
    flex-direction: column;
    align-items: center;
  }

  .flex p {
    width: 100%;
  }

  footer div {
    padding: 16px;
  }

  footer div :is(h3, p) {
    text-align: center;
  }

  figure {
    position: static;
    display: flex;
    justify-content: center;
  }
}