* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }
.body-wrapper
  {
  display: flex;
  padding: 25px 35px;
  align-items: center;
  justify-content: center;
  }
.wrapper 
  {
  max-width: 1100px;
  width: 100%;
  position: relative;
  }
.wrapperdeuxcards
  {
  max-width: 800px;
  }
.wrapper 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;
  }
.wrapper i:active
  {
  transform: translateY(-50%) scale(0.85);
  }
.wrapper i:first-child
  {
  left: -22px;
  }
.wrapper i:last-child
  {
  right: -22px;
  }
.wrapper .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;
  }
.wrapper .deuxcards
  {
  grid-auto-columns: calc((100% / 2) - 9px);
  }
.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: 342px;
  list-style: none;
  background: #fff;
  cursor: pointer;
  padding: 0 15px 15px 15px;
  flex-direction: column;
  border-radius: 8px;
  }
.carousel .card .img 
  {
  background: #6EC6D5;
  height: 168px;
  width: 168px;
  border-radius: 50%;
  margin: 15px 0 0 0;
  }
.card .img img
  {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  }
.carousel .card h2 
  {
  font-weight: bold;
  font-size: 1.56rem;
  margin: 15px 0 5px;
  text-align: center;
  }
.carousel .card span.job
  {
  color: #6A6D78;
  font-size: 1.02rem;
  margin: 10px 0 0 0;
  font-weight: bold;
  text-align: center;
  }
.carousel .card span.infos-top
  {
  color: #6A6D78;
  font-size: 1.31rem;
  font-weight: bold;
  }

@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%;
  }
}