@media only screen and (max-width: 1316px) {
  .services .box {
    gap: 2rem;
  }
  .item-box {
    margin: 0 0 1.5rem;
    padding: 1.4rem;
    /* min-width: 17rem; */
  }
}
@media only screen and (max-width: 1245px) {
  .services .box {
    gap: 1.7rem;
  }
  .item-box {
    margin: 0 0 1.2rem;
    padding: 1.4rem;
  }
  .item-box:nth-child(2) {
    transform: translateX(100px);
  }
  .item-box:nth-child(3) {
    transform: translateX(-100px);
  }
}

@media only screen and (max-width: 1170px) {
  .themaroons {
    background-size: 90%;
  }
  /* ------------------------ */
  .hero .slider h1 {
    font-size: 5rem;
  }
  .nav-list li a {
    margin: 0 5px;
  }

  .navbar {
    padding: 20px 0;
  }
  .contect .container:nth-child(2) {
    max-width: 60% !important;
  }
}

@media only screen and (max-width: 1015px) {
  .nav-list li a {
    margin: 0;
    padding: 0.6rem 0.45rem;
  }
}
@media only screen and (max-width: 992px) {
  a,
  p,
  h1,
  h2 {
    font-size: 90%;
  }
  /* ------------------------ */

  .themaroons {
    background-size: 97%;
  }
  .themaroons.area {
    width: 1.8rem;
    height: 2.9rem;
  }
  /* ------------------------ */
  .hero .slider h1 {
    font-size: 4rem;
  }
  .hero-btn a {
    padding: 0.6rem 3rem !important;
  }
  /* ------------------------ */

  .nav-list li a {
    margin: 0;
    padding: 0.6rem 0.5rem;
  }

  .navbar {
    padding: 20px 0;
  }

  .hero .slider h1 {
    padding: 30px 0;
    font-size: 86px;
    line-height: 96px;
  }
  .hero-btn button {
    padding: 0.6rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
  }
  .contect .container:nth-child(2) {
    max-width: 65% !important;
  }
}
@media (max-width: 881px) {
  /* --------------------------- */
  /* project */
  .project .p-item {
    width: 12rem;
  }
}
@media only screen and (max-width: 852px) {
  /* ------------------------ */

  .themaroons {
    background-size: 110%;
  }
  /* ------------------------ */
  .hero .slider h1 {
    font-size: 3rem;
  }
  .nav-list li a {
    padding-left: 6px;
  }

  .header {
    padding: 0 0 0.5rem;
    /* overflow: hidden; */
  }
  .header .logo {
    width: 10rem;
    height: auto;
  }
  .header .logo img {
    width: 23%;
  }
  .navbar {
    display: none;
    text-align: center;
    transition: all 0.5s ease;
  }
  .nav-list li {
    margin: 7px 0;
    /* transition: all 0.5s ease; */
  }
  .nav-list {
    width: 100%;
    margin-top: 4.2rem;
    padding: 1rem 0;
    position: absolute;
    top: 0;
    left: -10%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-100%);
    transition: all 0.5s linear;
    z-index: 1000;
    background-color: #ffffff;
  }
  .mobile-nav-btn {
    display: block;
    z-index: 1000;
  }
  .active-nav {
    /* left: 0; */
    transform: translateX(00%);
    width: 120%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .active-nav .mobile-nav-btn .nav-icon[name="close"] {
    display: block;
  }
  .active-nav .mobile-nav-btn .nav-icon[name="hamburger"] {
    display: none;
  }

  /* --------------------------- */
  /* about */
  .about .about-img {
    max-width: 29rem;
    flex: 100%;
  }
  .about .about-text {
    flex: 100%;
  }
  .about .about-text p {
    padding-top: 15px;

    margin-top: 15px;
  }
  /* --------------------------- */
  /* project */
  .project .p-item {
    width: 11rem;
  }
  /* --------------------------- */
  /* contect */
  .contect {
    background-size: 100%;
  }
  .contect .container:nth-child(2) {
    max-width: 80% !important;
  }
  /* .form {
    width: 70%;
  } */
}
@media (max-width: 726px) {
  .project .portfolio {
    width: 100%;
    gap: 10px;
  }
  .project .p-item {
    width: 9rem;
  }
  .project .p-item .p-name {
    height: 2rem;
    line-height: 2rem;
  }
}
@media only screen and (max-width: 675px) {
  .themaroons {
    background-size: 130%;
  }
  .footer .footer-icones {
    gap: 1rem;
  }
  .footer .footer-links {
    gap: 0;
  }
  .footer .footer-links a {
    flex: 100%;
    gap: 0;
  }
  /* scroll btn */
  #myBtn {
    padding: 0.7rem;
    font-size: 1rem;
  }
  .contect .container:nth-child(2) {
    max-width: 90% !important;
  }
}
@media only screen and (max-width: 608px) {
  .container {
    width: 100% !important;
    padding: 3.25px 0 !important;
  }
  .project .filter-buttons ul {
    width: 18rem;
    gap: 0.5rem;
    margin: auto;
    justify-content: flex-start;
  }
  .project .filter-buttons ul li {
    font-size: 0.9rem;
    padding: 8px;
    transition: all 0.3s ease-in;
  }
}
@media only screen and (max-width: 500px) {
  .themaroons {
    width: 100%;
    height: 100vh;
    background: url("image/respHero.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-attachment: fixed;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
  }
  .project .portfolio {
/*     justify-content: space-around !important; */
    gap: 8px;
  }
}
@media (max-width: 400px) {
  .project .p-item {
/*     width: 8.3rem !important; */
  }
}
