/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
* {

}

.wrapperx {
  max-width: 850px;
  width: 100%;
  position: relative;
  padding-right:15px;
}
.wrapperx i {
  top: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
  font-size: 1.25rem;
  position: absolute;
  text-align: center;
  line-height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.23);
  transform: translateY(-50%);
  transition: transform 0.1s linear;
}
.wrapperx i:active{
  transform: translateY(-50%) scale(0.85);
}
.wrapperx i:first-child{
  left: -22px;
}
.wrapperx i:last-child{
  right: -22px;
}
.wrapperx .carousel{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 12px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  border-radius: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.carousel.no-transition {
  scroll-behavior: auto;
}
.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}
.carousel :where(.card, .img) {
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel .card {
  scroll-snap-align: start;
  height: 360px;
  list-style: none;
  background: #3B3B3B;
  cursor: pointer;
  padding-bottom: 5px;
  flex-direction: column;
  border-radius: 3px;
}
.carousel .card .img {
  height: 235px;
  width: 235px;
}
.card .img img {
  width:235px;
  height: 235px;
  
  object-fit: cover;
}
.carousel .card h2 {
  font-weight: 500;
  font-size: 1.56rem;
  margin: 10px 0 5px;
  color: #CCC;
}
.carousel .card span {
  color: #CCC;
  font-weight: 500;
  font-size: 1.31rem;
}

@media screen and (max-width: 880px) {
  .wrapperx .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }


@media screen and (max-width: 600px) {
  .wrapperx .carousel {
    grid-auto-columns: 100%;
  }
  .wrapperx i {
  height: 25px;
  width: 25px;
  }
}