.carouselsection {
  position: relative;
}


.maincarousel {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(240, 240, 255);
  max-height: 350px;
  margin-bottom: 100px;
  
}

.carousel-arrow {
  position: absolute;
  display: flex;
  justify-content: center;
  top: 0;
  bottom: 0;
  margin-block: auto;
  height: fit-content;
  width: 48px;
  color: #227;
  background-color: rgb(240, 240, 255);
  border: none;
  font-size: 3rem;
  padding: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 100ms;
}

.carousel-arrow:hover,
.carousel-arrow:focus {
  opacity: 1;
}

.carousel-arrow--prev {
  left: 0;
}

.carousel-arrow--next {
  right: 0;
}

.carousel-container {
  width: 100%;
  /* padding-block: 16px 32px; */
  margin: 10px 48px;
  overflow-x: auto;
  display: flex;
  width: 100%;
  /* gap: 8px; */
  align-items: center;
  scroll-snap-type: x mandatory;
  flex-flow: row nowrap;
  scroll-behavior: smooth;
  
}

.carousel-container::-webkit-scrollbar {
  height: 7px;
  width: calc(100% - 48px);
}

.carousel-container::-webkit-scrollbar-track {
  background: #b1b3b399;
}

.carousel-container::-webkit-scrollbar-thumb {
  background: #227;
}

.carousel-container::-webkit-scrollbar-track-piece:start {
  background: #29AB87;
}

.carousel-slide {
  flex: 1 0 30%;
  aspect-ratio: 1;
  flex-flow: column nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: rgb(250, 250, 255); */
  scroll-snap-align: center;
}

/* @media (max-width: 600px) {
  .carousel-slide {
    flex: 1 0 60%;
  }
} */