html,body{
  height: 100%;
}


body{
  margin: 0px;
  padding: 0px;
  font-family: "freight-sans-pro", "FreightSans Pro",sans-serif;
  text-align: center;
}


div {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

a{
  text-decoration: none;
}

#header{
  height: 552px;
  color: white;
  text-align: center;
  background: url(../img/homepage/Background-2x.png) #53388d;
  background-size: cover;
  font-size: 32px;
  font-weight: 200;
  padding-bottom: 70px;
}


#header h1 {
   position:relative;
   display:block;
   width:279px;
   height:179px; 
   background: url(../img/homepage/jam-logo.png) no-repeat;
   background-position: center center;
   text-indent: -9999px;
   text-align: center;
   margin: 0px auto;
   background-size: contain;
   clear: both;
}

#nav{
  text-transform: uppercase;
  margin: 0px auto;
  font-size: 16px;
  padding-top: 62px;
  font-weight: 700;
  margin: 0px auto;
  margin-bottom: 110px;

}

#nav div{
  margin: 0px auto;
  display: inline-block;
}
#nav div span{
 
}
#header #alto-link{
  color: #36c5d8;
}
#header #balllin-link{
  color: #ff4078;
}
#header #snippy-link{
  color:#e63d4b;
}
#header span a{
  color: white;
  text-decoration: none;
  display: block;
  padding: 8px 8px;
  float: left;
}
#header p i{
  font-weight: 600;
}






h2{
  font-weight: 400;
  font-size: 40px;
  margin: 0px;
  padding: 0px;
  letter-spacing: -1px;
}

h2 i{
  font-weight: 600;
  color: #6141a4;
}

hr{
  max-width: 640px;
  background: #e6e6e6;
  height: 2px;
  border: none;
  padding: 0px;
}


.contents{
  max-width: 1024px;
}




.app-section ,#alto{
  text-align: center;
  padding-top: 70px;
  padding-bottom: 70px;
}
#alto-icon{
  background-image:url(../img/homepage/invoicecloud.png);
}

.icon{
  width: 152px;
  height: 152px;
  margin: 0px auto;
  background-size: contain;
  background-repeat: no-repeat;
}
#balllin-icon{
  background-image:url(../img/homepage/balllin.png);
}

#snippy-icon{
  background-image:url(../img/snippy/snippy-icon-256x256-2x.png);
}

.app-section h2,  #alto h2{
  margin-top: 40px;
  margin-bottom: 20px;
}

.app-section img, #alto img{
  margin: 0px 20px;
  width: 80%;
  height: auto;
  max-width: 312px;
}

.screenshot{
  display: block;
  position: relative;
  background-repeat: no-repeat;
  height: 789px;
  max-height: 789px;
  background-position: 160px center;
  max-width: 1632px;
  margin: 0px auto;
}

#alto-screenshot{
  background-image: url(../img/homepage/alto-screenshots.png);
}

#balllin-screenshot{
  background-image: url(../img/homepage/screenshots-balllin.png);
}

.btn{
  height: 80px;
  text-align: center;
  display: block;
  width: 224px;
  max-width: 224px;
  line-height: 80px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: white;
  float: left;
  margin: 0px 16px;
  font-size: 12px;
}

.button-block{
  clear: both;
  display: inline-block;
  text-align: center;
  margin-top: 56px;
}

.appstore{
  line-height: normal;
  background: url(../img/homepage/apple.png) no-repeat #363636 12% 45%;
  background-size: 42px 49px;
  padding-left: 80px;
  padding-right: 20px;
  max-width: 124px;
  text-align: left;
  padding-top: 18px;
  height: 66px;
  font-size: 12px;
}

.big-text{
  font-size: 24px;
}

.aqua{
  background: #36c5d8 url(../img/homepage/arrow.png) 85% 50% no-repeat;
  font-weight: 600;
  font-size: 24px;
  padding-right: 30px;
  max-width: 194px;
}



.app-section p, #alto p{
  font-weight: 300;
  font-size: 20px;
  padding: 0px;
  margin: 0px;
  line-height: 32px;
  margin-bottom: 32px;
}

.app-section p i, #alto p i{
  font-weight: 600;
  color: #36C5D8;
}







#team{
  padding-top: 100px;
  padding-bottom: 88px;
  text-align: center;
}

#team h2{
  margin-bottom: 20px;
}

#team p{
  max-width: 512px;
  margin: 0px auto;
  font-size: 20px;
  line-height: 32px;
}

.people{
  display: inline-block;
  margin-top: 60px;
}


.person{
  width: 352px;
  height: 480px;
  float: left;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background: #D8D8D8;
  margin: 0px 16px;
  color: white;
  background-size: cover;
}

.person h4{
  font-size: 40px;
  line-height: 40px;
  font-weight: 400;
  margin: 0px;
  margin-top: 320px;
}

.person .social-media{
  clear: both;
  display: inline-block;
  margin: 0px auto;
}

#prekesh{
  background-image: url(../img/homepage/Prekesh.png);
}

#devin{
  background-image: url(../img/homepage/devin-2.png);
}
#team p.title{
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
  border: 1px solid white;
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
  margin: 10px auto;
  letter-spacing: 1px;
  padding: 0px 10px;
  line-height: 32px;
  font-size: 16px;
  clear: both;
}


.dribbble,.twitter,.github{
  position:relative;
  display:block;
  width:40px;
  height:40px; 
  background: no-repeat center center;
  text-indent: -9999px;
  text-align: center;
  float: left;
  margin: 4px 8px;
  background-size: 32px;
}
.dribbble{
  background-image: url(../img/homepage/dribbble.png);
}
.github{
  background-image: url(../img/homepage/github.png);
  
}
.twitter{
  background-image: url(../img/homepage/twitter.png);
}
#signup{
  background: #503589 url(../img/homepage/purple-pattern.png) repeat-x;
  background-size: cover;
  color: white;
  padding-top: 124px;
  padding-bottom: 84px;
  clear: both;
}

#signup p{
  font-size: 28px;
  text-align: center;
  max-width: 450px;
  margin: 0px auto;
}

#signup a{
  color: white;
  font-style: italic;
  font-weight: 600;
}



#download #emailfield, #mce-EMAIL{
  height: 48px;
  border: none;
  padding: 0px;
  background: white;
  width: 260px;
  margin: 0px;
  outline: none;
  padding-left: 30px;
   padding-right: 30px;
  -moz-border-radius-topleft: 24px;
  -webkit-border-top-left-radius: 24px;
  border-top-left-radius: 24px;
  -moz-border-radius-bottomleft: 24px;
  -webkit-border-bottom-left-radius: 24px;
  border-bottom-left-radius: 24px;
  float: left;
  font-size: 16px;
}

#download #submit,#mc-embedded-subscribe{
  background: #180246;
  border: none;
  height: 48px;
  line-height: 48px;
  padding: 0px;
  width: 128px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: white;
  -moz-border-radius-topright: 24px;
  -webkit-border-top-right-radius: 24px;
  border-top-right-radius: 24px;
  -moz-border-radius-bottomright: 24px;
  -webkit-border-bottom-right-radius: 24px;
  border-bottom-right-radius: 24px;
  margin: 0px;
}



#email-div{
  max-width: 448px;
  margin: 40px auto;
  clear: both;
  height: 60px;
  display: block;
}




#preload{
  background: 
  url(../img/homepage/Background-2x.png) no-repeat -9999px -9999px,
  url(../img/homepage/purple-pattern.png) no-repeat -9999px -9999px,
  url(../img/homepage/dribbble.png) no-repeat -9999px -9999px,
  url(../img/homepage/twitter.png) no-repeat -9999px -9999px,
  url(../img/homepage/github.png) no-repeat -9999px -9999px,
  url(../img/homepage/Prekesh.png) no-repeat -9999px -9999px,
  url(../img/homepage/apple.png) no-repeat -9999px -9999px,
  url(../img/homepage/arrow.png) no-repeat -9999px -9999px,
  url(../img/homepage/jam-logo.png) no-repeat -9999px -9999px,
  url(../img/homepage/invoicecloud.png) no-repeat -9999px -9999px,
  url(../img/homepage/pad-2.png) no-repeat -9999px -9999px;                     
}




@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {    


#balllin-screenshot{
  background-image: url(../img/homepage/screenshots-balllin-2x.png);
/*   background-size: 1512px 789px; */
}
#alto-screenshot{
  background-image: url(../img/homepage/alto-screenshots-2x.png);
/*   background-size: 1512px 789px; */
}

@media screen and (min-device-width: 640px){
  
  #balllin-screenshot{
    background-size: 1512px 789px;
  }
  #alto-screenshot{
    background-size: 1512px 789px;
  }

}





#header h1 {
  background-image: url(../img/homepage/jam-logo-2x.png);
}
#alto-icon{
  background-image:url(../img/homepage/invoicecloud-2x.png);
}

.dribbble{
  background-image: url(../img/homepage/dribbble-2x.png);
}
.github{
  background-image: url(../img/homepage/github-2x.png);
}
.twitter{
  background-image: url(../img/homepage/twitter-2x.png);
}
.appstore{
  background-image: url(../img/homepage/apple-2x.png);
}


#preload{
  background: 
  url(../img/homepage/Background-2x.png) no-repeat -9999px -9999px,
  url(../img/homepage/purple-pattern.png) no-repeat -9999px -9999px,
  url(../img/homepage/dribbble-2x.png) no-repeat -9999px -9999px,
  url(../img/homepage/twitter-2x.png) no-repeat -9999px -9999px,
  url(../img/homepage/github-2x.png) no-repeat -9999px -9999px,
  url(../img/homepage/Prekesh.png) no-repeat -9999px -9999px,
  url(../img/homepage/apple-2x.png) no-repeat -9999px -9999px,
  url(../img/homepage/arrow-2x.png) no-repeat -9999px -9999px,
  url(../img/homepage/jam-logo-2x.png) no-repeat -9999px -9999px,
  url(../img/homepage/invoicecloud-2x.png) no-repeat -9999px -9999px,
  url(../img/homepage/pad-2x.png) no-repeat -9999px -9999px;                     
}


  
}



@media only screen  and (max-width : 600px){

  
  
  #header{
    font-size: 16px;
    clear: both;
    width: 100%;
    height: auto;
    padding-bottom: 30px;
  }
  
  #nav{
    font-size: 12px;
    padding-top: 20px;
    margin-bottom: 40px;
  }
  
  
  #header h1 {
     position:relative;
     display:block;
     width:200px;
     height:100px; 
     text-indent: -9999px;
     text-align: center;
     margin: 0px auto;
     background-size: contain;
  }
  
  
  #alto,.app-section{
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  
  
  #alto-icon,.icon{
    width: 60px;
    height: 60px;
    margin: 0px auto;
    background-size: contain;
  }
  
  h2{
    font-size: 20px;
  }
  
  #alto p, .app-section p{
    font-weight: 300;
    font-size: 14px;
    padding: 0px;
    margin: 0px;
    line-height: 20px;
    margin-bottom: 20px;
  }
  
  
  #alto h2, .app-section h2{
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
  hr{
    margin: 0px 20px;
  }
  
  
  
  #team{
    padding-top: 40px;
    padding-bottom: 48px;
    text-align: center;
  }
  #team h2{
    margin-bottom: 10px;
  }
  
  #team p{
    max-width: 512px;
    margin: 0px auto;
    font-size: 14px;
    line-height: 14px;
  }
  
  .people{
    display: inline-block;
    margin-top: 30px;
  }
  
  
  .person{
    width: 140px;
    height: 200px;
    margin: 0px 4px;
    color: white;
    background-size: cover;
  }
  
  .person h4{
    font-size: 20px;
    line-height: 20px;
    font-weight: 400;
    margin: 0px;
    margin-top:120px;
  }
  
  
  

  
  #team p.title{
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid white;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    margin: 2px auto;
    letter-spacing: 1px;
    padding: 0px 10px;
    line-height: 16px;
    font-size: 9px;
    clear: both;
  }
  .dribbble,.twitter,.github{
    width:20px;
    height:20px; 
    margin: 2px 8px;
    background-size: contain;
  }
  
  #signup{
    padding-top: 60px;
    padding-bottom: 24px;
    clear: both;
  }
  
  #signup p{
    font-size: 14px;
    max-width: 450px;
    margin: 0px 20px;
  }
  
  #signup a{
    color: white;
    font-style: italic;
    font-weight: 600;
  }
  
  
  
  #email-div{
    max-width: 280px;
    margin: 40px auto;
    clear: both;
    height: 60px;
    display: block;
  }
  #download #emailfield, #mce-EMAIL{
    height: 30px;
    line-height: 30px;
    border: none;
    padding: 0px;
    background: white;
    width: 160px;
    margin: 0px;
    outline: none;
    padding-left: 12px;
    padding-right: 12px;
    -moz-border-radius-topleft: 24px;
    -webkit-border-top-left-radius: 24px;
    border-top-left-radius: 24px;
    -moz-border-radius-bottomleft: 24px;
    -webkit-border-bottom-left-radius: 24px;
    border-bottom-left-radius: 24px;
    float: left;
    font-size: 11px;
    
    -moz-border-radius-topright: 0px;
    -webkit-border-top-right-radius: 0px;
    border-top-right-radius: 0px;
    -moz-border-radius-bottomright: 0px;
    -webkit-border-bottom-right-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  input[type='submit']
  {
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;  
  }
  
  #download #submit,#mc-embedded-subscribe{
    background: #180246;
    border: none;
    height: 30px;
    line-height: 30px;
    padding: 0px;
    width: 96px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: white;
    -moz-border-radius-topright: 15px;
    -webkit-border-top-right-radius: 15px;
    border-top-right-radius: 15px;
    -moz-border-radius-bottomright: 15px;
    -webkit-border-bottom-right-radius: 15px;
    border-bottom-right-radius: 15px;
    
    
    -moz-border-radius-topleft: 0px;
    -webkit-border-top-left-radius: 0px;
    border-top-left-radius: 0px;
    -moz-border-left-bottomleft: 0px;
    -webkit-border-bottom-left-radius: 0px;
    border-bottom-left-radius: 0px;
    
    margin: 0px;
  }
  
  
  
  .screenshot{
    display: block;
    height: 321px;
    max-height: 321px;
    background-size: 580px;
    background-position: 40px center;
  }
    
  
  .btn{
    height: 48px;
    line-height: 48px;
    display: block;
    width: 106px;
    max-width: 224px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: white;
    float: left;
    margin: 0px 16px;
  }
  
  .button-block{
    clear: both;
    display: inline-block;
    text-align: center;
    margin-top: 36px;
  }
  
  .appstore{
    line-height: normal;
    padding-left: 40px;
    padding-right: 20px;
    max-width: 64px;
    text-align: left;
    padding-top: 8px;
    height: 40px;
    background-size: 20px;
    font-size: 9px;
  }
  
  .big-text{
    font-size: 14px;
  }
  
  .aqua{
    background-position: 90% 50%;
    font-weight: 600;
    font-size: 14px;
    padding-right: 15px;
    background-size: 7px 9px;
  }
  
  #alto img{
    margin: 0px 20px;
    width: 80%;
    max-width: 300px;
    height: auto;
  }


}