header .back-img {
  background-image: url(img/header-bg.jpg);
  background-position: center center;
  background-size: cover;
  height: 100vh;
}
.bg-light {
  background-color: transparent !important;
}
.navbar-brand {
  font-family : 'Kaushan Script', cursive,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';
  color: #fed136 !important;
  font-size: 1.75rem;
}
.nav-link {
  color: #fff !important;
  text-transform: uppercase;
  font-size: 1.25rem;
}
.intro {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  color: #fff;
}
.intro h3 {
  font-family: 'Roboto Slab',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';
  font-style: italic;
  font-size: 2rem;
}
.intro h1 {
  font-size: 4rem;
  font-weight: bold;
}
.btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #fff;
  font-weight: bold;
}
.btn-lg {
  padding: 1rem 3rem;
}
.portfolio-card {
  
}
.portfolio,.categories h1 {
  font-family: 'Poppins', sans-serif;
  color :#002147;
  font-weight: bold;
}
.portfolio,.categories p {
  font-size: 18px;
  color: #555 !important;
}
.image {
  position: relative;
  overflow: hidden !important;
}
.image img{
  width: 100%;
}
.card-caption {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background-color: #fff;
  padding: 1rem 2rem;
  
  
  transition: .7s .2s all;
}
.card-caption h4{
  color: #002147;
}
.card-caption span{
  color: #ffc107;
}
.overlay {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  text-align: center;
  position: absolute;
  top: -100%;
  bottom: 100%;
  background-color:rgba(0,33,71,.7);
  width: 100%;
  height: 100%;
  color: #fff;
  transition: all .7s;
}
.overlay p{
  color: #fff !important;
}
.portfolio-card:hover .overlay {
  top: 0;
}
.portfolio-card:hover .card-caption {
  bottom: -100%;
}
.categories {
  background-color: #ddd;
  overflow: hidden;
}
.back1,.back2,.back3,.back4,.back5,.back6,.back7,.back8 {
  background-position: center center;
  background-size: cover;
  border-radius:10px;
}
.back1 {
  background-image: url(img/category/1.jpg);
}
.back2 {
  background-image: url(img/category/2.jpg);
}
.back3 {
  background-image: url(img/category/3.jpg);
}
.back4 {
  background-image: url(img/category/4.jpg);
}
.back5 {
  background-image: url(img/category/5.jpg);
}
.back6 {
  background-image: url(img/category/6.jpg);
}
.back7 {
  background-image: url(img/category/7.jpg);
}
.back8 {
  background-image: url(img/category/8.jpg);
}
.square1,.square2,.square3,.square4,.square5,.square6,.square7,.square8 {
  border: 1px solid transparent;
  border-radius: 10px;
  color: #fff;
  transition: all 1s;
}
.square1 {
  background-color: #337ab7;
  transition: all 1s;
}
.square1,.square2,.square3,.square4,.square5,.square6,.square7,.square8 span {
  font-weight: bold;
}
.back1:hover .square1{
   opacity: .7;
}
.square2 {
  background-color: #1ec1d9;
  transition: all 1s;
}
.back2:hover .square2{
  opacity: .7;
}
.square3 {
  background-color: #10c45c;
  transition: all 1s;
}
.back3:hover .square3{
  opacity: .7;
}
.square4 {
  background-color: #47c58e;
  transition: all 1s;
}
.back4:hover .square4{
  opacity: .7;
}
.square5 {
  background-color: #f9bd44;
  transition: all 1s;
}
.back5:hover .square5{
  opacity: .7;
}
.square6 {
  background-color: #e948ae;
  transition: all 1s;
}
.back6:hover .square6{
  opacity: .7;
}
.square7 {
  background-color: #e84b3a;
  transition: all 1s;
}
.back7:hover .square7{
  opacity: .7;
}
.square8 {
  background-color: #92278f;
  transition: all 1s;
}
.back8:hover .square8{
  opacity: .7;
}
.card .image .card-img-top {
  position: relative;
  transition: all 1s;
}
.card .image .back-image {
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: #ffc107;
  width: 100%;
  height: 100%;
}
.fa-plus {
  height: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  color: #fff;
  font-size: 4rem;
}
.image:hover .card-img-top {
  opacity: .06;
}
.cards a {
  cursor: pointer;
}
.modal-dialog {
  width: 100%;
}
.contacts {
  background-color: rgba(0,0,0,.8);
}
.map {
  background-image: url(img/map-image.png);
}
.contact-caption h2{
  color: #fff;
  font-size: 3rem;
}
.contact-caption p{ 
  color: #fff;
}
.butn { 
  width: 40%;
  margin: auto;
}
footer {
  margin: auto;
  width: 40%;
}
footer span {
  color: #337ab7;
  font-weight: bold;
}

@media(max-width:768px) {
  .intro h3 {
    font-size: 1.5rem;
  }
  .intro h1 {
    font-size: 2.5rem;
  }
  .btn-lg {
    padding: .5rem 2rem;
  }
  .card { 
    width: 32rem !important;
}