
@import url('https://fonts.googleapis.com/css?family=Istok+Web|Poppins:400,500');

body {
  background: #ffffff;
  font-family: 'Istok Web', sans-serif;
  overflow-x: hidden;
}

html, body {
  width: 100%;
  height: 100%;
}

/*---------------------------------------
  TYPOGRAPHY              
-----------------------------------------*/

h1,h2,h3,h4,h5,h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
}

h1 {
  color: #19191f;
  font-size: 40px;
  line-height: 50px;
}

h2 {
  color: #353535;
  font-size: 30px;
  line-height: 40px;
  margin-top: 0;
}

h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 32px;
}

h4 {
  color: #505050;
  font-size: 18px;
  line-height: 28px;
}

p {
  color: #757575;
  font-size: 16px;
  font-weight: normal;
  line-height: 29px;
}


/*---------------------------------------
  BUTTONS               
-----------------------------------------*/

.section-btn {
  margin: 32px 0 0 0;
  padding: 0;
}

.section-btn a,
.section-btn button {
  line-height: 45px;
  -webkit-perspective: 1000px;
  -moz-perspective: 1000px;
  perspective: 1000px;
  color: #ffffff;
  font-weight: 500;
}

.section-btn a span,
.section-btn button span {
  position: relative;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0 25px;
  background: #1B868D;
  border-radius: 1px;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  -webkit-transform-origin: 50% 0;
  -moz-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.csstransforms3d .section-btn a span::before,
.csstransforms3d .section-btn button span::before {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #6d520f;
  border-radius: 1px;
  color: #ffffff;
  padding: 0 25px;
  content: attr(data-hover);
  -webkit-transition: background 0.3s;
  -moz-transition: background 0.3s;
  transition: background 0.3s;
  -webkit-transform: rotateX(-90deg);
  -moz-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
  -webkit-transform-origin: 50% 0;
  -moz-transform-origin: 50% 0;
  transform-origin: 50% 0;
}

.section-btn a:hover span,
.section-btn a:focus span,

.section-btn button:hover span,
.section-btn button:focus span {
  -webkit-transform: rotateX(90deg) translateY(-22px);
  -moz-transform: rotateX(90deg) translateY(-22px);
  transform: rotateX(90deg) translateY(-22px);
}

.csstransforms3d .section-btn a:hover span::before,
.csstransforms3d .section-btn a:focus span::before,

.csstransforms3d .section-btn button:hover span::before,
.csstransforms3d .section-btn button:hover span::before {
  background: #000000;  
}


/*---------------------------------------
  GENERAL               
-----------------------------------------*/

html{
  -webkit-font-smoothing: antialiased;
}

a {
  color: #8a7967;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

a:hover, a:active, a:focus {
  color: #000000;
  outline: none;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

::-webkit-scrollbar{
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  cursor: pointer;
  background: #252525;
}

.section-title {
  position: relative;
  padding-bottom: 22px;
}

#project, #about,
#client, #contact {
  padding-top: 100px;
  padding-bottom: 100px;
}

.project-item img, #project-detail img,
#client img {
  width: 100%;
}


/*---------------------------------------
  PRE LOADER              
-----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.spinner {
  border: 1px solid transparent;
  border-radius: 5px;
  position: relative;
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 1px solid #959595;
  border-top-color: #ffffff;
  animation: spinner .9s linear infinite;
}

@-webkit-@keyframes spinner {
  to {transform: rotate(360deg);}
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}


/*---------------------------------------
  MENU             
-----------------------------------------*/

.navbar-default {
  border: none;
  margin-bottom: 0;
  background-color: #ffffff;
  padding-top: 25px;
}

.navbar-default .navbar-brand {
  color: #252525;
  font-size: 22px;
  font-weight: normal;
  line-height: 55px;
}

.navbar-default .navbar-nav li a {
  font-size: 16px;
  font-weight: normal;
  color: #656565;
  line-height: 40px;
  padding: 0;
  margin: 22px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.navbar-default .navbar-nav li a:hover {
  color: #454545;
}

.navbar-default .navbar-nav li.active > a {
  background-color: transparent;
  color: #5050FF;
}

.navbar-default .navbar-nav li a:after {
  content: "";
  position: absolute;
  display: block;
  width: 0px;
  height: 2px;
  margin: auto;
  background: transparent;
  transition: width .3s ease, background-color .3s ease;
}

.navbar-default .navbar-nav li a:hover:after,
.navbar-default .nav li.active > a:after {
  background: #000000;
  color: #ffffff;
  width: 100%;
}

.navbar-default .navbar-toggle {
  border: none;
  padding-top: 10px;
  margin-top: 0;
}

.navbar-default .navbar-toggle .icon-bar {
  background: #8a7967;
  border-color: transparent;
}


/*---------------------------------------
  HOME             
-----------------------------------------*/

#home {
  height: 100vh;
  position: relative;
  top: 35%;
}


/*---------------------------------------
  HEADER         
-----------------------------------------*/

#header {
  padding: 102px 0 62px 0;
}

#header .header-text {
  padding-top: 62px;
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/

#about {
  border-top: 1px solid #f9f9f9;
}

.about-info h3 {
  margin-top: 0;
}

.about-service-text {
  padding-top: 32px;
}

.about-service-text .section-title {
  padding-bottom: 0px;
}

.about-service-text ul li {
  color: #575757;
  list-style: square;
  font-size: 16px;
  font-weight: normal;
  line-height: 26px;
  padding: 2px 0;
}


/*---------------------------------------
  PROJECT              
-----------------------------------------*/

#project-detail {
  padding-bottom: 100px;
}

.project-item {
  overflow: hidden;
  position: relative;
  top: 0;
  bottom: 0;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.project-overlay h3 {
  color: #454545;
  margin: 0;
}

.project-overlay h4 {
  color: #858585;
  font-size: 14px;
  margin-top: 0;
}

.project-item:hover {
  background: #ffffff;
  box-shadow: 0px 16px 22px 0px rgba(90, 91, 95, 0.3);
  top: -5px;
}

#project .project-overlay {
  padding: 18px 0 26px 12px;
}

.project-detail-text {
  padding: 62px 82px;
}

.project-detail-info {
  padding: 12px 0 62px 0;
}

.project-detail-info h3 {
  margin: 0;
}


/*---------------------------------------
   CLIENT             
-----------------------------------------*/

#client {
  border-top: 1px solid #f9f9f9;
  border-bottom: 1px solid #f9f9f9;
}


/*---------------------------------------
  CONTACT             
-----------------------------------------*/

#contact .text-success,
#contact .text-danger {
  display: none;
  padding: 0 0 5px 20px;
}

#contact .form-control {
  border: none;
  border-bottom: 1px solid #f2f2f2;
  border-radius: 0px;
  box-shadow: none;
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 22px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

#contact .form-control:focus {
  border-color: #d9d9d9;
}

#contact input {
  height: 50px;
  line-height: 45px;
}

#contact .section-btn {
  margin: 5px 0 0 0;
}

#contact button#cf-submit {
  border: none;
  width: auto;
  padding: 0;
}


/*---------------------------------------
  FOOTER              
-----------------------------------------*/

footer {
  background: #000000;
  padding-top: 120px;
  padding-bottom: 120px;
}

footer h2, footer h4 {
  color: #f9f9f9;
}

footer h3 {
  color: rgba(250,250,250,0.5);
  font-size: 18px;
  font-weight: normal;
}

footer h4 {
  font-weight: 500;
  padding-bottom: 4px;
}

.footer-info p {
  font-size: 15px;
  font-weight: normal;
  line-height: 23px;
  margin: 0;
}

.footer-info p a {
  color: rgba(250,250,250,0.6);
}


/*---------------------------------------
  SOCIAL ICON             
-----------------------------------------*/

.social-icon {
  position: relative;
  padding: 0;
  margin: 0;
  text-align: center;
}

.social-icon li {
  display: inline-block;
  list-style: none;
}

.social-icon li a {
  border-radius: 100%;
  color: #ffffff;
  cursor: pointer;
  font-size: 30px;
  text-decoration: none;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
  text-align: center;
  position: relative;
  margin: 4px 8px 0 8px;
}

.social-icon li a:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}


/*---------------------------------------
  MOBILE RESPONSIVE              
-----------------------------------------*/

@media (max-width: 980px) {
  h1 {
    font-size: 32px;
  }

  #home {
    height: 35vh;
    top: 15%;
  }

  .about-info {
    padding-top: 22px;
  }

  .project-detail-text {
    padding: 42px 12px;
  }

  footer {
    text-align: center;
  }
  footer .social-icon {
    margin-top: 32px;
  }
}


@media (max-width: 768px) {
  #home {
    height: 40vh;
    top: 20%;
  }

  .navbar-default {
    background-color: #ffffff;
    box-shadow: 0 40px 100px rgba(0,0,0,.2);
    padding-top: 15px;
  }
}


@media (max-width: 767px) {
  .navbar-default .navbar-brand {
    line-height: 5px;
  }

  .navbar-default .nav li a {
    display: inline-block;
    line-height: 10px;
    margin-bottom: 0;
  }
  .navbar-default .nav li:last-child a {
    margin-bottom: 18px;
  }

  #home {
    height: 45vh;
  }

  #project-detail .col-md-6 img {
    margin-bottom: 42px;
  }

  #project-detail .col-md-4 .project-detail-info {
    padding-bottom: 22px;
  }

  #about .col-md-4:nth-of-type(2n+1) .about-service-text,
  #about .col-md-4:nth-of-type(2n+2) .about-service-text {
    padding-top: 0;
  }

  footer .footer-info {
    padding: 22px 0 22px 0;
  }
}


@media (max-width: 650px) {
  h1 {
    font-size: 22px;
    line-height: inherit;
  }

  h2 {
    font-size: 22px;
    line-height: inherit;
  }

  h3 {
    font-size: 18px;
    line-height: inherit;
  }

  p {
    font-size: 15px;
  }

  .navbar-default .navbar-brand {
    font-size: 18px;
  }

  #home {
    height: 75vh;
    top: 35%;
  }
}


@media (max-width: 359px) {
  h1 {
    font-size: 24px;
  }

  #home {
    height: 95vh;
    top: 30%;
  }
}

