:root {
  font-size: 16px;
}

@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;
}

body {
  font-size: 16px;
  line-height: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #fff;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 480px;
  margin: 16px auto;
  border: 1px solid #777;
  overflow: hidden;
  background-color: #fff;
}

h1 {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

h2 {
  margin: 30px 0 16px;
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
}

h2+p {
  font-size: 13px;
  line-height: 1.3;
}

h3 {
  position: absolute;
  top: 2.5%;
  right: 3%;
  color: #3A393A;
  font-size: 17px;
  line-height: 1.2;
  text-align: right;
}

h3 a {
  background-color: #EE1D25;
  padding: 2px;
  color: #fff !important;
  font-size: 0.8125em;
  font-weight: normal;
}

article {
  padding: 24px 24px 16px;
  background: url('../images/background.jpg') no-repeat 0 0;
}

footer {
  position: absolute;
  bottom: 12px;
  right: 24px;
}

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:480px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  article {
    padding: 16px;
    background-image: none;
    background-color: #EE1D25;
  }

  footer {
    padding: 16px;
    background: #fff;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: static;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  br:not(footer br, h3 br) {
    display: none;
  }

  h3 {
    font-size: 3vw;
  }
}