_landingPage.scss 6.41 KB
$blueColor: #1F3CAE;
$yellowColor: #FDAF3B;

.yellow-btn {
  background: #FDAF3B 0% 0% no-repeat padding-box;
  border-radius: 8px;
  display: inline-block;
  font-size: 20px;
  width: 200px;
  text-align: center;
  height: 50px;
  padding-top: 10px;
  color: #000000;
  font-weight: 400;
  &:hover {
    color: #000000;
    text-decoration: none;
  }
}
.lg-btn {
  background: #FDAF3B 0% 0% no-repeat padding-box;
  border-radius: 8px;
  display: inline-block;
  font-size: 20px;
  text-align: center;
  padding: 10px 20px 10px !important;
  color: #ffffff !important;
  &:hover {
    color: #ffffff;
    text-decoration: none;
    transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
    -moz-transform: scale(1) !important;
  }
}
.blue-btn {
  background: $blueColor 0% 0% no-repeat padding-box;
  border-radius: 8px;
  display: inline-block;
  font-size: 20px;
  width: 200px;
  text-align: center;
  height: 50px;
  padding-top: 10px;
  color: #ffffff;
  font-weight: 400;
  &:hover {
    color: #ffffff;
    text-decoration: none;
  }
}
.signup-btn {
  background-color: $yellowColor;
  font-size: 20px;
  display: inline-block;
  padding: 2px 15px;
  border-radius: 9px;
  font-weight: 400;
  &:hover {
    text-decoration: none;
  }
}
.landing-nav {
  background-color: #ffffff;
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 111;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  #navbarText {
    justify-content: flex-end;
    margin-left: 20px;
  }
  a {
    color: $blueColor;
    font-size: 15px;
    font-weight: 600;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    text-transform: uppercase;
    margin-left: 20px;
    &:hover {
      color: $blueColor;
      text-decoration: none;
      transform: scale(1.1);
      -webkit-transform: scale(1.1);
      -moz-transform: scale(1.1);
    }
  }
  .navbar-brand {
    margin-left: 0;
    img {
      width: 200px;
    }
    &:hover {
      transform: scale(1);
      -webkit-transform: scale(1);
      -moz-transform: scale(1);
    }
  }
}
.landing-footer {
  background-color: $blueColor;
  height: 400px;
  display: flex;
  align-items: flex-end;
  padding: 0 50px 30px;
  h3 {
    color: #ffffff;
    font-weight: 400;
  }
  ul {
    float: right;
    li {
      display: inline-block;
      margin-left: 30px;
      a {
        color: #ffffff;
        font-size: 20px;
        text-decoration: none;
        font-weight: 400;
        &:hover {
          text-decoration: none;
          color: #ffffff;
        }
      }
    }
  }
}
.landing-page {
  h1 {
    font-size: 50px;
    line-height: 60px;
  }
  p {
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
  }
  .section-1 {
    background-color: $blueColor;
    padding: 50px 0;
    overflow: hidden;
    .hero-img {
      max-width: 100%;
      position: absolute;
      bottom: -40%;
      right: -15%;
    }
    //background-image: url(../img/landing/img3.svg), url('../img/landing/img1.svg');
    //background-repeat: no-repeat, no-repeat;
    //background-size: 70% 70%, 100% 100%;
    //background-position: 700px 200px, 600px 100px;
    //background-image: url('../img/landing/img6.svg');
    //background-repeat: no-repeat;
    .c-5 {
      display: flex;
      min-height: 80vh;
      align-items: center;
    }
    h1 {
      color: #FFFFFF;
    }
    p {
      color: #ffffff;
    }
  }
  .section-2 {
    background-color: #EBEBEB;
    padding: 100px 0;
    img {
      max-width: 600px;
    }
    .c-7 {
      text-align: center;
    }
    .c-5 {
      display: flex;
      align-items: center;
      h1 {
        margin-bottom: 50px;
      }
    }
  }
  .section-3 {
    background-color: #ffffff;
    padding: 100px 0;
    img {
      max-width: 700px;
      float: right;
    }
    .c-7 {
      text-align: center;
    }
    .c-5 {
      display: flex;
      align-items: center;
      p {
        margin: 20px 0;
      }
    }
  }
  .section-4 {
    background-color: #EBEBEB;
    padding: 0;
    img {
      max-width: 600px;
      position: absolute;
      bottom: -57px;
      left: 0;
      right: 0;
      margin: 0 auto;
    }
    h1 {
      color: $blueColor;
    }
    .c-7 {
      text-align: center;
    }
    .c-5 {
      display: flex;
      align-items: center;
      >div {
        padding: 100px 0;
      }
      p {
        margin: 20px 0;
      }
    }
  }

}
@media only screen and (min-width: 1500px) {
  .landing-page {
    h1 {
      font-size: 88px;
      line-height: 120px;
    }
    p {
      font-size: 28px;
      line-height: 48px;
    }
  }
}

@media only screen and (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

@media only screen and (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
  .landing-nav {
    a {
      font-size: 25px;
      padding-left: 0;
    }
    .navbar-toggler {
      padding-right: 0;
    }
  }
  .landing-page {
    img {
      max-width: 100% !important;
    }
    .c-5 {
      margin-bottom: 30px;
    }
    h1 {
      font-size: 30px;
      line-height: 40px;
      margin-bottom: 30px !important;
      text-align: left;
    }
    p {
      font-size: 16px;
      line-height: 25px;
      text-align: left;
    }
    a {
      &.blue-btn, &.yellow-btn {
        color: #fff;
        margin: 30px auto 0;
        display: table;
      }
    }
    .section-1 {
      background-position: 50% 98%, 70px 118%;
      background-size: 330px, 400px;
      //padding-bottom: 300px;
      padding-top: 90px;
      .c-5 {
        min-height: 55vh;
      }
      .col-md-6 {
        //position: static;
        padding-bottom: 280px;
      }
    }
    .section-2 {
      a {
        margin-top: 70px;
      }
    }
    .section-3 {
      img {
        float: none;
      }
      a {
        margin-top: 70px;
      }
    }
    .section-4 {
      padding: 100px 0;
      img {
        position: static;
      }
      a {
        margin-top: 70px;
      }
      .c-5 {
        >div {
          padding: 0;
        }
      }
    }
  }
  .landing-footer {
    height: auto;
    padding: 0;
    ul {
      float: none;
      margin: 20px 0;
      text-align: center;
      li {
        margin-left: 15px;
        a {
          font-size: 17px;
        }
        &:first-child {
          margin-left: 0;
        }
      }
    }
  }
}