:root {
  --xspace: 5px;
  --vw-width: calc(100vw - 18px);
}
h2 {
  text-align: center;
}
.carousel-accordion.owl-carousel {
  max-width: 90%;
  margin: 3vh auto;
}
.carousel-accordion.owl-carousel .owl-stage {
  display: flex;
}

.carousel-accordion.owl-carousel {
  padding-left: 20px;
  padding-right: 20px;
}

.carousel-accordion .owl-item a {
  text-decoration: none;
  color: inherit;
}

/*   .active {
  background: #ddd;
}

.expanded {
  background: #333;
}  */

.carousel-accordion .accordion_li .bg-image {
  height: 48vh;
  display: flex;
  max-height: 400px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.carousel-accordion .accordion_li img {
  /* aspect-ratio: 1;
  width: 100%;
  height: 100%; */
  position: absolute;
  top: 50%;
  left: 50%;
  width: inherit;
  transform: translate(-50%, -50%);
  object-fit: cover;
}



@media (min-width: 1200px) {
  .carousel-accordion .owl-item {
    padding: 0 var(--xspace);
  }

  .carousel-accordion .accordion_li .bg-image {
    max-height: 600px;
    width: unset;
  }

  .carousel-accordion .accordion_li {
    width: calc((((var(--vw-width)) - (var(--xspace) * 2)) / 5));
  }
}

/* owl nav show on  more than  5 slide on desktop */

.owl-carousel .owl-nav {
  text-align: center;
}

.owl-carousel .owl-nav button.owl-prev {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  margin: 0 5px;
  background: #000;
  display: inline-grid;
  place-content: center;
}

.owl-carousel .owl-nav button.owl-prev:focus {
  outline: 0;
}

.owl-carousel .owl-nav button.owl-next .angle-right,
.owl-carousel .owl-nav button.owl-prev .angle-left {
  height: 30px;
  width: 30px;
  border-radius: 10px;
  background: #000
    url(https://png.pngtree.com/element_our/20190601/ourlarge/pngtree-white-direction-arrow-right-icon-image_1338652.jpg)
    no-repeat center;
  background-size: 10px auto;
}

.owl-carousel .owl-nav button.owl-prev .angle-right.angle-left {
  rotate: 180deg;
}

.owl-carousel .owl-nav button.owl-prev .angle-left.angle-left {
  rotate: 180deg;
}

.owl-carousel .owl-nav button.owl-next {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  margin: 0 5px;
  background: #000;
  display: inline-grid;
  place-content: center;
}

.owl-carousel .owl-nav button.owl-next:focus {
  outline: 0;
}