@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

.transfer-wrapper {
  /* max-width: 1100px; */
  width: 100%;
  position: relative;
  height: 80%;
}
.transfer-wrapper i {
  top: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
  font-size: 1.25rem;
  position: absolute;
  text-align: center;
  line-height: 50px;
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
  transform: translateY(-50%);
  transition: transform 0.1s linear;
}
.transfer-wrapper i:active {
  transform: translateY(-50%) scale(0.85);
}
.transfer-wrapper i:first-child {
  left: -20px;
}
.transfer-wrapper i:last-child {
  right: -20px;
}
.transfer-wrapper .transfer-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 23px;
  border-radius: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.transfer-carousel::-webkit-scrollbar {
  display: none;
}
.transfer-carousel.no-transition {
  scroll-behavior: auto;
}
.transfer-carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.transfer-carousel.dragging .transfer-card {
  cursor: grab;
  user-select: none;
  /* width: 150px !important; */
}
.transfer-carousel :where(.transfer-card, .img) {
  display: flex;
  justify-content: center;
  align-items: center;
}
.transfer-carousel .transfer-card {
  scroll-snap-align: start;
  height: 300px;
  list-style: none;
  /* background: transparent; */
  border-radius: 2rem 2rem 2rem 14rem;

  cursor: pointer;
  padding-bottom: 0px;
  flex-direction: column;
  border-radius: 8px;
  
}
.transfer-carousel .transfer-card img {
  height: 100%;
  width: 100%;
  /* border-radius: 50%; */
}
.transfer-card .img img {
  width: 50px;
  height: 140px;
  /* border-radius: 50%; */
  object-fit: scale-down;
  border: 4px solid #fff;
}
.transfer-carousel .transfer-card h2 {
  font-weight: 500;
  font-size: 1.56rem;
  /* margin: 10px 0 5px; */
}
.transfer-carousel .transfer-card span {
  color: #6a6d78;
  font-size: 1.31rem;
}

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

@media screen and (max-width: 600px) {
  .transfer-wrapper .transfer-carousel {
    grid-auto-columns: 100%;
  }
  .transfer-wrapper i:first-child {
    left: -10px;
  }
  .transfer-wrapper i:last-child {
    right: -10px;
  }
}

