/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html, body {
  color: #fff;
  font-size: 1em;
  line-height: 1.4;
  background-color: black;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat' ;
}

header {
    width: 100%;
    display: block;
    text-align: center;
    font-family: 'Montserrat';
    position: fixed;
    top: 0px;
    z-index: 9;
    background-color: black;
}

section {
  display: block;
  width: 100%;
}


.boxed-menu-popup {
position: fixed;
z-index:  999999;
width: 100%;
height:100%;
top:0;
left: 0;
background-color: rgba(0, 0, 0, 0.8);
font-family: 'Montserrat' ;
}

.boxed-menu-popup-close {
    font-size: 20px;
    font-size: 30px;
    line-height: 30px;
    top: 20px;
    position: absolute;
    right: 20px;
    cursor: pointer;
}

.boxed-menu-popup-content {

position: absolute;
width: 50%;
left: 25%;
top: 20%;
padding: 40px;
background-color: #505050;
text-align: center;
border-radius: 10px;

}

.boxed-menu-popup-content a {
   
    padding: 7px 15px;
    background-color: black;
    color: white;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 5px;
    display: inline-block;

}


section::after {
  content: '';
  display: block;
  width: 100%;
  clear: both;
}

a {
  color: white;
  text-decoration: none;
  font-family: 'Montserrat' ;


}



#about-section {
  padding-top:226px;
}

p.large {
   font-family: 'Montserrat' ;
   font-size: 18px;
   line-height: 26px;
   margin: 30px 0 0 0;
}


p {
   font-family: 'Montserrat' ;
   font-size: 14px;
   line-height: 24px;
   margin: 20px 0 0 0;
}


h1 {
   font-size: 55px;
   font-family: 'Montserrat' ;
   font-weight: 300;
   line-height: 61px;
   color: white;
   margin: 0;
}



.add-shaddow {
  text-shadow: 0px 0px 7px #000;
}

a.text-cta {
  font-size: 17px;
}

a.text-cta:hover {
  text-decoration: underline;
}


.centered-text-rel {
  max-width: 530px;
  text-align: center;
  width: 90%;
  margin: 0 auto;
  padding: 140px 0;
  transition: all .5s linear;
  opacity: 0;
}


.animate .centered-text-rel {

  opacity: 1;
  

}





h2 {
   font-size: 31px;
   font-family: 'Montserrat' ;
   font-weight: 300;
   line-height:37px;
   color: white;
   margin: 0;
}

.left-block {
   display: inline-block;
   float: left;
   width: 50%;

}

.block-height {
  height: 100%;
  min-height: 75vh;
}

.right-block {
   display: inline-block;
   float: right;
   width: 50%;
}


.left-block, .right-block {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.grey-bg {
   background-color: #505050;
}

.centered-text {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 70%;
}


.logo {
  display: inline-block;
  width: 150px;
  margin: 30px 0 20px;
   transition: all .5s linear;
}


.collapsed .logo {
      width: 0px;
      margin: 0;
   
}


nav {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #505050;
  transition: all .3s linear;
}


nav span {
  font-size: 14px;
  font-weight: 300;
  padding: 10px 40px;
  display: inline-block;
  transition: all .3s linear;
  cursor: pointer;

}

nav span:hover {
  background-color: #262626;
}

.content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}




.burger-container {
  display: none;
}





#menuHolder {
  display: inline-block;
}



.full-block {
  display: block;
  width: 100%;
    background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.padding 
{
  padding: 140px 0;
}

.quote-holder {

  background-image: url('../img/quote.png');
  background-size: 50px;
  background-repeat: no-repeat;
  background-position: 50% 60px;

}

.slider-testimonials {
  max-width: 1000px;
  padding-top: 50px;
  margin: 0 auto;
  text-align: left;
  width: 80%;
  transition: all .5s linear;
  opacity: 0;
  
}


 


.animate .slider-testimonials {
  opacity: 1;
}



.slider-testimonials div p {
    padding: 0 30px;
}


h1.center, p.center {
  width: 80%;
  margin: 20px auto 0;
  text-align: center;
}


.services-grid {
  width: 90%;
  margin: 60px auto 0;
   transition: all .5s linear;
   opacity: 0;
}

.animate .services-grid  {
  opacity: 1;
}

.services-grid:after {
  content: '';
  display: block;
  width: 100%;
  clear: both;
}

.services-grid-item {
  float: left;
  width: 29%;
  margin: 0 2% 50px 2%;
  text-align: center;
  display: inline-block;
}

.services-grid-item .thumb {
  display: block;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



.flip-box {
  background-color: transparent;
  width: 100%;
  height: 300px;
  perspective: 1000px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-box-front {
  background-color: #505050;
  color: black;
}

.flip-box-back {
  background-color: #505050;
  color: white;
  transform: rotateY(180deg);
}


.gallery-holder {
  display: block;
  margin: 50px auto 0;

}

.gallery-holder::after {
  content: '';
  display: block;
  clear: both;
  width: 100%;
}

.gallery-holder .gallery-thumb {
  display: inline-block;
  float: left;
  height: 250px;
  width: auto;
  margin: 0 20px 40px 20px;

}


.watermark {
  position: absolute;
  opacity: .1;
  bottom: 40px;
  right: 40px;
  width: 70%;
 
}


.slider-home {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 75vh;
  overflow: hidden;
}


.slider-home div div {
  display: block;
  width: 100%;

  height: 100%;
  height: 75vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


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

     .content {
     width: 100%;
     max-width: 1440px;
     margin: 0 auto;
     padding: 0;
     }

     nav span {
        padding: 10px 25px;
     }
 
}


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



.boxed-menu-popup-content {

position: absolute;
width: calc(90% - 80px);
    left: 5%;
    top: 20%;
padding: 40px;
background-color: #505050;
text-align: center;
border-radius: 10px;

}

.boxed-menu-popup-content a {
   
    padding: 7px 15px;
    background-color: black;
    color: white;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 5px;
    display: inline-block;

}


  .gallery-holder .gallery-thumb {
 
  height: 150px;
 
  margin: 0 15px 30px 15px;

}


  .logo {
  display: inline-block;
  width: 150px;
  margin: 30px 0 20px;
   transition: all .5s linear;
}


 



  .burger-container {
    display: block;
    cursor: pointer;
    position: absolute;
    margin-top: 5px;
    margin-left: 12px;
    z-index: 999;
}

.bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: #fff;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-8px, 6px);
  transform: rotate(-45deg) translate(-8px, 6px);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
}

  nav {
    height: 50px;
  }

  #menuHolder {
  display: none;
}


nav.opened #menuHolder {
  display: block;
}

nav.opened {
  height: auto;
}


  nav span {
  font-size: 14px;
  font-weight: 300;
  padding: 8px 20px 8px 70px;
  display: block;
  text-align: left;
  width: calc(100%-90px);

}


  h1 {

      font-size: 32px;
      line-height: 38px;

      }


      .left-block {
           display: block;
           float: none;
           width: 100%;

        }

      .block-height {
           height: 100%;
           min-height: 50vh;
      }

      .right-block {
          display: block;
           float: none;
           width: 100%;
      }

      .centered-text {
    position: relative;
    top: auto;
    left: auto;
    -webkit-transform: none;
    transform: none;
    padding: 60px 10%;
    width: 80%;
        }

        .centered-text-rel {
         padding: 60px 0;
         }


         .padding 
        {
            padding: 60px 0;
          }



          .services-grid-item {
  float: none;
  width: 90%;
  margin: 0 auto 30px;
  text-align: center;
  display: block;
}

   .services-grid-item .centered-text {
    padding: 20px;
    margin: 0 auto;
   }
  
}



