﻿* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

#wrapper {
  max-width: 610px;
  margin: 16px auto;
  border: 1px solid #000;
  background: url(background.jpg) no-repeat;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

header {
  width: 100%;
}

article {
  padding: 12px 0 14px 34px;
  flex: 1 1 0;
}

footer {
  padding: 12px 20px 18px;
}

footer p {
  font-weight: 300;
}

p {
  margin: 0 0 12px;
}

h1 {
  margin: 16px 0;
  padding-left: 50px;
  font-size: 22px;
  line-height: 29px;
  font-weight: 700;
}

h1 small {
  display: block;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
}

h1:before {
  content: url(icon.png);
  float: left;
  text-indent: -50px;
  margin: 6px 0 0;
}

h2 {
  font-size: 35px;
  line-height: 40px;
  font-weight: 700;
  border-bottom: 2px solid #fff;
}

h3 {
  margin: 16px 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}

a {
  color: #fff;
  text-decoration: none;
}

ul {
  margin: 0 0 10px;
  list-style: none;
}

ul li {
  padding-left: 20px;
}

li:before {
  content: '\2022';
  color: #200e00;
  float: left;
  font-size: 25px;
  text-indent: -20px;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

@media all and (max-width: 608px) {
  #wrapper {
    margin: 0;
    border: none;
    hyphens: auto;
    background: linear-gradient(to bottom, #1677bc 0%, #1677bc 25%, #1677bc 50%, #3a93cf 75%, #56a6db 100%);
  }

  article {
    padding: 12px 0 16px 16px;
  }

  footer {
    padding: 16px;
  }

  footer br {
    display: inline;
  }

  br {
    display: none;
  }
}

@media all and (max-width: 580px) {
  article {
    padding: 16px 16px 0;
  }

  footer {
    width: 100%;
  }

  footer br {
    display: none;
  }
}