:root {
  font-size: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 1.5;
  font-family: Verdana, Geneva, sans-serif;
  color: #242021;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 580px;
  margin: 16px auto;
  border: 1px solid #777;
  overflow: hidden;
  background-color: #fff;
  text-align: center;
}

.block {
  display: block;
}

h1 {
  margin: 16px 0;
  font-size: 29px;
  line-height: 1.25;
  font-weight: 700;
  color: #0075BD;
}

h2 {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

p:not(:last-of-type) {
  margin-bottom: 16px;
}

header {
  margin: 0;
  padding: 0;
}

article {
  padding: 16px 16px 0;
}

footer {
  padding: 16px;
}

img {
  max-width: 100%;
  vertical-align: middle;
}


:is(a:link, a:visited, a:hover, a:active) {
  color: inherit;
  text-decoration: none;
}

@media all and (max-width:580px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  a {
    word-break: break-all;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  br:not(footer br) {
    display: none;
  }
}