﻿.testimonial-container {
    width: 100%;
}

.testimonial-text-container {
    text-align: center;
}

.testimonial-text-container h5 {
    color: var(--primary4);
}

.testimonial-text-container h1 {
    color: var(--primary1);
}

.testimonial-cards {
    gap: 10px;
    height: auto;
    width: 1130px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.testimonial-track {
    width: 600px;
    transition: transform 0.8s ease-in-out;
}

.testimonial-card {
    min-width: 545px;
    width: 545px;
    height: fit-content;
    background-color: #FFFFFF;
    text-align: left;
    margin: 15px 10px 15px 10px;
    padding: 10px 40px 40px 40px;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0px 2px 13px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-in-out;
    opacity: 0;
}

.testimonial-card.visible {
    opacity: 1;
}

.testimonial-card span {
    color: var(--color-p);
    font-size: 18px;
}

.t-card-content {
    height: auto;
    margin: 30px 0px
}

.t-card-author-info {
    height: auto;
    width: 100%;
}

.t-card-author-name {
    margin-left: 10px;
}

.t-card-author-name span:nth-of-type(1) {
    color: var(--primary1);
    font-weight: 700;
}

.t-card-author-info i {
    color: var(--primary1);
    font-size: 64px;
    font-weight: 400;
}

.author-img {
    width: 64px;
    border-radius: 50%;
}

@media (max-width: 1130px) {
    .testimonial-cards {
        width: 850px;
    }

    .testimonial-card {
        min-width: 400px;
        width: 400px;
    }
}

@media (max-width: 850px) {
    .testimonial-cards {
        width: 420px;
    }

    .testimonial-card {
        min-width: 400px;
        width: 400px;
    }

    .testimonial-card span {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .testimonial-cards {
        width: 370px;
    }

    .testimonial-card {
        min-width: 350px;
        width: 350px;
        padding: 20px;
    }

    .testimonial-track {
        width: 100%;
    }

    .t-card-content {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .t-card-author-info i {
        font-size: 50px;
    }

    .author-img {
        width: 50px;
    }
}