html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%; }

.circles {
  width: 180px;
  position: absolute;
  left: 50%;
  margin-left: -90px;
  top: 0;
  padding: 15px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }
  @media only screen and (min-width: 345px) {
    .circles {
      width: 345px;
      margin-left: -172.5px; } }
  @media only screen and (min-width: 675px) {
    .circles {
      width: 675px;
      margin-left: -337.5px;
      height: 345px;
      top: 50%;
      margin-top: -172.5px; } }

.circles a {
  width: 150px;
  height: 150px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  border: 1px solid #E5E5E5;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-color: #FFF;
  background-size: 50% auto;
  opacity: 0.75;
  float: left;
  position: relative;
  overflow: hidden;
  font-family: arial;
  font-size: 10px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 15px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }
  @media only screen and (min-width: 345px) {
    .circles a + a {
      margin-left: 15px; } }
  @media only screen and (min-width: 345px) and (max-width: 675px) {
    .circles a:nth-child(2n + 1) {
      clear: left;
      margin-left: 0; } }
  @media only screen and (min-width: 675px) {
    .circles a:nth-child(4n + 1) {
      clear: left;
      margin-left: 0; } }
  .circles a:hover {
    border-radius: 0;
    opacity: 1;
    background-position: 50% 30px; }
    .circles a:hover img {
      opacity: 1; }
    .circles a:hover span {
      bottom: 0; }
  .circles a span {
    position: absolute;
    left: 0;
    bottom: -22px;
    background: rgba(0, 0, 0, 0.75);
    WIDTH: 100%;
    display: block;
    z-index: 100;
    padding: 4px 8px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s; }
  .circles a.email {
    background-image: url("/i/hp-icons/email.png"); }
  .circles a.ot {
    background-image: url("/i/hp-icons/opentable.png"); }
    .circles a.ot:hover {
      background-image: url("/i/hp-icons/opentable-colour.png"); }
  .circles a.github {
    background-image: url("/i/hp-icons/github.png"); }
  .circles a.instagram {
    background-image: url("/i/hp-icons/instagram.png"); }
  .circles a.stackoverflow {
    background-image: url("/i/hp-icons/stackoverflow.png"); }
  .circles a.twitter {
    background-image: url("/i/hp-icons/twitter.png"); }
  .circles a.superstars {
    background-image: url("/i/hp-icons/superstars.png"); }
    .circles a.superstars:hover {
      background-color: #FC0;
      background-image: url("/i/hp-icons/superstars-colour.png"); }
  .circles a.linkedin {
    background-image: url("/i/hp-icons/linkedin.png"); }

img {
  opacity: 0;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  width: 150px;
  height: 150px; }
  .stackoverflow img {
    position: absolute;
    top: 0px;
    BORDER-top: 46px solid white;
    BORDER-bottom: 46px solid white;
    right: 10px;
    height: auto;
    width: auto; }
