/*---------------------------------------------------------------

  Project Name: Bulona - Minimal Portfolio & Agency Template
  File Name: style.css
  Author: Peng Lam
  Author URI: http://khaitawng.com
  Version: 1.0.0

------------------------------------------------------------------*/
/*----------------------------------------------------------------

// Table of contents //

        Body
    0.  TYPOGRAPHY
    1.  BUTTONS
    2.  GENERAL
    3.  PRE LOADER
    4.  MENU
    5.  HOME
    6.  PROJECT
    7.  CLIENT
    8.  ABOUT
    9.  TEAM
    10. BLOG
    11. CONTACT
    12. FOOTER
    13. SOCIAL ICON
    14. RESPONSIVE STYLES

------------------------------------------------------------------*/

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

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

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


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

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

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

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

h3 {
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
	color: #DFCC21;
}

h4 {
  color: #454545;
  font-size: 18px;
}

p {
  color: #656565;
  font-size: 17px;
  font-weight: 300;
  line-height: 29px;
  letter-spacing: 0.5px;
}


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

.section-btn {
  margin: 28px 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: #dbc65d;
  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: #000000;
  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: #dbc65d;
  -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;
}

#about img, .team-item img,
.project-item img, #project-detail img,
#client img, #blog 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: #101010;
  font-size: 22px;
  font-weight: normal;
  line-height: 40px;
}

.navbar-default .navbar-nav li a {
  font-size: 14px;
  font-weight: 500;
  color: #454545;
  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: #dbc65d;
  border-color: transparent;
}



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

#home {
  height: 65vh;
  position: relative;
  padding-top: 105px;
  text-align: center;
}



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

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

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



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

.about-info {
  text-align: center;
  padding: 32px 0 42px 0;
}

.about-info h1 {
  padding-bottom: 6px;
}

.about-info:after {
  content: "";
  background: #000;
  width: 14%;
  height: 2px;
  position: relative;
  display: block;
  margin: 22px auto 0 auto;
}

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

.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;
}

.team-item {
  overflow: hidden;
  position: relative;
  margin-top: 32px;
}

.team-item img {
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.team-info {
  padding-top: 18px;
}

.team-info h3 {
  margin: 0;
}

.team-info p {
  font-size: 16px;
  margin: 0;
}

.team-overlay {
  background: rgba(0,0,0,0.5);
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.team-overlay .social-icon {
  position: relative;
  top: 50%;
}

.team-item:hover .team-overlay {
  opacity: 1;
}

.team-item:hover img {
  transform: scale(1.1);
}



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

#about,
#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: #353535;
  margin: 0;
}

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

.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:last-child {
  margin-top: 0;
}


/*---------------------------------------
  BLOG              
-----------------------------------------*/

#blog, #blog-detail {
  padding-bottom: 100px;
}

#blog h3 {
  margin-bottom: 3px;
}

#blog-detail h4 {
  font-weight: normal;
}

#blog-detail p {
  font-size: 15px;
  line-height: 25px;
}

#blog-detail blockquote {
  margin: 22px 0;
}

.blog-image {
  margin-bottom: 30px;
}

.blog-thumb h3 a {
  color: #000000;
}

.blog-thumb p {
  font-size: 14px;
  font-weight: normal;
  line-height: 25px;
}

.blog-thumb p ~ a {
  display: block;
  padding-top: 10px;
}

.blog-thumb h4 {
  margin-top: 2px;
  margin-bottom: 0px;
}

.blog-thumb ul {
  margin: 32px 12px 22px 0px;
}

.blog-thumb ul li {
  list-style: circle;
  font-weight: normal;
  padding: 4px 12px 4px 0px;
}

.blog-sidebar {
  margin-top: 16px;
}

.blog-social-share {
  text-align: center;
  padding-top: 22px;
}

.blog-social-share .btn {
  border-radius: 100px;
  border: none;
  font-size: 10px;
  margin: 12px 6px;
  padding: 10px 16px;
}

.blog-social-share .btn-primary {
  background: #3b5998;
}

.blog-social-share .btn-success {
  background: #1da1f2;
}

.blog-social-share .btn-danger {
  background: #dd4b39;
}

.blog-social-share a .fa {
  padding-right: 4px;
}

.recent-post {
  padding-top: 2px;
  padding-bottom: 18px;
}

.recent-post .media img {
  width: 100px;
  height: 100%;
  margin-right: 5px;
}

.recent-post .media-heading {
  font-size: 18px;
  line-height: inherit;
}

.blog-categories {
  margin-top: 8px;
}

.blog-categories li a {
  color: #2b2b2b;
}

.blog-ads {
  background: #f9f9f9;
  border-right: 4px solid #2b2b2b;
  padding: 42px;
  text-align: center;
  margin: 26px 0 26px 0;
}

.blog-ads.sidebar-ads {
  border-left: 4px solid #2b2b2b;
  border-right: 0px;
}

.blog-ads h4 {
  font-size: 18px;
}

.blog-tags h4 {
  padding-bottom: 6px;
}

.blog-categories li,
.blog-tags li {
  list-style: none;
  display: inline-block;
  margin: 4px;
}

.blog-tags li a {
  border: 1px solid #2b2b2b;
  border-radius: 50px;
  color: #2b2b2b;
  display: inline-block;
  font-size: 12px;
  text-decoration: none;
  float: left;
  min-width: 30px;
  padding: 6px 12px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.blog-tags li a:hover {
  background: #dbc65d;
  border-color: transparent;
  color: #ffffff;
}


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

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

#client img {
  padding: 5px 0 10px 0;
}


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

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

#contact .form-control {
  border: 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;
}

.gmap {
  position: relative;
  margin-top: 62px;
}

.gmap iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.gmap .map-overlay {
  background: rgba(250,250,250,0.2);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 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.7);
  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.7);
}



/*---------------------------------------
  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 {
  background: #1c1c1c;
  border-radius: 100%;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  vertical-align: middle;
  position: relative;
  margin: 4px 4px 0 4px;
}

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



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

@media (max-width: 980px) {
  #home {
    height: 35vh;
  }

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

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

  #team .col-md-3:first-child,
  #team .col-md-3:nth-of-type(2n+2),

  #blog .col-md-4:first-child,
  #blog .col-md-4:nth-of-type(2n+2) {
    margin-bottom: 42px;
  }

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


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

  .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: 40vh;
  }

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

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

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

  #about .col-md-3:nth-of-type(2n+2) .about-service-text {
    padding: 22px 0 12px;
  }

  #about .col-md-4 .about-service-text {
    padding-top: 0;
  }

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


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

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

  p {
    font-size: 15px;
  }

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

  #home {
    height: 65vh;
  }
}


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

  h2 {
    font-size: 20px;
  }

  #home {
    height: 95vh;
  }
}
