@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@500&display=swap');

:root {

  --main-color: #8fa282;
  --light-three: #fafff9;
  --light-color: #eff9ee;
  --dark: #5a5a5a;
  --box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .1);
}

html {
  scroll-behavior: smooth;
}

body {
  direction: rtl;
  font-family: "Tajawal", sans-serif;
  color: var(--main-color);


}

a {
  text-decoration: none;
}

header {

  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  z-index: 222;
}

/* responsive*/

/*-------------laptop 1024px-------------*/
@media (max-width: 1024px) {
  .services-section {

    height: fit-content;
   }

   .portfolio-section {

    height: fit-content;
   }
}


/*-------------tablet 768px-------------*/


@media (max-width: 850px) {
  .container {
    margin-top: 1rem;
    height: fit-content;
  }

  section {

   min-height: fit-content;
}
h2{
  font-size: 30px;
}
.services-section {

 height: fit-content;
}
  .services-section .card-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .services-section .card-wrapper .card {
    max-width: 300px;
    min-height: 220px;
    padding: 0, 1rem;
    margin-bottom: 2rem;
  }

nav .container1{
  display:flex;
  justify-content: space-between;
}

  .hamburger-menu {
    display: flex;
    left: 1rem;
  }

  header {
    background-color: #ffff;
  }

  .links {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    background-color: #252525;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translateX(100%);
    transition: 0.5s;

font-size: 1rem;


  }
  .links .bb {
    text-decoration: none;
    font-size: 1.7rem;
    border-radius: 20rem;
    padding: 0.5rem 1.5rem;
    margin: 1rem 0;
    background-color: var(--light-color);
    color: var(--dark);
    cursor: pointer;

}

  .links ul {
    flex-direction: column;
  }

  .links a {
    color: var(--light-one);
  }

  .links a.active {
    margin-left: 0;
    margin: 0.5rem 0;
  }

  .logo {
    display: block;
  }
  .logo img {
    width: 50px;
    height: 50px;
    margin: 0.2rem;
}
  .about-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }


  .about-section .content .title {
    font-size: 32px;

  }

  .about-section .content .description {
    font-size: 18px;

  }
  .services-section .container .description {

    font-size: 24px;



  }
  .services-section .container .description-sm {

    font-size: 16px;



  }
  .portfolio-section .videos .video {
    max-width: 600px;
    padding:0, 1rem;
    margin-bottom: 2rem;
  }
 

.our-client-section{
  height: fit-content;
}
.our-client-section .clients {

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;


}

.clients img {
  padding: 0rem 0;
  margin: 1rem;
  filter: grayscale(100%);
  width: 75px;
}

.clients img:hover {
  margin: 1rem;
  padding: 0rem 0;
  filter: grayscale(0%);
  width: 75px;

}


.followme h3 {

  font-size: 1rem;
}
.followme {
  margin-left:  0;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.con{
  flex-direction: column;
  align-items: center;
  max-width: 90%;
}

.our-client-section .container h2{
  font-size: 32px;
}
.services-section .container h2{
  font-size: 32px;
}

.portfolio-section .container h2{
  font-size: 32px;
}

.order-section .container h2{
  font-size: 32px;
}
.our-client-section .container h2{
  font-size: 32px;
}


.order-section .container  .description {
  font-size: 28px;

}


.portfolio-section .container  .description {
  font-size: 28px;

}

.services-section .container  .description {
  font-size: 28px;

}
}


/*-------------phone 480px-------------*/

@media (max-width: 480px) {
  .container {
    max-width: 92rem;
    padding: 2rem 2rem;
    text-align: center;
    margin: 0 auto;
  }
  .our-client-section .container h2{
    font-size: 22px;
  }
  .services-section .container h2{
    font-size: 22px;
  }

  .portfolio-section .container h2{
    font-size: 22px;
  }

  .order-section .container h2{
    font-size: 22px;
  }
  .our-client-section .container h2{
    font-size: 22px;
  }

  .about-section .container .column-2 {
    width: 200px;

  }


  .order-section .container  .description {
    font-size: 18px;

  }

  
  .portfolio-section .container  .description {
    font-size: 18px;

  }
  
  .services-section .container  .description {
    font-size: 18px;

  }
  .about-section .container .content .description {
    font-size: 18px;

  }

  .about-section .container {
    padding: 0 1.5rem;
    height: fit-content;
  }




  .services-section .container .description {
    font-size: 20px;
    margin:3rem 0.5rem;
    text-align: center;

  }
  .card {
    min-height: 390px;
    padding: 1.8rem 1.7rem 3rem 1.7rem;
    /* padding: 2.2rem 1.5rem; */
    margin-bottom: 1rem;
    max-width: 250px;
  }

  .card-wrap {
    margin: 1rem 0.6rem;
  }

  .services-section .container .description-sm {
    font-size: 0.9rem;
    margin:1.5rem 0.5rem;
    text-align: center;

  }

  .card .title {
    color: var(--main-color);
    margin: 1rem;
    font-size: 20px;

  }

  .portfolio-section .videos .video {
    max-width: 300px;
    padding:0, 1rem;
    margin-bottom: 2rem;
  }
  /* .portfolio-section .videos {
    flex-direction: column;
    align-items: center;
  } */

  /* iframe{
    max-width: 300px;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
} */

.our-client-section{
  height: fit-content;
}
.our-client-section .clients {

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;


}

.clients img {
  padding: 0rem 0;
  margin: 1rem;
  filter: grayscale(100%);
  width: 50px;
}

.clients img:hover {
  margin: 1rem;
  padding: 0rem 0;
  filter: grayscale(0%);
  width: 50px;

}
.footer{

  padding: 1rem 1rem;
}


.followme h3 {

  font-size: 1rem;
}
.followme {
  margin-left:  0;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.con{
  flex-direction: column;
  align-items: center;
  max-width: 90%;
}
}