  /* for mobile device*/
  @media only screen and (max-width:850px) {
      .menu-container {
          display: block;
          position: absolute;
          right: 1rem;
          top: 0;
          width: 2rem;
          height: 0.2rem;
          margin: 20px 10px;
          background-color: #fff;
          z-index: 10000002;

      }
      /*    landing content   **/
      #container-header {
          position: absolute;
          justify-content: center;
          align-items: center;
          left: 1rem;
          width: 22rem;
          top: 1/2;
          right: 1rem;

      }

      /***  Header buttons ***/
#header-btn {
 background: transparent;
 top: 1rem;
 border: none;
 color: white;
 padding: 2px 5px;
 text-align: center;
 text-decoration: none;
 display: inline-block;
 font-size: 16px;
}
#mensonry {
          display: none;
      }

      .menu-btn {
          position: absolute;
          display: block;
          height: .2rem;
          width: 2rem;
          background: #000;
          left: 0;
          top: 0;
          margin: 20px 10px;
          z-index: 10000002;
      }

      .menu-btn::after {
          content: "";
          position: absolute;
          width: 75%;
          height: .2rem;
          background: #000;
          top: 0;
          left: 0;
          margin-top: 7px;
          transition: .2s all;
      }

      .nav-links {
          position: absolute;
          top: 0;
          left: 0;
          flex-direction: column;
          width: 100%;
          height: 100vh;
          justify-content: center;
          background: rgb(0, 0, 0);
          margin-top: -200vh;
          transition: all 0.5s ease;
          z-index: 10000000;
      }

      .nav-links li {
          margin: 30px auto;
      }

      .mobile-menu {
          margin: 0px;
      }

  .ctn {
      padding: 8px 15px;
      background-color: #f27747;
      border-radius: 30px;
      color: whitesmoke;

  }

  .menu-btn {
      position: absolute;
      display: block;
      height: .2rem;
      width: 2rem;
      background: rgb(238, 230, 230);
      left: 0;
      top: 0;
      margin: 20px 2px;
      z-index: 10000002;
  }


  .nav-links {
      position: absolute;
      top: 0;
      left: 0;
      flex-direction: column;
      width: 100%;
      height: 100vh;
      justify-content: center;
      background: rgb(0, 0, 0);
      margin-top: -200vh;
      transition: all 0.5s ease;
      z-index: 10000000;
  }

  .nav-links li {
      margin: 30px auto;
  }

  .mobile-menu {
      margin: 0px;
  }
  
  #contact{
    top: 0;
    width: 100%;
    height:25.8rem;
}
.card-container {
    width: 174px;
}
.carousel-container {
  width: 80%;
  margin: 50px auto;
 
  position: relative;
  border-left-width: 4px;
  border-left-style: solid;
}
.card {
  width: 60%;
  height: 50%;
  background-size: center;
  background-repeat: no-repeat;
  border-radius: 20px;
}
.card-img{
  padding: 8px;
  padding-top: 2rem;
  align-items: center;
  justify-content: center;
}
.card3{
  padding: 4px;
  padding-top: 1rem;
  align-items: center;
  justify-content: center;
}
.card4{
  padding: 8px;
  padding-top: 5rem;
  align-items: center;
  justify-content: center;
}
.card5{
  padding: 8px;
  padding-top: 5rem;
  align-items: center;
  justify-content: center;
}
.card6{
  padding: 8px;
  padding-top: 5rem;
  align-items: center;
  justify-content: center;
}
.card7{
  padding: 8px;
  padding-top: 5rem;
  align-items: center;
  justify-content: center;
}
.card9{
  padding: 8px;
  padding-top: 5rem;
  align-items: center;
  justify-content: center;
}
.nav button {
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  outline: none;
  border: 1px solid #000;
  cursor: pointer;
}
.nav .prev {
  left: -30px;
  display: none;
}
.nav .prev.show {
  display: block;
}
.nav .next {
  right: -30px;
}
.nav .next.hide {
  display: none;
}
}
/* for mobile device*/
@media only screen and (max-width:850px){
  .menu-container{
    display: block;
    position: absolute;
    right: 1rem;
    top: 0;
    width: 2rem;
    height: 0.2rem;
    margin: 20px 10px;
    background-color: #fff;
    
    z-index: 10000002;
    
  }
  /*    landing content   **/
  #container-header{
    position: absolute;
    justify-content: center;
    align-items: center;
    left: 1rem;
    width: 22rem;
    top: 1/2;
    right: 1rem;
    
  }
  #header-btn{
    font-size: medium;
    border-radius: 8px;
    background-color: #000;
    display: flex;
  }
  #mensonry{
    display:none;
  }
  .ctn{
    padding: 8px 15px;
    background-color: #f28151;
    border-radius: 30px;
    color: whitesmoke;
    
}
.menu-btn{
  position: absolute;
    display: block;
    height: .2rem;
    width: 2rem;
    left: 0;
    top: 0;
    margin: 20px 10px;
    z-index: 10000002;
}

.menu-btn::after{
  content: "";
  position: absolute;
  width: 75%;
  height: .2rem;
  top: 0;
  left: 0;
  margin-top: 7px;
  transition: .2s all;
}


.nav-links{
  position: absolute;
  top: 0;
  left: 0;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    justify-content: center;
    background: rgb(0, 0, 0);
    margin-top: -200vh;
    transition:  all 0.5s ease;
    z-index: 10000000;
}
.nav-links li{
    margin: 30px auto;   
}
.mobile-menu{
    margin: 0px;
}
}
/*======================================
  Small screen for contact section
========================================*/
@media screen and (max-width: 900px){
  body{
      background-repeat: repeat-y;
      overflow: auto;
  }
  header{
      position: absolute;
      left: 0;
      top: 7%;
      width: 100%;
  }
  .empty{
      height: 210vh;
  }
  .form{
      position: absolute;
      top: 100vh;
      margin-left: 10%;
  }
  .content-form{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-gap: 0;
      margin-top: 53vh;
      margin-left: 10vh;
  }
  .content section{
      margin-top: 0vh;
      margin-left: 0vh;
  }
  .media{
      position: absolute;
      top: 190vh;
      right: 30px;
  }
}
/*==================================*/
/*  Small screen for about section */
/*===================================*/
@media only screen and (max-width:860px){
  #about{
    height: 62rem;
    position: absolute;
    top: 55rem;
  }
  #about-p{
    background-color: #f27747;
    position: absolute;
    width: 100%;
    color: #fff;
    left: 0;
    right: 0;
    padding: 0;
  }
  .con-content{
    flex-direction: column;
    
  }
  .about-header{
    display: none;
  }
  .about-h3{
    position:relative;
    font-size: 14px;
    width: 20rem;
  }
  .row{
    flex-direction: column;
    position: absolute;
    top: 5rem;
  }
  .col .img{
    width: 32rem;
   
  }
  #about .row{
    position: absolute;
    top: 43rem;
    width:100%;
    padding: 1rem ; 
  }
  #about .btnMore{
    margin-top: 4rem;
    padding-top: 5rem;
    background-color: #f28151;
    border-radius: 4rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
  }
}
/*==================================*/
/*  Small screen for expects section */
/*===================================*/
@media only screen and (max-width:860px){
  #expects{
    width: 100%;
    position: absolute;
    top: 116rem;
}
#expects h1{
  position: absolute;
  font-size: 4rem;
  top: 0;
  color: #f28151 ;
  font-family: cursive;
}
#expects span{
  color: gray;
  top: 2rem;
  font-family: cursive;
}
#expects p{
  top: 2rem;
  font-weight: 400;
  width: 100%;
}
}
/*==================================*/
/*  Small screen for our services section */
/*===================================*/
@media only screen and (max-width:860px){
  #service{
    height: 42rem;
    padding: 0;
    left: 0;
    top: 170em;
  }
  #service h1{
    width: 100%;
    font-size: 3rem;
    top: 0;
    padding-left: 4rem;
    padding-bottom: 1rem;
  }
  .service-list{
    width: 21rem;
  }
}
/*==================================*/
/*  Small screen for our clients section */
/*===================================*/
@Media only screen and (max-width:860px){
  #clients{
    height: 20rem;
    position: absolute;
    top: 40rem;
    display: none;
  }
  #clients h2{
    position: absolute;
    top: 2rem;
    width: 100%;
    justify-content: center;
    text-align: center;
    color: #000;
  }
  #clients .carousel-container{
    position: absolute;
    top: 3rem;
  }
}
/*==================================*/
/*  Small screen for project section */
/*===================================*/
@media only screen and (max-width:870px){
  #projects{
    position: absolute;
    top: 45rem;
  }
  #projects h1{
    font-size: 35px;
  }
  .projects{
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .card{
    width: 100%;
    margin-bottom: 2em;
    margin-right: 1em;
  }
  .projectImg{
    width: 180px;
    height: 180px;
  }
}

.reveal {
    position: relative;
    opacity: 0;
  }
  
  .reveal.active {
    opacity: 1;
  }
  .active.fade-bottom {
    animation: fade-bottom 1s ease-in;
  }
  .active.fade-left {
    animation: fade-left 1s ease-in;
  }
  .active.fade-right {
    animation: fade-right 1s ease-in;
  }
  .active.fade-bottom {
      animation: fade-bottom 1s ease-in;
    }
  @keyframes fade-bottom {
    0% {
      transform: translateY(50px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes fade-left {
    0% {
      transform: translateX(-100px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes fade-right {
    0% {
      transform: translateX(100px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  /**********/

  .column {
    float: left;
    width: 33.3%;
    margin-bottom: 16px;
    padding: 0 8px;
  }
  
  @media screen and (max-width: 650px) {
    .column {
      width: 100%;
      display: block;
    }
  }
  
  .card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  }
  
  .container {
    padding: 0 16px;
  }
  
  .container::after, .row::after {
    content: "";
    clear: both;
    display: table;
  }
  
  .button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: rgb(212, 101, 10);
    text-align: center;
    cursor: pointer;
    width: 100%;
  }
  
  .button:hover {
    background-color: #555;
  }
  
  .carousel-container {
    width: 1100px;
    margin: 50px auto;
    height: 187rem;
    position: relative;
    border-left-width: 4px;
    border-left-style: solid;
    border-left-color: rgb(104, 100, 100);
  }
  .inner-carousel {
    width: 100%;
    height: 300px;
    overflow: hidden;
  }
  .track {
    display: inline-flex;
    height: 10%;
    transition: transform 0.2s ease-in-out;
  }
  .card-container {
    width: 275px;
    height: 300px;
    flex-shrink: 0;
    padding-right: 10px;
  }
  .card {
    width: 100%;
    height: 100%;
    background-position: center bottom;
    background-size: center;
    background-repeat: no-repeat;
    border-radius: 10px;
  }
  .card1 {
    padding: 10px;
    padding-top: 4rem;
    align-items: center;
    justify-content: center;
  }
  .card2 {
    padding: 10px;
    padding-top: 4rem;
    align-items: center;
    justify-content: center;
  }
  .card3 {
    padding: 10px;
    padding-top: 8rem;
    align-items: center;
    justify-content: center;
  }
  .card4 {
    padding: 10px;
    padding-top: 8rem;
    align-items: center;
    justify-content: center;
  }
  .card5 {
    padding: 10px;
    padding-top: 8rem;
    align-items: center;
    justify-content: center;
  }
  .card6 {
    padding: 10px;
    padding-top: 10rem;
    align-items: center;
    justify-content: center;
  }
  .card7 {
    padding: 10px;
    padding-top: 8rem;
    align-items: center;
    justify-content: center;
  }
  .card8 {
    padding: 10px;
    padding-top: 4rem;
    align-items: center;
    justify-content: center;
  }
  .card9 {
    padding: 10px;
    padding-top: 4rem;
    align-items: center;
    justify-content: center;
  }
  .card10 {
    padding: 10px;
    padding-top: 4rem;
    align-items: center;
    justify-content: center;
  }
  .card11 {
    padding: 10px;
    padding-top: 4rem;
    align-items: center;
    justify-content: center;
  }
  .card12 {
    padding: 10px;
    padding-top: 4rem;
    align-items: center;
    justify-content: center;
  }
  
  .nav button {
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    outline: none;
    border: 1px solid #000;
    cursor: pointer;
  }
  .nav .prev {
    left: -30px;
    display: none;
  }
  .nav .prev.show {
    display: block;
  }
  .nav .next {
    right: -30px;
  }
  .nav .next.hide {
    display: none;
  }

  /*==================================*/
/*  Small screen for contact section */
/*===================================*/
@media(max-width: 991px){
	#contact{
        position: absolute;
        top: 120rem;
        height: 60vh;
        width: 100%;
        background: red;
        padding-bottom: 2rem;
    }
    #contact .content-form{
        display: none;
    }
    .form{
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        margin-left: 3%;
        top: 3rem;
        min-height: 110vh;
    }
}
