@import url("main.css");

/*
    testimonies.css

    Description: This css file is intended for the testimonies
    section of index.html file.
*/

.testimonies__section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 60%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.testimonies__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px 15px;
}

.testimonies__arrows-container{
    display: flex;
    flex-direction: row;
    gap: 0 25px;
}

.testimonies__title {
    color: var(--color-yellow);
}

.testimonies__list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    gap: 25px;
    padding-bottom: 10px;
    list-style: none;
}

.testimonies__item {
    display: flex;
    flex: 1 1 300px;
    max-width: 400px;
    padding: 10px 25px;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.testimonies__item > p {
    color: var(--color-white);
    font-style: italic;
    font-size: 0.9em;
    font-weight: 500;
}

.testimonies__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonies__textarea-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testimonies__textarea {
    border-radius: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    resize: none;
    height: auto;
}

.testimonies__button {
    border-radius: 15px;
    background-color: var(--color-orange);
    color: var(--color-white);
}

/* RESPONSIVE */

@media (max-width: 1600px) {
    .testimonies__section {
        width: 70%;
    }
}

@media (max-width: 1400px) {
    .testimonies__section {
        width: 80%;
    }
}

@media (max-width: 1280px) {
    .testimonies__section {
        width: 90%;
    }
}

@media (max-width: 600px) {
    .testimonies__section {
        padding: 10px;
        width: 100%;
    }
}

@media (max-width: 540px) {
    .testimonies__item > p {
        font-size: 0.8em;
    }
}

@media (max-width: 420px) {
    .testimonies__item > p {
        font-size: 0.7em;
    }
}
