
*, html{
  margin: 0;
  padding: 0;
}

body{
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

h1{
  font-size: 34px;
  font-weight: 300;
  color: #111;
}

h2{
  margin-bottom: 22px;
  font-size: 28px;
  font-weight: 500;
  color: #111;
}

h3{
  font-size: 22px;
  font-weight: 500;
  color: #111;
}

h4{
  font-size: 16px;
  color: #111;
}

h5{
  font-size: 14px;
  color: #111;
}

p{
  padding: 10px 0 10px 0;
}

.row{
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.col-1{
  flex-basis: 100%;
}

.col-2{
  flex-basis: 40%;
}

.col-3{
  flex-basis: 30%;
}

.col-4{
  flex-basis: 22%;
}

.small-text{
  font-size: 12px;
}

header,
footer,
.full-width{
  width: 100%;
}

.header{
  min-height: 50vh;
  background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(../images/buckram4.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}

nav{
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}

nav img{
  /* width: 120px; */
  width: 180px;
}

nav .fa{
  display: none;
}

.nav-links{
  flex: 1;
  text-align: right;
}

.nav-links ul li{
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a{
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.nav-links ul li::after{
  content: '';
  width: 0%;
  height: 2px;
  background: #fff;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after{
  width: 100%;
}

.nav-links ul li:hover a{
  color: #fff;
  transition: 0.5s;
}

.text-box{
  margin-top: 50px;
  width: 70%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1{
  color: #fff;
}

.text-box p{
  margin: 10px 0 40px;
  font-size: 22px;
  color: #fff;
}

/**** home page ****/

.home-page .header{
  min-height: 100vh;
  background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(../images/buckram4.jpg);
}

.home-page .text-box{
  margin-top: 0;
}

.hero-btn{
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.hero-btn:hover{
  border: 1px solid #111;
  background: #111;
  transition: 0.5s;
}

.services .inner,
.portfolio .inner,
.testimonials .inner,
.cta .inner{
  width: 75%;
  margin: auto;
  text-align: center;
  padding-top: 80px;
}

/* .portfolio,
.cta{
  background: url(../images/bg3.png) 0 0 repeat;
  background: #f9f9f9;
} */

/* .cta{
  background: url(../images/bg3.png) 0 0 repeat;
  background: #f9f9f9;
} */

.services .col-3{
  background: #f9f9f9;
  margin-bottom: 0;
  padding: 20px 12px;
  box-sizing: border-box;
}

.portfolio .col-3{
  margin-bottom: 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.portfolio img{
  width: 100%;
}

.portfolio img:hover{
}

.testimonials .col-2{
  margin-bottom: 0;
  text-align: left;
  background: #f9f9f9;
  padding: 25px;
  cursor: pointer;
  display: flex;
}

.testimonials img{
  height: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}

.testimonials .col-2 p{
  padding: 0;
}

.testimonials .col-2 h4{
  margin-top: 15px;
  text-align: left;
}

.testimonials .col-2 .fa{
  color: #f44336;
}

.cta{
  padding-bottom: 80px;
}

.cta h2{
  margin-bottom: 30px;
}

.cta-btn{
  display: inline-block;
  text-decoration: none;
  color: #111;
  border: 1px double #111;
  padding: 12px 34px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.cta-btn:hover{
  color: #fff;
  border: 1px solid #111;
  background: #111;
  transition: 0.5s;
}

.info-box{
  padding: 20px 0;
  width: 100%;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  font-style: italic;
  color: #333;
  background: #eee;
  position: absolute;
  bottom: 0;
}

/**** inner pages ****/

.content{
  width: 75%;
  margin: auto;
  padding: 20px 0 80px;
}

.content .col-2{
  flex-basis: 48%;
}

.content .col-2 h2{
  padding: 0 0 25px;
}

.content .col-2 p{
  padding: 0 0 25px;
}

.content .cta-btn{
  margin-bottom: 80px;
}

.content img{
  width: 100%;
}

.portfolio-page .portfolio .row:last-child{
  padding-bottom: 80px;
}

.about-page .content img{
  float: right;
  display: inline-block;
  width: 40%;
  margin: 8px 0 25px 40px;
}

.about-page .content p{
  padding: 0 0 25px;
}

.contact-page .content .col-2 div{
  display: flex;
  /* align-items: center; */
}

.contact-page a{
  text-decoration: none;
  color: #111;
}

.contact-page .content .fa{
  font-size: 32px;
  color: #111;
  width: 30px;
  margin-right: 10px;
}


/**** gallery ****/

.gallery {
	display: flex;
	padding: 2px;
	transition: .3s;

	&:hover &__image {
		filter: grayscale(1);
	}

	&__column {
		display: flex;
		flex-direction: column;
		width: 25%;
	}

	&__link {
		margin: 2px;
		overflow: hidden;

		&:hover {
			.gallery__image {
				filter: grayscale(0);
			}

			.gallery__caption {
				opacity: 1;
			}
		}
	}

	&__thumb {
		position: relative;
	}

	&__image {
		display: block;
		width: 100%;
		transition: .3s;

		&:hover {
			transform: scale(1.1);
		}
	}

	&__caption {
		position: absolute;
		bottom: 0;
		left: 0;
		padding: 25px 15px 15px;
		width: 100%;
		font-family: 'Raleway', sans-serif;
		font-size: 16px;
		color: white;
		opacity: 0;
		background: linear-gradient(0deg, rgba(0, 0, 0, .5) 0%, rgba(255, 255 ,255 , 0) 100%);
		transition: .3s;
	}
}

/**** forms ****/

input,
textarea,
button{
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

button{
  width: auto;
}

/********************/

footer{
  background: #111;
  position: relative;
}

.footer{
  width: 75%;
  margin: auto;
  padding: 50px 0 30px;
  color: #fff;
}

.footer .row{
  margin-top: 0;
}

.footer .col-3{
  text-align: left;
  margin-bottom: 30px;
}

.footer h3{
  color: #fff;
}

.footer p{
  padding-left: 0;
}

.footer .social-icons{
  text-align: center;
}

.footer .social-icons .fa{
  margin-right: 10px;
  cursor: pointer;
  padding: 15px 0;
  font-size: 22px;
}

.footer .social-icons .fa:last-child{
  margin-right: 0;
}



/**** media queries ****/

@media(max-width: 700px){

  .row{
    flex-direction: column;
  }

  nav .fa{
    display: block;
    color: #fff;
    margin: 10px;
    text-align: right;
    font-size: 22px;
    cursor: pointer;
  }

  .nav-links{
    position: fixed;
    background: #111111;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -220px;
    text-align: left;
    z-index: 2;
    transition: 0.5s;
  }

  .nav-links{
    padding: 10px;
  }

  .nav-links ul li{
    display: block;
  }

  .text-box p{
    margin: 10px 0 40px;
    font-size: 16px;
  }

  .text-box h1{
    font-size: 26px;
    font-weight: 300;
  }

  .services .col-3,
  .portfolio .col-3,
  .testimonials .col-2{
    margin-bottom: 10%;
  }

  .testimonials img{
    margin-left: 0;
    margin-right: 15px;
  }
}

/**********************/
