@font-face {
	font-family: "RobotoCondensed";
	src:url(../fuente/RobotoCondensed-Regular.ttf);
}

.carousel1 {
  font-family: 'RobotoCondensed';
  display: flex;
  padding: 0 35px;
  align-items: center;
  justify-content: center;
}
.wrapper {
  max-width: 70%;
  width: 100%;
  position: relative;
}
.wrapper i {
  top: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
  font-size: 1.25rem;
  position: absolute;
  text-align: center;
  line-height: 50px;
  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% / 5) - 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: 342px;
  list-style: none;
  padding-bottom: 15px;
  flex-direction: column;
  border-radius: 8px;
}
.carousel .card .img {
  height: 148px;
  width: 148px;
  border-radius: 50%;
}
.card .img img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px;
}
.carousel .card h2 {
  font-weight: 300;
  font-size: 1.56rem;
  margin: 30px 0 5px;
  font-family: 'RobotoCondensed';
}


@media screen and (max-width: 1600px) {
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 4) - 9px);
  }
}
@media screen and (max-width: 1300px) {
    .wrapper .carousel {
      grid-auto-columns: calc((100% / 3) - 9px);
    }
  }
@media screen and (max-width: 900px) {
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}
@media screen and (max-width: 615px) {
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }
}

@media screen and (min-width: 0px) {
    .wrapper i {
        height: 40px;
        width: 40px;
        line-height: 40px;
      }

    .carousel .card {
        height: 250px;
      }

    .carousel .card h2 {
        font-size: 18px;
      }

}

@media screen and (min-width: 480px) {
    .carousel .card h2 {
        font-size: 23px;
      }

}

@media screen and (min-width: 768px) {
    .carousel .card h2 {
        font-size: 24px;
      }

}

@media screen and (min-width: 1024px) {
    .carousel .card h2 {
        font-size: 24px;
      }

}


@media screen and (min-width: 1300px) {
    .carousel .card h2 {
        font-size: 25px;
      }

}

@media screen and (min-width: 1600px) {
    .carousel .card h2 {
        font-size: 26px;
      }


}

@media screen and (min-width: 1920px) {
    .carousel .card h2 {
        font-size: 26px;
      }

}
