/* MEDIA QUERY TABLETS  */
@media screen and (max-width: 1024px) {
  .container {
    width: var(--container-width-md);
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.7rem;
  }
  h3 {
    font-size: 1.4rem;
  }
  .language-btn {
    display: none;
  }

  /* NAVBAR  */
  nav button {
    display: inline-block;
    background-color: transparent;
    font-size: 1.8rem;
    color: var(--color-white);
    cursor: pointer;
  }
  nav button#close-menu-btn {
    display: none;
  }
  .search-mobile {
    display: block;
  }
  .nav__menu li a {
    display: flex;
    align-items: center;
  }
  .nav__menu li a i {
    display: inline-block;
    margin-bottom: -40px;
    font-size: 18px;
  }
  .nav__menu a:hover,
  .nav__menu a.active {
    color: #e67700;
  }

  .nav__menu {
    position: fixed;
    top: 5rem;
    right: 5rem;
    height: 100vh;
    width: 13rem;
    flex-direction: column;
    gap: 0;
    display: none;
    background: linear-gradient(to bottom, #333333, #c5b044);
  }

  .nav__menu li {
    width: 100%;
    height: 5.8rem;
    animation: animateNavItems 1s linear forwards;
    transform-origin: top right;
    opacity: 0;
  }
  .nav__menu li:nth-child(2) {
    animation-delay: 200ms;
  }
  .nav__menu li:nth-child(3) {
    animation-delay: 200ms;
  }
  .nav__menu li:nth-child(4) {
    animation-delay: 200ms;
  }
  @keyframes animateNavItems {
    0% {
      transform: translateX(-100px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  .nav__menu li a {
    color: #fff;
    box-shadow: -4rem 6rem 10 rem rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
  }
  .nav__menu li a :hover {
    background: var(--color-bg2);
    color: var(--color-white);
  }

  /* Header  */
  header {
  }
  .header__container {
    gap: 0;
    padding-bottom: 3rem;
  }

  /* PROJECTS  */
  .projects__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* SLIDER OF PROJECTS  */
  .sliders-content {
    width: 94%;
  }

  .splide__list-container li {
  }
  .main-carousel-container {
    margin-top: -4rem;
    margin-bottom: -23rem;
  }
  .splide__arrow {
    display: none;
  }
  .thumbnail-carousel {
    height: 170px;
  }

  /* FOOTER  */
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-company {
    padding: 0;
  }
}

@media screen and (max-width: 1600px) {
  /* CATEGORIES  */
  .categories__container {
    margin-bottom: 2rem;
  }
  .categories {
    height: fit-content;
  }
  .categories__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .categories__left {
    margin-right: 0;
  }

  .header__left h1 {
    font-size: 2.7rem;
  }
}

@media screen and (min-width: 1024px) {
  .header__left {
    width: 565px;
  }
}
@media screen and (min-width: 1224px) {
  .header__left {
    width: 650px;
  }
  .section-featured {
    margin-top: 2rem;
  }
}
