﻿.casesText{
    border-radius: 10px;
    background: rgba(14, 52, 42, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    max-width: 480px;
    width: 100%;
    height: 300px;
}

.comment{
    max-width: 400px;
    width: 90%;
    color: var(--color-text);
    text-align: center;
    font-family: var(--font-primary, sans-serif), sans-serif;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.containerPerson{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.person{
    display: flex;
    flex-direction: column;
    align-items: start;
    color: var(--color-text);
    font-style: normal;
    line-height: 25px;
}

.person h4{
    font-family: var(--font-primary, sans-serif), sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.person p{
    font-family: var(--font-secondary, sans-serif), sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 945px) {
    .casesText {
        max-width: none;
    }
}

@media (max-width: 700px) {
    .comment {
        font-size: 16px;
    }

    .person h4 {
        font-size: 18px;
    }

    .person p {
        font-size: 13px;
    }

    .casesText {
        height: 260px;
    }

    .containerPerson {
        justify-content: space-between;
        width: 90%;
        gap: 0;
    }
}