@charset "utf-8";
/* CSS Document */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Optima, Roboto, Franklin Gothic Book, Arial;
}
.wrapper {
	max-width: 1100px;
	width: 80%;
	position: relative;
	margin: auto;
}
.wrapper i {
	top: 40%;
	height: 50px;
	width: 50px;
	cursor: pointer;
	font-size: 1.25rem;
	position: absolute;
	text-align: center;
	line-height: 50px;
	transform: translateY(-50%);
	transition: transform 0.1s linear;
	display: flex; /* Use flexbox */
  	justify-content: center; /* Center horizontally */
  	align-items: center; /* Center vertically */
}
.wrapper i:active{
  transform: translateY(-50%) scale(0.85);
}
.wrapper i:first-child{
  left: -60px;
}
.wrapper i:last-child{
  right: -60px;
}
.wrapper .carousel{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 26px;
  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;
}
#carosel1 .wrapper .carousel :where(.card, .img) {
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel .card {
  scroll-snap-align: start;

  list-style: none;
  background: #fff;
  cursor: pointer;
  padding-bottom: 15px;
  flex-direction: column;
}
.carousel .card .img {

  width: 100%;
}
.card .img img {
  width: 100%;
  
  object-fit: cover;
}
.carousel .card h3 {
	font-weight: 500;
	font-size: 1.1rem;
	text-align: left;
	padding: 15px;
}
.carousel .card span {
  color: #0E123B;
  font-size: 1rem;
}
.carousel .card p {
	color: #0E123B;
    font-size: .9rem;
	text-align: left;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
}

@media screen and (max-width: 900px) {
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}

@media screen and (max-width: 600px) {
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }
}
