* {
  box-sizing: border-box;
  margin: 0;
}


h1 , h2, p { 

  font-family: Arial, Helvetica, sans-serif;
}

/* header and nav start */
header {
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  width: 100%;
  padding: 5px;
  z-index: 2;
  }
header img {
width: 15%;
margin: 0.5% 0 0 15%;

}

.nav {
  display: flex;
  flex-direction: row;
 position: absolute;
 right: 14%;
 top: 50%;


}
.nav a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1vw;
  color: white;
  text-decoration: none;
  text-align: center;
  padding-left: 15%;
}

/* header and nav end */

/* head article start */
.page1 {
  background-image: url('img/p1bg.jpg');
width: 100%;
height: 610px;
background-repeat: no-repeat;
background-size: cover;
overflow: hidden;

}

.p1-artcl {
color: white;
text-align: center;
position: relative;
top: 33%;
display: block;
margin-left: auto;
margin-right: auto;
width: 100%;
}
.p1-artcl h1 {
  font-family:'Agency FB', arial;
  font-size: 5vw;
 font-weight: lighter;

}
.p1-artcl h2 {
  display: block;
  font-family: arial;
  font-size: 1.6vw;
 font-weight: bold;
}
.p1-bton, .p5-bton {
  background-color: #4CAF50; /* Green */
  border-radius: 6px;
  color: white;
  padding: 10px 40px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1vw;
}
/* head article animated 3 words */

/* head article animated 3 words modelings */

.text_1 {
  animation: text1;
}

.text_2 {
  animation: text2;
}
.text_3 {
  animation: text3;
}
.text_1, .text_2, .text_3 {
  color: #4CAF50;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  position: relative;
  animation-duration: 6s;
  animation-timing-function: steps(30, end);
  animation-iteration-count: infinite;
}

.text_1::after, .text_2::after, .text_3::after {
  content: "|";
  color: white;
  position: absolute;
  right: 0;
  animation-duration: 1s;
  animation-timing-function: steps(1, end);
}
  /* head article animated 3 words animations */

@keyframes text3 {
  0%, 30%, 60%, 100% {
    width: 0;
  }
  
  70%, 90% {
    width: 7.5em;
  }
}

@keyframes text2 {
  0%, 30%, 60%, 100% {
    width: 0;
  }
  
  40%, 50% {
    width: 3.5em;
  }
}

@keyframes text1 {
  0%, 30%, 60%, 100% {
    width: 0;
  }
  10%, 20% {
    width: 6em;
  }
}
/* head article end */

/* About us start */

.about-us {
  background-color: rgb(51, 51, 51);
  font-size: 1.2vw;
  color: white; 
  padding: 2%;
  width: 75%;
  border-radius: 10px;
  height: auto;
  position: absolute;
  left: 15%;
  top: 80%;
}
/* About us end */

.page2, .page3 {
  width: 100%;
  overflow: hidden;
  
}
/* Our Services start */

.p2-artcl2 {
  width: 100%;
  margin-left: 10%;
  height: auto;
  
}
/* Our Services 3 boxes modeling */

.p2-artcl2-s1 {
  display: inline-block;
  padding: 30px 15px 20px 15px ;
  text-align: center;
  width: 25%;
  height: 230px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-left: 2%;
  background-color: white;
  animation-name: hover;
    animation-duration: 1ms;
    animation-fill-mode: backwards;
    animation-play-state: paused; 
  overflow: hidden;
}
.p2-artcl2-s1 h2 {

  font-size: 20px;
}
/* Our Services hover */

.p2-artcl2-s1:active,
.p2-artcl2-s1:focus,
.p2-artcl2-s1:hover {
animation-fill-mode: forwards;
animation-play-state: running;
}
/* to keep it hoverable*/

@keyframes hover {
0% {
  background-color: #4CAF50;
  color: white;

}
100% {
  background-color: #4CAF50;
  color: white;

}
}
/* Our Services end */

.p2-artcl1, .p2-artcl3 {
text-align: center;
margin-bottom: 5%;
line-height: 2;
width: 100%;

}


/* Our Clients start */

.p2-artcl3 {
  color: white;
  background-color: black;
  height: auto;
  width: 100%;
  padding: 15px 150px 100px 100px;
  overflow: hidden;
  }

  .clients-slide {
width: 100%;
height: 35%;
overflow: hidden;
   

  }
  .clients-slide img {
    display: inline-block;
    width: 13%;
    position: relative;
    animation-name: clients;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    }

    /* Our Clients animaion */

    @keyframes clients {
      0%   {transform: translate(1000px, 0);}
      
      100% {transform: translate(-1000px, 0);}
    }
    
    /* Our Clients end */

    /* PORTFOLIO start */

.p2-artcl4 {

  text-align: center;
}
    /* PORTFOLIO modeling */


div.gallery {

  text-align: center;
  color: white;
  position: relative;
  width: 33%;
  float: left;
  top: 10px;
  overflow: hidden;

}

.pf-img {
  display: inline-block;
  width:100%;
  height: auto;
  transition: transform 0.5s;

}


.pf-img-content {
  visibility: hidden;
  position: absolute;
  top: 0px;
  background-color: rgba(0, 0, 0, 0.8);
  background-size: cover;
  width: 0%;
  height: auto;
  overflow: hidden;
  transition: width 0.5s, visibility 0.5s;
  padding: 20% 0 80% 0;
  height: auto;
}

.pf-img-txt {
  position: relative;
  opacity: 0;
  font-size: 0px;
  transition: opacity 0.6s, font-size 0.6s;
  line-height: 2;
}
.eye {
  position: relative;
  font-size:0;
 color:rgb(51, 51, 51);
 background-color: white;
 border-radius: 30px;
 padding: 10px;
 opacity: 0;
 transition: opacity 0.6s, font-size 0.6s;

}

    /* PORTFOLIO Hover */

.gallery:hover .pf-img-content {
  width:100%;
  visibility: visible;  
}

.eye:hover {
background-color: #4CAF50;
color: white;

}

.gallery:hover .pf-img-txt, .eye {
  opacity: 1;
  font-size: 15px;

}

.gallery:hover .pf-img {
  transform: scale(1.2);

}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

    /* PORTFOLIO end */

.page5 {

  background-image: url(img/qutation.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 300px;
  margin-top: 5%;
  
}
.p5-artcl1 {
color: white;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
padding: 70px 0;
  line-height: 2;
}
.p5-bton {
  background-color: white;
  color: black;

}

.p5-bton:hover {

  background-color: #4CAF50;
  color: white;}

    /* Footer start */

footer {
height: 350px;

}
.contact-info {

width: 100%;
height: 80%;
padding: 50px;


}
.bottom-border {
  display: inline-block;
border-bottom: 2px solid green;
padding: 20px;
font-size: 30px;
color: rgb(51, 51, 51);
text-align: center;
}
    /* Footer social media */

.social {
  width: 100%;
background-color: rgb(51, 51, 51);
padding: 40px;
}

.social a { 
  float: right;
  text-decoration: none;
  color: white;
  font-size: 20px;
  padding-right: 70px;
}
/* Footer end */


/* Responsive */

@media screen and (max-width: 1000px) {
  /* Responsive PORTFILO images */
  div.gallery { 
     float: none;
     width: 100%;
     height: auto;
    }
 /* Responsive Our Services 3 boxes */
    .p2-artcl2-s1 {
float: none;
width: 70%;
height: auto;
margin-bottom: 10px;


    }
}
