@import url("./colors.css");

@media (max-width: 1400px) {
  #filter-portfolio {
    grid-template-columns: repeat(5, 0fr) !important;
  }

  .group-portfolio--area .group-portfolio--item {
    margin-bottom: 10px !important;
  }

  .timeline .card {
    max-width: 320px !important;
  }

  .container-content-info .text-description {
    max-width: 100% !important;
  }
}

@media (max-width: 1570px) {
  .owner-hero-image {
    bottom: 0 !important;
    right: 0 !important;
  }

  .owner-hero-image img {
    max-height: 250px !important;
  }
}

@media (max-width: 1330px) {
  .owner-hero-image img {
    max-height: 200px !important;
  }
}

@media (max-width: 1250px) {
  #blog .card {
    flex-direction: column !important;
    max-height: 100% !important;
  }

  #blog .card .card-image {
    max-width: 100% !important;
  }
}

@media (max-width: 1200px) {
  .desktop {
    display: none !important;
  }

  .mobile {
    display: block !important;
  }

  #header {
    min-height: 40px !important;
  }

  #main-menu-2 {
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-wrap: nowrap;
  }

  #main-menu-2 li a {
    text-align: center;
    color: var(--color-secondary);
  }

  .navbar-collapse {
    z-index: 9999;
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 0%;
    height: 100vh;
    visibility: hidden;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.4s ease-in-out;
  }

  .navbar-collapse.open {
    opacity: 1;
    width: 35%;
    height: 100vh;
    visibility: visible;
    -webkit-box-shadow: 10px -1px 16px -7px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px -1px 16px -7px rgba(0, 0, 0, 0.75);
    box-shadow: 10px -1px 16px -7px rgba(0, 0, 0, 0.75);
    background: var(--color-bg-grey-light);
  }

  .navbar-collapse .menu-item {
    text-wrap: nowrap !important;
  }
  .navbar-collapse .menu-item a {
    color: var(--color-secondary) !important;
  }

  .navbar-collapse .menu-item a:hover {
    color: var(--color-tertiary) !important;
  }

  .img-logo-header {
    position: relative !important;
    top: 0 !important;
  }

  .products-menu ul a {
    color: var(--color-secondary) !important;
    background: var(--color-white-hover-menu) !important;
    box-shadow: none;
  }

  .carousel-banner .container-info h1 {
    font-size: clamp(0.7em, 3.2vw + 1em, 6em);
  }

  .container-content-info .text-description {
    font-size: clamp(1em, 1.1vw + 0.8em, 1.3em) !important;
  }

  #filter-portfolio {
    grid-template-columns: repeat(4, 0fr) !important;
  }
}

@media (max-width: 1100px) {
  .owner-hero-image {
    right: -60px !important;
  }
}

@media (max-width: 991px) {
  .timeline li::before {
    height: 50% !important;
  }

  .timeline li .circle-border {
    right: calc(50% - 62px / 2) !important;
  }

  .be-seller-text {
    min-height: 150px !important;
  }

  .bg-mobile-secondary {
    background: var(--color-secondary) !important;
  }

  .bg-mobile-primary {
    background: var(--color-primary) !important;
  }

  .owner-hero-image {
    display: none;
  }

  .or-img {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    margin: auto;
    display: block !important;
  }

  .bg-owner {
    background: none !important;
  }

  .hero-owner-mobile {
    display: block !important;
  }
}

@media (max-width: 771px) {
  .float {
    width: 60px !important;
    height: 60px !important;
  }

  .container-bg {
    min-height: 250px !important;
  }

  .cont-bg-ttl {
    text-align: center;
    font-size: 1.8em !important;
  }

  .string_count {
    font-size: 3rem !important;
  }

  #filter-portfolio {
    grid-template-columns: repeat(3, 0fr) !important;
  }

  a {
    font-size: initial !important;
  }

  .navbar-collapse.open {
    width: 65%;
  }

  .btn_default_banner {
    padding: 2px 20px !important;
    font-size: 12px !important;
  }

  body #cookies-policy .cookies__wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: column !important;
    align-items: center;
    padding: 0.7em 1.5em !important;
  }

  body #cookies-policy .cookies__intro p {
    margin-bottom: 1rem !important;
    font-size: inherit !important;
  }

  body #cookies-policy .cookies__alert {
    margin: 4% !important;
    max-height: 90% !important;
    max-width: min-content !important;
    width: initial !important;
    min-width: 0 !important;
  }

  .container.container-content-info {
    margin-top: 40px;
  }

  .text-phone-menu {
    font-size: 14px;
  }

  .img-tec-nacional {
    max-height: 200px !important;
  }
}

@media (max-width: 550px) {
  .carousel-banner .container-info h1,
  .container-content-info .text-description {
    text-align: center !important;
  }
}

@media (max-width: 450px) {
  #navbar .row .col a img {
    max-width: 140px !important;
    max-height: 40px !important;
    object-fit: contain;
  }

  #filter-portfolio {
    grid-template-columns: repeat(2, 0fr) !important;
  }

  .navbar-collapse.open {
    width: 80%;
  }
}

@media (max-width: 415px) {
  .text-phone-menu {
    display: none;
  }
}

@media (max-width: 380px) {
  .float {
    right: 15px !important;
  }
}

@media (max-width: 330px) {
  .img-mobile {
    max-width: 140px !important;
    max-height: 40px !important;
  }

  #filter-portfolio {
    grid-template-columns: repeat(2, 0fr) !important;
  }

  .box-portfolio {
    border-radius: 10px;
    height: 200px !important;
    width: 250px !important;
    overflow: hidden;
  }

  #card-services,
  #card-services-2 {
    width: 100% !important;
  }

  #card-services .card-body .title,
  #card-services-2 .card-body .title {
    font-size: 1.2rem !important;
  }
}
