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

@media (min-width: 769px) {
  .carousel-banner .swiper-slide {
    min-height: 100vh !important;
  }

  .carousel-banner .swiper-slide video,
  .carousel-banner .swiper-slide img {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important;
  }

  .container_img_carousel {
    width: 100vw !important;
    height: 100vh !important;
  }

  .video-placeholder {
    width: 100vw !important;
    height: 100vh !important;
  }
}

@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: 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;
  }

  .mobile {
    display: block !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;
    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 {
    /* padding: 15px 0 !important; */
    text-wrap: nowrap !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(2em, 3.2vw + 1em, 6em);
  }

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

  .menu-item-parent {
    border-bottom: 1px solid #dee2e6 !important;
  }

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

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

  .timeline li .circle-border {
    right: calc(50% - 75px / 2) !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%;
  }

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

  .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;
  }

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

  #card-services .card-body .title,
  #card-services-2 .card-body .title {
    text-align: center;
    font-size: 1.2rem;
  }

  #card-services .card-body p,
  #card-services-2 .card-body p {
    font-size: 0.8rem;
  }

  .btn_default_2 {
    font-size: 0.9rem !important;
    padding: 4px 20px;
  }
}

@media (max-width: 575px) {
  #card-services-2,
  #card-services {
    max-width: 280px !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%; */
    width: 100%;
    max-width: 100%;
  }
}

@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;
  }
}

@media (max-width: 768px) {
  .card-products-cat-our-services {
    width: 14em !important;
    margin: 0 0.25rem 1.5rem 0.25rem !important;
  }

  .card-products-cat {
    width: 14em !important;
    height: 14em !important;
    overflow: hidden !important;
  }

  .card-products-cat-body {
    padding: 0.5rem !important;
  }

  .card-products-cat-img-div {
    max-height: 60% !important;
    margin-bottom: 0.3rem !important;
  }

  .card-products-cat-img-div img {
    max-height: 100px !important;
    object-fit: contain !important;
  }

  .card-products-cat-info p {
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  .carousel-banner .swiper-slide {
    min-height: 500px !important;
  }

  .carousel-banner .swiper-slide video,
  .carousel-banner .swiper-slide img {
    min-height: 500px !important;
    height: 500px !important;
    object-fit: cover !important;
  }

  .highlights-over-banner {
    margin-top: -150px !important;
  }

  #counter-section .row {
    flex-direction: column !important;
    align-items: center !important;
  }

  .counter-number {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .container-our-services {
    width: 95% !important;
  }

  .banner-search-bar {
    top: 80px !important;
    width: 85% !important;
  }

  .banner-search-wrapper {
    max-width: 100% !important;
  }

  .banner-search-input {
    font-size: 14px !important;
    padding: 11px 48px 11px 18px !important;
  }

  .banner-search-button {
    width: 34px !important;
    height: 34px !important;
    right: 5px !important;
  }

  .banner-search-button i {
    font-size: 15px !important;
  }
}

@media (max-width: 576px) {
  .banner-search-bar {
    top: 75px !important;
    width: 92% !important;
  }

  .banner-search-input {
    font-size: 13px !important;
    padding: 10px 45px 10px 16px !important;
  }

  .banner-search-button {
    width: 32px !important;
    height: 32px !important;
  }

  .banner-search-button i {
    font-size: 14px !important;
  }

  .card-products-cat-our-services {
    width: 85% !important;
    max-width: 280px !important;
    margin: 0 auto 1.5rem auto !important;
  }

  .card-products-cat {
    width: 30vw !important;
    height: 30vw !important;
    max-width: 280px !important;
    max-height: 280px !important;
    overflow: hidden !important;
  }

  .card-products-cat-body {
    padding: 0.3rem !important;
  }

  .card-products-cat-img-div {
    max-height: 55% !important;
    margin-bottom: 0.2rem !important;
  }

  .card-products-cat-img-div img {
    max-height: 70px !important;
    object-fit: contain !important;
  }

  .card-products-cat-info p {
    font-size: 0.65rem !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  .carousel-releases {
    margin-top: 3rem !important;
  }

  .carousel-banner .swiper-slide {
    min-height: 450px !important;
  }

  .carousel-banner .swiper-slide video,
  .carousel-banner .swiper-slide img {
    min-height: 450px !important;
    height: 450px !important;
    object-fit: cover !important;
  }

  .highlights-over-banner {
    margin-top: -120px !important;
  }

  #counter-section .row {
    flex-direction: column !important;
    align-items: center !important;
  }

  .counter-number {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .card-products-cat-img-div-our-services {
    max-width: 80% !important;
  }
}
