*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.testimonial {
    font-family: "Poppins", sans-serif;
    height: auto;
    background-color: #ffffff;
    display: flex;
    margin-bottom: 35px;
    min-height: 400px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: top;
    background-image: url(../images/back_testimoniales.jpg);
}

.testimonial_slide {
    perspective-origin: 50% 50%;
    perspective: 100em;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    counter-reset: bubble 0;
    overflow: hidden;
    margin: 0;
   /* background: #f84656;*/
    min-height: 400px;
    flex-grow: 1;
    transform: translateX(0) translateY(0) !important;
    /* cursor: auto !important;*/
}
.testimonial_slide .testimonials {
    position: absolute;
    left: 50%;
    display: flex;
    align-items: center;
    height: 100%;
    transform: translateZ(calc(var(--distance) * -1));
    /* transition: transform ease-in-out 1s;*/
    transform-style: preserve-3d;
}
.testimonial_slide .arrow-left {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
    color: #0af;
    z-index: 2;
   /* background: white;*/
    padding: 5px;
        background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/arrow_left.png);
}



.testimonial_slide .arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
    color: #0af;
    z-index: 2;
   /* background: white;*/
    padding: 5px;
        background-repeat: no-repeat;
    background-position: center;
   /* background-image: url(../images/arrow_right.png);*/
}


.testimonial_slide .arrow-left {
    left: 0px;
}
.testimonial_slide .arrow-right {
    right: 0px;
    width: 33px;
    height: 59px;
}
.testimonial_slide .navigation {
    position: absolute;
    bottom: 1em;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
    cursor: pointer;
}
.testimonial_slide .navigation .nav-dot {
    padding: 3px;
    background: #ffffff;
    border: 1px solid white;
    border-radius: 50%;
}
.testimonial_slide .navigation .focused {
    background: white;
}

.chat-bubble {
    padding: 2em;
    width: min(400px, calc(100vw - 40px));
    box-sizing: border-box;
    background-color: white;
    border-radius: 1em;
    position: absolute;
    transform: translateX(-50%) rotateY(var(--rotation))
        translateZ(var(--distance));
    transition: filter 1s ease;
    backface-visibility: hidden;
    pointer-events: none;
    filter: blur(3px);
}
.chat-bubble.focused {
    filter: blur(0px);
    pointer-events: auto;
}
.chat-bubble i {
    font-size: 30px;
    color: #aaa;
    margin-bottom: 0.5em;
}
.chat-bubble .person {
    display: grid;
    grid-template: auto auto/auto 1fr;
    grid-column-gap: 0.4em;
    margin-top: 1em;
}
.chat-bubble .person .img {
    grid-row: 1/-1;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    object-fit: cover;
}
.chat-bubble .person .name {
    font-weight: bold;
    align-self: end;
}
.chat-bubble .person .role {
    align-self: start;
}
.chat-bubble .content {
    white-space: pre-wrap;
    position: relative;
    max-height: 175px;
    padding: 5px 0;
    overflow-y: auto;
}
.chat-bubble .content:w .truncated::after {
    content: "";
    position: absolute;
    height: 3em;
    width: 3em;
    background-image: black;
    top: 0;
    left: 0;
}
.chat-bubble::after {
    content: "";
    position: absolute;
    top: calc(100% - 1px);
    left: 5%;
    width: 25px;
    height: 15px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    background-color: inherit;
}
