﻿.depoimentos-title {
    width: 35rem;
    margin: 4rem auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .depoimentos-title h1 {
        font-size: 20px;
        color: #414141;
        margin-bottom: 1rem;
        font-weight: 300;
    }

    .depoimentos-title h2 {
        font-size: 40px;
        color: #1f3156;
        margin-bottom: 1rem;
    }

    .depoimentos-title p {
        width: 39rem;
        color: #414141;
        font-weight: 300;
    }

.allItems {
    width: 50rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
}

.itemOpen {
    height: auto;
    max-height: unset;
    min-height: 288px;
}

.itemClose {
    max-height: 288px;
    min-height: 288px;
}

.itemOpen,
.itemClose {
    width: 15rem;
    border-radius: 2rem 2rem 0 0;
    padding: 1.5rem;
    background-color: #F5F5F5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}
    .area-cards-depoimentos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    /*margin: auto;*/
}

.depoimentos-card {
    width: 15rem;
    border-radius: 2rem;
    padding: 1.5rem;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    min-height: 20rem;
    transition: height 1s ease-in-out;
    min-height: 24rem;
}

    .depoimentos-card button {
        border: none;
        outline: none;
        display: flex;
        align-items: flex-end;
        background-color: transparent;
        font-family: Segoe UI;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        justify-content: center;
        margin-top: 12px;
    }

        .depoimentos-card button svg {
            margin-left: 0.5rem;
            transition: 1s;
        }

.depoimentos-card-info {
    margin-bottom: 1rem;
}

.depoimentos-card-info h3 {
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 700;
    line-height: 49px;
    letter-spacing: 0;
    text-align: left;
    color: #1f3156;
}

.depoimentos-card-info span {
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 400;
    line-height: 29px;
    letter-spacing: 0;
    text-align: left;
    margin-top: 1rem;
}

/*cards*/

.card-content {
    overflow: hidden;
}

/*.full-text {
    display: none;
}*/

.expand-button {
    border: none;
    outline: none;
    text-align: center;
    display: block;
    align-items: flex-end;
    background-color: transparent;
    font-family: Segoe UI;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    justify-content: center;
    margin-top: 12px;
}

.arrowUp {
    color: black;
    transform: rotate(180deg);
    transition: 1s;
}

.arrowDown {
    color: black;
    transition: 1s;
}

.box-cards {
    display: flex;
    align-items: flex-start;
    flex-flow: wrap;
    justify-content: space-between;
}

@media(max-width: 1200px){
    .area-cards-depoimentos {
        width: 50rem;
    }
}

@media(max-width: 880px){
    .area-cards-depoimentos {
        width: 40rem;
        justify-content: center;
        gap: 20px 70px;
    }
}

@media(max-width: 640px) {
    .area-cards-depoimentos {
        display: block;
        width: 30rem;
    }

    .depoimentos-card {
        width: 100%;
    }

    .area-cards-depoimentos {
        width: 28rem;
    }

    .depoimentos-title {
        width: 30rem;
    }

    .depoimentos-title p {
        width: 100%;
    }

    .card {
        width: 100%;
        min-height: 0rem;
    }
}

@media(max-width: 540px) {
    .area-cards-depoimentos {
        display: block;
        width: 25rem;
    }

    .depoimentos-title {
        width: 24rem;
    }
}

@media(max-width: 480px) {
    .depoimentos-title {
        width: 20rem;
    }

    .area-cards-depoimentos {
        width: 20rem;
    }

    .depoimentos-title p {
        width: 100%;
    }
}
