.wrapper {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 48px;
    position: relative;
}

.wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: 0;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.wrapper i {
    height: 50px;
    width: 50px;
    background: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    font-size: 1.25rem;
    transition: 0.3s;
}

.wrapper i:hover {
    background: #2F48E3;
    color: #FFD015;
    scale: 1.1;
}

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

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

.carousel .card {
    scroll-snap-align: start;
    height: 225px;
    list-style: none;
    background: #FFD015;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    cursor: grab;
}

.name_depoimento {
    color: #2F48E3;
    font: 600 1.25rem/1.5 'Poppins', sans-serif;
    padding-bottom: 8px;
}

.content_depoimento {
    font: 400 1.125rem/1.5 'Montserrat', sans-serif;
    color: #2E2E2E;
}

.carousel.no-transition {
    scroll-behavior: auto;
}

.carousel.dragging {
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

@media (max-width: 500px) {
    .carousel .card {
        height: 100%;
        text-align: center;
    }

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

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