.testimoni {
    display: flex;
    justify-content: space-between;
    width: 1000px;
    padding-block: 8%;
}

.testi-container {
    display: flex;
    justify-content: center;
}

.testi-title {
    padding-top: 30px;
}

.testi-title img {
    width: 400px;
}

.testi-title h1 {
    font-size: 2.5rem;
}

.testi-title-circle svg {
    position: absolute;

}

#testimoni-title {
    margin-top: 20px;
}

.testi-title-circle h1 {
    margin-left: 40px;
    margin-top: 20px;
    color: #218B54;
}

.testi-content {
    padding-top: 20px;
    padding-bottom: 30px;
}

.testi-content p {
    margin: 8px 0px;
}

.testi-avatars {
    position: relative;
}

.testi-clients {
    display: flex;
    margin-top: 50px;
    width: 100%;
    align-items: center;
}

.testi-clients p {
    margin-top: 12px;
    font-weight: 300;
}

.testi-clients img {
    margin-right: 25px;
    height: 50px;
}

.testi-carousel {
    display: flex;
    margin-top: 20px;
    overflow: hidden;
}

.indicator {
    margin-top: 7.5rem;
    padding-right: 40px;
    position: relative;
}

.indicator-mobile {
    display: none;
}

#indicator-1 {
    animation: animateIndicator1 18s infinite ease-out;
    animation-delay: calc(6s * var(--delay));
}

@keyframes animateIndicator1 {

    0%,
    33% {
        opacity: 1;

    }

    34%,
    66% {
        opacity: 0;

    }

    67%,
    100% {
        opacity: 0;

    }

}

#indicator-2 {
    animation: animateIndicator2 18s infinite ease-out;
    animation-delay: calc(6s * var(--delay));
}

@keyframes animateIndicator2 {

    0%,
    33% {
        opacity: 0;

    }

    34%,
    66% {
        opacity: 1;

    }

    67%,
    100% {
        opacity: 0;

    }

}

#indicator-3 {
    animation: animateIndicator3 18s infinite ease-out;
    animation-delay: calc(6s * var(--delay));
}

@keyframes animateIndicator3 {

    0%,
    33% {
        opacity: 0;

    }

    34%,
    66% {
        opacity: 0;

    }

    67%,
    100% {
        opacity: 1;

    }

}

.each-indicator {
    position: absolute;
}

.each-indicator img {
    height: 70px;
}

/* #indicator-2, #indicator-3 {
    display: none;
} */

.carousel {
    display: flex;
    flex-direction: column;
    align-items: end;
    position: relative;
    width: 450px;
    padding-top: 48px;
}

.carousel-item {
    display: flex;
    padding: 25px;
    background-color: #F78055;
    border-radius: 10px;
    position: absolute;
    animation: animate 18s infinite ease-out;
    animation-delay: calc(6s * var(--delay));
}

.carousel-img {
    background-color: #EBF2FF;
    border-radius: 10px;
    margin-right: 10px;
}

.carousel-img img {
    width: 150px;
    height: 150px;
}

.carousel-desc {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.carousel-desc p {
    margin: 0;
    color: white;
}

.carousel-desc img {
    width: 5rem;
    height: auto;
}

@keyframes animate {

    0%,
    33% {
        opacity: 0.4;
        transform: translateY(100%) scale(0.8);
    }

    34%,
    66% {
        opacity: 1;
        transform: translateY(0%) scale(1);
    }

    67%,
    100% {
        opacity: 0.4;
        transform: translateY(-100%) scale(0.8);
    }

}

@media (max-width: 1000px) {
    .testimoni {
        flex-direction: column;
        align-items: center;
    }

    .testi-desc {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .testi-desc p {
        text-align: center;
    }

    .testi-carousel {
        width: 90%;
        height: 300px;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 600px) {

    .carousel {
        width: 100%;
    }

    .testi-clients {
        flex-direction: column;
        margin-top: 25px;
    }

    .carousel-img img {
        width: 100px;
        height: 100px;
    }

    .testimoni {
        width: 100%;
    }

    .carousel-desc p {
        font-size: 12px;
    }

    .testi-carousel {
        /* flex-direction: column; */
        width: 80%;
        height: 230px;
        margin-top: 0;
    }

    .testi-clients img {
        margin-right: 0;
        height: 30px;
    }

    .indicator {
        margin-top: 6.5rem;
        padding-right: 30px;
        display: none;
    }
    .indicator-mobile{
        display: flex;
    }

    .each-indicator img {
        height: 50px;
    }

        .carousel-item {
            display: flex;
            padding: 25px;
            background-color: #F78055;
            border-radius: 10px;
            position: absolute;
            animation: animateMobile 18s infinite ease-out;
            animation-delay: calc(6s * var(--delay));
        }

}

@keyframes animateMobile {

    0%,
    33% {
        opacity: 0.4;
        transform: translateX(100%) scale(0.8);
    }

    34%,
    66% {
        opacity: 1;
        transform: translateX(0%) scale(1);
    }

    67%,
    100% {
        opacity: 0.4;
        transform: translateX(-100%) scale(0.8);
    }

}

@media (max-width: 500px) {

    .testi-clients {
        width: 100%;
        justify-content: center;
    }

    .testi-carousel {
        width: 100%;
    }

    .carousel {
        width: 80%;
    }
}

@media (max-width: 400px) {
    .carousel-img img {
        width: 80px;
        height: 80px;
    }

    .carousel-desc p {
        font-size: 10px;
    }

    .testi-carousel {
        height: 200px;
    }

    .carousel {
        padding-top: 35px;
    }

    .testi-title img {
        width: 300px;
    }
}