*{
  margin: 0;
  padding: 0;
  font-family: avenir, sans-serif;
  font-weight: 200;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
html{
  background: #343535;
}

.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  70% {
    transform: translateY(0px);
  }
  80% {
    transform: translateY(-10px);
  }
  90% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}
@-webkit-keyframes bounce {
  0% {
    -webkit-transform: translateY(0);
  }
  70% {
    -webkit-transform: translateY(0px);
  }
  80% {
    -webkit-transform: translateY(-15px);
  }
  90% {
    -webkit-transform: translateY(5px);
  }
  100% {
    -webkit-transform: translateY(0);
  }
}


/* Mobile-first */



#hero .logo{
  position: relative;
}
#pull-logo{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.bolt {
  animation: bounce 3s ease alternate 1;
  -webkit-animation: bounce 3s ease 1;

}

  .container{
    max-width: 1024px;
    margin: auto;
  }
  #hero{
    z-index: 1;
    position: relative;
    height: 550px;
    background-image: -ms-linear-gradient(top, #2CC2EB 0%, #00A3EF 100%);
    background-image: -moz-linear-gradient(top, #2CC2EB 0%, #00A3EF 100%);
    background-image: -o-linear-gradient(top, #2CC2EB 0%, #00A3EF 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #2CC2EB), color-stop(1, #00A3EF));
    background-image: -webkit-linear-gradient(top, #2CC2EB 0%, #00A3EF 100%);
    background-image: linear-gradient(to bottom, #2CC2EB 0%, #00A3EF 100%);
    margin: auto;
    text-align: center;
    color: white;
    font-family: avenir light, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
  }
  #hero .logo{
    display: block;
    margin: 0px auto;
    width: 200px;
    height: 135px;
  }
  #hero .copy{
    background: url('/img/vcards.png') center center no-repeat;
    background-size: 100%;
    margin: auto;
    width: 90%;
    font-size: 24px;
    line-height: 1.3;
    margin: auto;
  }
  #hero .tagline{
    margin: -10px auto 15px;
  }
  #hero .coming-soon{
    margin: auto;
    width: 90%;
    font-size: 20px;
    opacity: .8;
  }
  #hero .mockups div{
    display: block;
    width: 50%;
    background-repeat:no-repeat;
    height:600px;
    background-size: 100%;
    float: left;
  }
  #hero .mockups .ios{
    background-image: url(/img/pull-iphone-mockup.png);
    margin-top:20px;
    margin-left: -35px;
  }
  #hero .mockups .android{
    display: block;
    background-image: url(/img/nexus-mockup.png);
    margin-left: 15px;
    margin-top:50px;
  }
  #signup{
    background: #13a3e6;
    width: 100%;
    position: relative;
    z-index: 10;
    text-align:center;
  }
  #signup h2{
    color: white;
    margin: auto;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    padding: 0 0 10px;
  }
  #signup img{
    margin: 25px auto 1px;
  }
  #signup p{
    font-size: 20px;
    color: #13a3e6;
    text-align: center;
    margin: 20px auto 15px;
  }
  #signup form{
    margin: auto;
    text-align: center;
    width:95%;
    padding: 0 0 30px;
  }
  #signup form label{
    color: rgba(255,255,255,.8);
    font-size: 13px;
    margin-top:4px;
    display: block;
    text-align:left;
    padding:2px 5px;
  }
  input{
    height: 44px;
    font-size: 18px;
    border-radius: 6px;
   -webkit-appearance: none;
  }
  input[type='email']{
    box-shadow: inset 0 -1px 2px rgba(0,0,0,.1);
    border: 1px solid #bbc1c3;
    width: 66%;
    max-width: 300px;
    color: #6c787d;
    padding: 0 10px;
    float:left;
  }
  input[type='submit']{
    border: 1px solid #fff;
    color: #fff;
    width: 32%;
    max-width: 110px;
    margin-left: 5px;
    margin-top:-1px;
    background: none;
    padding: 0 10px;
  }
  #how-it-works{
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 10;
    padding: 5px 0 15px 0;
    color: white;
    -webkit-font-smoothing: antialiased;
  }  
  #how-it-works h2{
    text-align: center;
    color: #23a0da;
    margin: auto;
    -webkit-font-smoothing: antialiased;
    width: 80%;
    font-size: 26px;
    border-bottom: 1px solid rgba(19,163,230,.3);
    padding: 20px 5px 5px;
    margin-bottom: 15px;
  }
  #how-it-works ul{
    width: 95%;
    margin: auto;
    list-style: none;
    font-size: 16px;
    line-height: 1.3;
    padding-bottom: 10px;
  }
  #how-it-works ul li{
  padding: 10px 10px 10px 30%;
  color: #13a3e6;
  }
  #runs-in-background{
    background: url(/img/zap.png) 6px center no-repeat;
    background-size: 23%;
  }
  #agree-to-connect{
    background: url(/img/shake.png) 6px center no-repeat;
    background-size: 23%;  
  }
  #no-more-biz-cards{
    background: url(/img/burn.png) 6px center no-repeat;
    background-size: 23%;    
  }
  footer{
    text-align: center;
  }
  footer img{
    width: 25%;
    max-width: 100px;
    padding: 0;
  }
  footer p{
    margin-top: -15px;
    padding-bottom: 20px;
    font-size: 14px;
    color: #fff;
  }
/* End mobile-first */
@media all and (min-width: 520px) {
  #hero{
    height: 330px;
    padding: 0 20px;
  }
  #hero .copy{
    background: url('/img/vcards.png') 65px 65px no-repeat;
    width: 50%;
    float: left;
    padding: 15px 0 0;
  }
  #hero .mockups{
    width: 50%;
    max-width: 500px;
    margin-top:30px;
    float: right;
  }
  #hero .mockups .ios{
    background-image: url(/img/pull-iphone-mockup.png);
    margin-top:20px;
    margin-left: -20px;
  }
  #hero .mockups .android{
    display: block;
    background-image: url(/img/nexus-mockup.png);
    margin-top:50px;
  }
  #signup{
    padding: 10px 0 0;
    height: auto;
    margin: auto;
  }
  #signup .container{
    width: 90%;   
  }
  #signup form{
    float: none;
    padding: 15px 0 35px;
  }
  #signup form label{
    color: rgba(255,255,255,.8);
    font-size: 14px;
    width: 20%;
    max-width:80px;
    margin-top:3px;
    line-height: 1.3;
    display: block;
    float:left;
    text-align:right;
    padding:2px 10px 0 0;
  }
  #signup p{
    font-size: 20px;
    color: #fff;
    text-align: center;
    float: left
  }
  input[type='email']{
    max-width: 60%;
    width: 60%;
    padding: 0 10px;
  }
  input[type='submit']{
    width: 20%;
    max-width: 20%; 
    float: left;
    margin-left: 8px;
  }
  #how-it-works{
    clear: both;
  }
  #how-it-works ul{
    margin: auto;
    list-style: none;
    font-size: 18px;
    padding: 20px 0;
    text-align: center;
    width: 100%;
  }
  #how-it-works ul li{
    float: left;
    width: 33.333%;
    padding: 120px 10px 0;
    text-align: center;
  }
  #runs-in-background{
    background-size: 30%;
    background-position: top center;
  }
  #agree-to-connect{
    background-size: 30%;  
    background-position: top center;

  }
  #no-more-biz-cards{
    background-size: 30%;    
    background-position: top center;

  }
}
@media all and (min-width: 700px) {
  #signup .container{
    width: 70%;   
  }
    #signup form label{
    color: rgba(255,255,255,.8);
    font-size: 14px;
    width: 20%;
    max-width:80px;
    margin-top:3px;
    line-height: 1.3;
    display: block;
    float:left;
    text-align:right;
    padding:2px 10px 0 0;
  }
  input[type='email']{
    max-width: 60%;
    width: 60%;
    padding: 0 10px;
  }
  input[type='submit']{
    width: 20%;
    max-width: 20%; 
    float:left;
    margin-left:10px;
  }
  #hero{
    height: 370px;
  }
  #hero .copy{
    width: 50%;
    float: left;
    padding: 0px 30px 0;
  }
  #hero .mockups{
    width: 45%;
    max-width: 500px;
    float: right;
  }
  #hero .copy{
    width: 50%;
    float: left;
    padding: 50px 30px 0;
  }
}
@media all and (min-width: 900px) {
  #signup .container{
    width: 70%; 
    max-width: 700px;  
  }
    #signup form label{
    color: rgba(255,255,255,.8);
    font-size: 14px;
    width: 80px;
    margin-top:3px;
    line-height: 1.3;
    display: block;
    float:left;
    text-align:right;
    padding:2px 10px 0 0;
  }
  input[type='email']{
    max-width: 65%;
    width: 65%;
    padding: 0 10px;
  }
  input[type='submit']{
    width: 25%;
    max-width: 25%; 
    float:left;
    margin-left:10px;
  }
  #hero .copy{
    width: 50%;
    padding: 0px 30px 0;
  }
  #hero .mockups{
    width: 45%;
    max-width: 500px;
  }
  #hero .copy{
    width: 50%;
    padding: 70px 30px 0;
  }
    input[type='submit']{
    width: 15%;
    max-width: 15%; 
  }
}