/** styles for index page **/

.banner {
  width: 100%;
  height: 37.5rem;
  margin: 7.5rem 0 4rem;
  color: #fff;
  background-image: linear-gradient(to left, #6b7bd0, #334abf);
}

.ban-bj {
  background: url(../img/Inside-banner.jpg) no-repeat center;
  width: 100%;
   height: 100%;
}

.ban-text {
  font-size: 2.7rem;
  text-transform: uppercase;
  float: left;
  padding: 9.5rem 0 0 10%;
}

.ban-text h1 {
  font-size: 4.8rem;
}

.ban-text p {
  padding-top: 2rem;
  position: relative;
}

.ban-text p::before {
  content: '';
  background: #fdaf4c;
  width: 13.13rem;
  height: 1rem;
  position: absolute;
  bottom: -4rem;
  left: 0;
}

.ban-img {
  float: right;
}

.contact-box {
  padding: 4rem 4%;
}

.contact-text {
  float: left;
  padding: 1rem 0 0 4rem;
  font-size: 1.25rem;
}

.contact-text p {
  padding-bottom: 1.5rem;
  color: #666;
}

.contact-text img {
  vertical-align: middle;
  margin-right: 1.8rem;
}

.contact-img {
  float: right;
  padding-left: 4rem;
}

.contact-img img {
  width: 18rem;
  float: left;
  padding: 0 1rem;
}


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

}

@media screen and (max-width: 1440px) { 
  .contact-text {
    padding: 1rem 0 0 0;
    font-size: 1rem;
  }

  .contact-text img {
    width: 1.4rem;
  }

  .contact-text p {
    padding-bottom: 1rem;
  }

  .contact-img img {
    width: 15rem;
    float: left;
    padding: 0 1rem;
  }

  .banner {
    height: 30rem;
  }

  .ban-text {
    font-size: 2rem;
    text-transform: uppercase;
    float: left;
    padding: 7.5rem 0 0 10%;
  }
  
  .ban-text h1 {
    font-size: 4rem;
  }

  .ban-text p::before {
    content: '';
    background: #fdaf4c;
    width: 13.13rem;
    height: 0.7rem;
    position: absolute;
    bottom: -3rem;
    left: 0;
  }

  .ban-img {
    padding-top: 3rem;
  }

  .ban-img img {
    width: 40rem;
  }

  .contact-map {
    height: 30rem;
    text-align: center;
  }

  .contact-map img {
    width: 100%;
    height: 100%;
  }
}


@media screen and (max-width: 1080px) {
  
}


@media screen and (max-width: 750px) {
  .banner {
    margin-bottom: 2rem;
  }
  
  .ban-text {
    font-size: 1rem;
    padding: 3rem 0 0 10%;
  }
  
  .ban-text h1 {
    font-size: 2rem;
  }

  .ban-text p::before {
    height: 0.7rem;
    bottom: -3rem;
  }

  .ban-img {
    text-align: center;
    padding-top: 4rem;
  }

  .ban-img img {
    width: 80%;
  }

  .ban-text p {
    padding-top: 1.2rem;
  }

  .ban-text p::before {
    width: 10rem;
    height: 0.5rem;
    bottom: -1.5rem;
  }

  .contact-box {
    padding: 2rem 4%;
  }

  .contact-text {
    padding: 0;
    font-size: 0.9rem;
  }

  .contact-text img {
    margin-right: 0.8rem;
  }

  .contact-img {
    padding: 0;
    width: 100%;
    text-align: center;
    float: left;
  }
  
  .contact-img img {
    display: inline-block;
    width: 12rem;
    float: none;
  }

  .contact-map {
    height: 11.65rem;
  }

  .contact-map img {
    height: auto;
  }

}
