/* Import Google font - Poppins */
.wrapper {
    display: flex;
    position: relative;
    padding: 30px 10px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

.wrapper i {
    z-index: 1;
    top: 50%;
    height: 40px;
    width: 40px;
    color: #343F4F;
    cursor: pointer;
    font-size: 30px;
    position: absolute;
    display: flex;
    text-align: center;
    line-height: 30px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: transform 0.1s linear;
    box-shadow: 0 0 3px 1px #000;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.wrapper i:active {
  transform: translateY(-50%) scale(0.9);
}

.wrapper i:hover {
    background: #f2f2f2;
}

.wrapper i:first-child {
    left: 10px;
}

.wrapper i:last-child {
    right: 10px;
}

.wrapper .carousel {
    font-size: 0px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    border-radius: 25px;
    display: -webkit-inline-box;
    scroll-snap-type: x mandatory; /* Força o alinhamento horizontal */
    -webkit-overflow-scrolling: touch;
}

.carousel.dragging {
    scroll-behavior: auto;
    scroll-snap-type: none;      /* Desativa o snap enquanto arrasta para não travar o mouse */
    cursor: grabbing;
}
.carousel.dragging .item {
    pointer-events: none;
}

.carousel img{
    /* height: 340px; */
    width: 100%;
    object-fit: cover;
    user-select: none;
    /*margin-left: 14px;*/
    /*width: calc(100% / 3);*/
}

.carousel .item{
    position: relative;
    margin: auto;
    width: 100%;
    height: 100%;
    display: flex;
    scroll-snap-align: start;    /* Alinha o início da imagem ao container */
    flex-shrink: 0;
}
/*
@media screen and (max-width: 900px) {
  .carousel .item {
    width: calc(100% / 2);
  }
}

@media screen and (max-width: 550px) {
  .carousel .item {
    width: 100%;
  }
}*/