/* RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

:focus {
  outline: 0;
}

body {
  background: #efefef;
}

body {
  color: #000;
  font: 16px/1.6 "helvetica neue", helvetica, arial, sans-serif;
}

p, ul, ol, dd, pre {
  margin-bottom: 20px;
}

a:link, a:visited {
  color: #AB8CA1;
  text-decoration: none;
}

a:focus, a:hover {
  text-decoration: underline;
}

a:active {
  position: relative;
  top: 1px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  clear: both;
}

#wrapper {
  background: #fff;
  margin: 20px auto;
  padding: 20px 50px;
  max-width: 600px;
  border-radius: 3px;
  box-shadow: 1px 1px 3px #ccc;
}

#header {
  padding: 40px 40px 30px 40px;
  text-align: center;
}

#header .avatar {
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border: 10px solid #3D434A;
  margin: 0 auto 20px auto;
  display: block;
  width: 128px;
  height: 128px;
  overflow: hidden;
}

#header .avatar img {
  width: 110%;
  height: 110%;
  margin-left: -6px;
}

/* Small tablets */
@media all and (min-width: 480px) and (max-width: 720px) {
  #wrapper {
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* Phones */
@media all and (max-width: 479px) {
  #wrapper {
    margin: 0;
    border-left: none;
    border-right: none;
    padding: 10px;
  }
  #header {
    padding: 20px;
  }
  #header h1 a {
    font-size: 40px;
  }
}

/* Ultra small screens */
@media all and (max-width: 241px) {
  #wrapper {
    border: none;
  }
  #header h1 a {
    font-size: 30px;
  }
}