.relatos-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dep-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 600px;
}

#depoimentos {
    width: 80%;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 1rem;
    text-align: center;
}

.relatos {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#formDepoimento {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#formDepoimento input,
#formDepoimento textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
}

#formDepoimento button {

    background: #4a4975;
    color: #ffffff;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

#formDepoimento button:hover {
    background: #7a78c2;
}

.container-depoimentos {
    width: 55%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    max-height: 600px;
    overflow: auto;
    /* Adiciona uma barra de rolagem quando o conteúdo excede px */
    border: 1px solid #7b78c22a;
    border-radius: 2%;
}

.depoimento {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    width: 250px;
    background: #7b78c21e;
    border: 1px solid #7a78c2;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.depoimento.show {
    opacity: 1;
    transform: translateY(0);
}

.depoimento strong {
    display: block;
    color: #7a78c2;
    margin-bottom: 0.5rem;
}

.depoimento p {
    color: #000000;
    font-size: 0.95rem;
}

.depoimento small {
    display: block;
    margin-top: 0.5rem;
    color: #777;
    font-size: 0.8rem;
}

/* Telas médias (tablets) */
@media (max-width: 992px) {

    .relatos-container {
        height: 43rem;
    }

    #depoimentos {
        max-width: 1000px;

    }

    #formDepoimento {
        margin-right: 1rem;
    }

    .container-depoimentos {
        width: 60%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
        max-height: 700px;
        overflow: auto;
        /* Adiciona uma barra de rolagem quando o conteúdo excede px */
        border: 1px solid #7b78c22a;
        border-radius: 2%;
    }

    #depoimentos {
        margin-top: -0.5rem;
    }

}

/* Telas médias (Celulares) */
@media (max-width: 490px) {

    .relatos-titulo {
        font-size: 2rem;
        margin-top: 2rem;
    }

    .dep-container {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;

    }


    .container-depoimentos {
        width: 100%;

    }

    .relatos {
        width: 100%;
        margin-top: 2rem;
    }

    #formDepoimento button {

        background: #4a4975;
        color: #ffffff;
        border: none;
        padding: 0.8rem;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.3s;
    }

}