/* ==========================================================================
   master.css
   ========================================================================== */

/*
 * Contains all template styling
 */

* {
  box-sizing: border-box;
}

body {
  font-family: "Lato", Helvetica, Arial, sans-serif;
  background: #F8F9F9;
  color: #2C2D30;
  font-size: 18px;
  font-weight: 300;
  margin: 0;
  padding: 0;
}

/*
 *
 * Typography
 *
 */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

h1 {
  font-size: 2.8571em; /* 40px */
  line-height: 1.3500em; /* 54px */
  margin-top: 0.4500em;  margin-bottom: 0.0000em;
  font-weight: bold;
  color #444;

}

h2 {
  font-size: 2.0000em; /* 28px */
  line-height: 1.2857em; /* 36px */
  margin-top: 0.6429em;  margin-bottom: 0.0000em;
}

h3 {
  font-size: 1.4286em; /* 20px */
  line-height: 1.8000em; /* 36px */
  margin-top: 0.9000em;  margin-bottom: 0.0000em;
}

h4 {
  font-size: 1.2857em; /* 18px */
  line-height: 1.0000em; /* 18px */
  margin-top: 1.0000em;  margin-bottom: 0.0000em;
}

h5 {
  font-size: 1.1429em; /* 16px */
  line-height: 1.1250em; /* 18px */
  margin-top: 1.1250em;  margin-bottom: 0.0000em;
}

h6 {
  font-size: 1.0000em; /* 14px */
  line-height: 1.2857em; /* 18px */
  margin-top: 1.2857em;  margin-bottom: 0.0000em;
}

.lead-title {
  // margin-bottom: 0.5em;
}

p, li {
  font-size: 1em; /* 14px */
  line-height: 1.2857em; /* 18px */
}

p {
  font-weight: normal;
  margin: 0 0 1.2857em 0;
}

p.lead {
  margin-top: 1em;
}

a {
  transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  color: #477b96;
}

a:hover {
  cursor: pointer;
  text-decoration: none;
}

.white-link {
  color: #fff;
  text-decoration: underline;
}

blockquote {
  font-size: 22px;
  line-height: 34px;
  padding-left: 20px;
  border-left-width: 2px;
  border-left-style: solid;
  border-color: #333;
  margin-left: 0;
}

.blue-text {
  color: #2681B6;
}

.intro {
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
}

.intro__subtitle {
  font-weight: 300;
  color: #7F7F7F;
  margin: 0 0 50px;
}

/*
 *
 * Forms
 *
 */

input, 
textarea,
button {
  transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;

  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
}

input,
textarea {
  background: #fff;
  border: 1px solid #D0D3D5;
  border-radius: 5px;
  font-size: 16px;
  padding: 15px;
}

input:focus,
textarea:focus {
  border-color: #333;
}

button:hover,
input[type="submit"]:hover {
  cursor: pointer;
}

.form {
  text-align: left;
}

.form-grey {

  background: #F8F9F9;
  border: solid 1px #EAEAEA;
  border-radius: 5px;
  padding: 30px;
  margin-bottom: 3em;
}

.contact-form {
  margin-bottom: 3em;
}

.container {
  max-width: 1200px; 
  margin: 0 auto;
}

.container-narrow {
  max-width: 960px; 
  margin: 0 auto;
}

.blog-container {
  zoom: 1;
  margin: 0 auto;
  position: relative;
  max-width: 660px;
  width: 90%;
}


/*
 *
 * Top nav
 *
 */

.top-nav {
  height: 30px;
  text-align: left;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

.top-nav .container {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: flex-end;

  justify-content: space-between;
}

.top-nav-link {
  width: 100%;
  text-align: right;
}

.top-nav-text {
  margin-bottom: 0;
}

.main-nav {
  height: 70px;
  background: #22262A;
  padding: 0 30px;
  position: relative;

  justify-content: space-between;
}

.logo {
  position: relative;
  z-index: 1;
}

.logo img {

  width: 160px;
}

.logo-text {
  font-size: 22px;
  color: #fff;
  margin-left: 10px;
}

.nav-links {
  font-weight: 500;
  text-align: right;
}

.nav-links a {
  text-decoration: none;
  color: #516572;
}

.nav-links a:hover {
  color: #98AAB6;
}

.nav-links li {
  display: inline;
  font-size: 14px;
}

.nav-links li a {
  padding: 10px;
}

/*
 *
 * author component 
 *
 */

.author {
  font-size: 16px;
  width: 300px;
  margin: 60px auto 0;
  text-align: center;
  text-indent: 0;
}

.author-info {
  text-indent: 0;
}

.avatar {
  border-radius: 50%;
}

/*
 *
 * hero component 
 *
 */

.hero {
  background: url(../img/bg.jpg) no-repeat;
  background-size: cover;
  // background: RGBA(106, 111, 141, 1.00);
  height: 925px;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: 50px;
}

.hero-home {
  margin-bottom: 100px;
}

.hero__content {
  text-align: center;
  max-width: 730px;
  margin: 50px auto 0; 
  position: relative;
  z-index: 1;
  padding: 10px 0;
}

.hero__header {
  margin-top: 0;
  color: #fff;
  font-weight: 600;
  font-size: 50px;  
  text-shadow: 0 0 1px rgba(0,0,0,.1);
  margin-bottom: 20px;

}

.hero__subheader {
  text-shadow: 0 0 1px rgba(0,0,0,.1);
  font-weight: normal;
  font-size: 22px;
}

.hero__gradient {
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  z-index: 0;
    background: #000;
  background: -webkit-gradient(linear,left bottom,left top,color-stop(0,rgba(0,0,0,0.6)),color-stop(1,rgba(0,0,0,0)));
  background: -ms-linear-gradient(bottom,rgba(0,0,0,0.6),rgba(0,0,0,0));
  background: -moz-linear-gradient(center bottom,rgba(0,0,0,0.6) 0,rgba(0,0,0,0) 100%);
}

.hero-img {
  width: 600px;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 1;
}


/*
 *
 * Signup
 *
 */

.signup {
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4);
  width: 560px;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  margin-bottom: 60px;
  text-align: center;
}

.signup-input,
.signup-btn {
  vertical-align: middle;
}

.signup-input {
  height: 50px;
  width: 345px;
  margin-right: 15px;
}

.signup-btn {
  height: 50px;
  width: 130px;
}

/*
 *
 * newsletter component 
 *
 */

.newsletter {
  background: #F8F9F9;
  border: solid 1px #EAEAEA;
  border-radius: 5px;
  text-align: center;
  padding: 30px;
  margin-bottom: 3em;
}

.newsletter__header {
  margin-top: 0;
}

.newsletter__text {

  text-indent: 0;
}

.newsletter__input {

  width: 80%;
}

.newsletter__btn {
  background: #2264A9;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  
  margin-top: 10px;
  width: 80%;
}

.newsletter__btn:hover {
  background: #22568C;
}

.feature {

  padding-left: 30px;
  position: relative;
}

.feature-title {
  margin-bottom: 10px;
}

.feature-icon {
  color: #fff;
  background: #4D5053;
  padding: 5px;
  border-radius: 50%;
  font-size: 14px;
  position: absolute;
  left: 0;
}

/*
 *
 * Footer 
 *
 */

.footer {
  margin-bottom: 3em;
}

.footer-links {
  text-align: center;
  border-top: 1px solid #EEE;
  border-bottom: 1px solid #EEE;
  padding: 30px 0;
}

.footer-links ul {
  margin: 0;
  padding: 0;
}

.footer-links li {
  display: inline-block;
  padding: 5px;
}

.footer-links__header {
  color: #999;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 14px;
  margin: 0;
  letter-spacing: 1px;
}

.footer-sns {
  text-align: center;
}

/*
 *
 * Misc
 *
 */ 

.vertical-middle {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;

  align-items: center;
  
  -ms-justify-content: center;
  -moz-justify-content: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.full-img,
.video {
  width: 100%;
  padding: 30px 0;
}

.no-indent,
.no-indent p {
  text-indent: 0;
}

p.copyright {
  font-weight: normal;
  font-size: 14px;
  text-align: center;
  text-indent: 0;
  padding: 30px 0;
}

.signup-small {
  font-weight: 300;
  margin: 19px 0 0;
  font-size: 14px;
}

.address {
  text-indent: 0;
}

.text-center {
  text-align: center;
}

.type-label {
  color: #999;
  display: block;
  font-size: 14px;
  margin: 10px 0;
}

.bar-grey {
  background: #F5F6F7;
  padding: 60px;
  margin: 30px 0;
}

/*
 *
 * Buttons
 *
 */ 

.btn,
.btn-rounded,
button,
input[type="submit"]:hover {
  border-radius: 5px;
  background: #C0C0C0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 15px;
  border: none;
  text-decoration: none;
}

.btn:hover,
.btn-rounded:hover,
button:hover,
input[type="submit"]:hover {
  background: #A9ABAC;
}

.btn-rounded {
  padding: 15px 30px;
  border-radius: 25px;
}

.btn-line {
  background: none;
  border: solid 1px rgba(255,255,255,0.5);
}

.btn-line:hover {
  background: rgba(255,255,255,0.5);
}

.btn-small {
  font-size: 12px;
  padding: 12px 20px;
}

.btn-blue {
  background: #2264A9;
}

.btn-blue:hover {
  background: #22568C;
}

.btn-yellow {
  background: #EDA813;
}

.btn-yellow:hover {
  background: #c7830d;
}

.btn-green {
  background: #44C5A8;
}

.btn-green:hover {
  background: #24a286;
}

.btn-group .btn {
  display: block;
  margin-bottom: 10px;
}

/* Panels */

.panels {
  margin-bottom: 60px;
}

.panel {
  transition: all 0.2s ease;
  background: white;
  padding: 15px 15px 0 15px;
  border: solid 1px #E8E8E8;
  border-radius: 6px;
  height: 310px;
  overflow: hidden;
}

.panel__header {
  font-size: 20px;
  margin-bottom: 10px;
  color: #444;
  font-weight: bold;
}

.panel__desc {
  font-size: 16px;
  color: #7F7F7F;
  font-weight: 300;
  margin-bottom: 30px;
}

.browser {
  transition: all 0.2s ease;
  position: relative;
  width: 100%;
}

.screenshot {
  width: 100%;
}

.panel:hover .browser {
  -webkit-transform: translateY(-15px);
  -ms-transform: translateY(-15px);
  transform: translateY(-15px);
}

.panel:hover .overlay {
  opacity: 1;
}

.overlay {
  transition: all 0.4s ease;
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 10px;
  background: rgba(26, 29, 38, 0.8);
}


/* Modals */

.modal-container {
  background: rgba(26, 29, 38, 0.8);
  position: absolute;
  width: 100%;
  height: 100%; 
  display: none;
  z-index: 2;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
} 

.modal {
  opacity: 0;
  -webkit-transform: translateY(-15px);
  -ms-transform: translateY(-15px);
  transform: translateY(-15px);
  transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  padding: 20px;
  background: #fff;
  width: 540px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

.modal--screenshot {
  padding: 0;
}

.modal__header {
  font-weight: 600;
  margin-top: 0;
}

.modal__content {
  padding: 15px;
}

.modal__screenshot {
  width: 280px;
  margin: 0 auto;
  display: block;
  z-index: 1;
  position: relative;
  margin-bottom: -2px;
  vertical-align: bottom;
  bottom: 0;
  margin-top: 40px;
}

.modal__screenshot .screenshot {
  margin-bottom: -5px;
}

.modal-on {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
}

.modal__screenshot-wrapper {
  overflow: hidden;
  position: relative;
  height: 200px;
}

.modal__screenshot-bg {
  background: #D1D6E4 ;
  -ms-transform: scale(3);
  -webkit-transform: scale(3);
  transform: scale(3);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  -webkit-filter: blur(10px);
  -moz-filter: blur(10px);
  -o-filter: blur(10px);
  -ms-filter: blur(10px);
  filter: blur(10px);
}

.modal-leanstartup .modal__screenshot-bg {
  background: #D1D6E4 url('../img/themes/leanstartup.png') no-repeat;
}

.modal-portfolio .modal__screenshot-bg {
  background: #D1D6E4 url('../img/themes/portfolio.png') no-repeat;
}

.modal-geographer  .modal__screenshot-bg {
  background: #D1D6E4 url('../img/themes/geographer.png') no-repeat;
}

.no-scroll {
  overflow: hidden;
}

.smiley {
  width: 20px;
  vertical-align: middle;
}

@media (max-width: 730px) {
  h1 {
    font-size: 2em;
  }
  .hero {
    height: 820px;
  }
  .hero__header {
    font-size: 30px;
  }

  .hero__subheader {
    font-size: 16px;
  }

  .top-nav .container {
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
  .signup {
    width: 90%;
  }
  .signup-input,
  .signup-btn {
    display: block;
    width: 100%;
  }

  .signup-input {
    margin-bottom: 10px;
  }

  .signup-small {
    font-size: 13px;
  }

  .hero-img {
    width: 90%;
  }

  .intro {
    padding: 0 10px
  }
}
