@import url('_global.css');

.clients-hero {
    background: url('../img/hero-img-ourClients.png') no-repeat center center/cover;
}

.clients-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.cards-feedback{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding-bottom: 5vh;
}

.h2-clients{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5% 0;
    font-size: var(--font-3xl);
    color: #578E73;
}

.paragraph-clients{
    font-size: 1.3rem;
    width: 70%;
}

.card {
  max-width: 400px;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
  height: 100%;
  margin: 0 1vw 5vh 1vw;
}

.card a {
  text-decoration: none
}

.content {
  padding: 2.1rem;
}

.image {

  width: 100%;
  height: 150px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.img-client-card{
    width: 60%;
}

.title {
  color: #111827;
  font-size: 1.6rem;
  font-weight: 600;
}

.desc {
  margin-top: 0.5rem;
  color: #252527;
  font-size: 1.1rem;
  line-height: 1.25rem;
}

.action {
  display: inline-flex;
  margin-top: 1rem;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 500;
  align-items: center;
  gap: 0.25rem;
  background-color: #000000;
  padding: 4px 8px;
  border-radius: 4px;
}

.action span {
  transition: .3s ease;
}

.action:hover span {
  transform: translateX(4px);
}


.card-feedback2{
    background-color: #212121;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
    color: #ffffff;
    width: 28%;
    margin-top: 3%;
    border-radius: 20px;
    padding: 2vh;
}

.card-feedback-text{
    width: 70%;
    font-size: 1.3rem;
    text-align: center;
}

/* Essa imagem é totalmente bugada, evite mexer com ela */
.card-image{
    padding-top: 2rem!important;
    width: 150px !important;

}

.card-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.clients {
    padding: 60px 40px;
    text-align: center;
}

.logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
}

.logos img {
    width: 100px;
    height: auto;
}

.clients-carousel{
    background-color: #FFFFFF;
    border-radius: 3rem 3rem 0 0;
}

.carousel-title {
    font-size: var(--font-3xl);
    color: #578E73;
    padding: 7% 0 2% 0;
    text-align: center;
    text-transform: uppercase;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    padding: 0 0 5% 0;
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    animation: scroll-left 60s linear infinite;
    min-width: fit-content;
}

.carousel-track img {
    width: clamp(80px, 10vw, 120px);
    height: clamp(40px, 6vw, 80px);
    object-fit: contain;
    padding: 0 clamp(1rem, 4vw, 2rem);
    flex-shrink: 0;
    pointer-events: none;
    user-select: none;
}

.carousel-logo {
    width: 150px !important;
    height: auto !important;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media(max-width: 425px){

    .hero-subtitle{
        font-size: 20px !important;
    }

    .cards-feedback{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;

        flex-wrap: nowrap;

    }

    .card-feedback-text
    {
        font-size: 15px;
    }

    .card-feedback{
        width: 70%;
    }

    .card-feedback2{
        width: 70%;
        margin-top: 0;
    }
}


@media (max-width: 1000px) {
    .card-text{
        font-size: var(--font-sm);
    }

    .card-image {
        width: 150px !important;
        height: auto !important;
    }

    .card-image.korin {
        width: 100px !important;
        height: auto !important;
    }
}

@media (max-width: 1366px){
    .hero-subtitle{
        font-size: 1.2rem !important;
    }

    .card-feedback-text{
        font-size: 1rem;
    }
}

@media (max-width: 768px) {

    .cards-feedback{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .testimonials{
        height: auto;
    }

    .card-feedback, .card-feedback2{
        width: 80%;
        height: auto;
    }

    .card-feedback-text{
        padding: 2rem 2rem 0 2rem;
    }

    .card-image{
        padding: 0 0 2rem 0;
    }

    .card-feedback2{
        margin: 0;
    }

    .card-feedback, .card-feedback2{
        width: 60%;
    }

    .carousel-track {
        animation: scroll-left 20s linear infinite !important;
    }
}

@media (max-width: 425px){
    

    .h2-clients{
        text-align: center;
    }

    .paragraph-clients{
        width: 100%;
    }
}

@media(max-width: 320px){
    .cards-feedback{
        height: 190vh;
    }
}
