h1{
    font-family: var(--titles-font);
    color: var(--primary-color);
    background-color: var(--secondary-background-color);
    margin: 0;
    font-size: 1.75rem;
    padding: 0.75em 0.75em 1em;
    border-bottom-right-radius: 1.25em;
    border-bottom-left-radius: 1.25em;
}

.testimonials-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 5rem 0 0;
}

.testimonials-content{
    width: 100%;
    padding: 1rem 7.5%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.5rem;
}

.testimonial {
    width: 100%;
    padding: 1.5rem 7.5%;
    border: 2px solid var(--primary-color);
    border-radius: 4rem;
    position: relative;
}

.testimonial::before,
.testimonial::after{
    content: "";
    position: absolute;
    width: 3rem;
    aspect-ratio: 1/1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.testimonial::before{
    background-image: url(/res/img/common/Comilla-Abierta.svg);
    top: -1rem;
    left: 0;
}

.testimonial::after{
    background-image: url(/res/img/common/Comilla-Cerrada.svg);
    bottom: -1rem;
    right: 0;
}

.testimonial-p{
    width: 100%;
    text-align: justify;
    font-size: 0.95rem;
    line-height: 1.35em;
    margin: 1.5em 0 1em;
}

.testimonial-str{
    width: 100%;
    color: var(--primary-color);
    font-family: var(--bold-font);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.testimonial-form-container{
    width: 100%;
    background-color: var(--secondary-background-color);
    padding: 5rem 7.5%;
    margin-top: 5rem;
    border-top: 3px solid var(--primary-color);
}

.form-title{
    width: 100%;
    text-align: center;
    margin: 0;
    font-family: var(--titles-font);
    font-size: 1.75rem;
    color: var(--primary-color);
    letter-spacing: 0.2rem;
}

.testimonial-form{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 3rem 0 0;
    gap: 1.5rem;
}

.testimonial-form > input,
.testimonial-form > textarea{
    width: 100%;
    background-color: var(--secondary-background-color);
    border: 2px solid var(--primary-color);
    border-radius: 5em;
    font-size: 1rem;
    padding: 0.5em 1.5em;
    color: var(--primary-color);
}

.testimonial-form > input::placeholder,
.testimonial-form > textarea::placeholder{
    color: var(--secondary-color);
}

.testimonial-form > textarea{
    height: 125px;
    border-radius: 2.5em;
}

.testimonial-form > button{
    background-color: var(--secondary-color);
    border: none;
    color: white;
    font-size: 1.25rem;
    padding: 0.75em 2.5em;
    border-radius: 3em;
}


@media (width >= 1024px) {
    h1{
        font-size: 2.75rem;
    }

    .testimonials-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem 3rem;
    }

    .testimonial {
        padding: 2rem 7.5%;
        align-content: center;
    }

    .testimonial::before, .testimonial::after {
        width: 4rem;
    }

    .testimonial-p {
        font-size: 1.15rem;
    }

    .testimonial-str {
        font-size: 1.05rem;
    }

    .testimonials-btns {
        margin-top: 7.5rem;
        margin-bottom: 5rem;
    }

    .testimonials-btn {
        width: fit-content;
        padding: 1rem 5% 1rem 7.5%;
        font-size: 1.5rem;
    }

    .testimonials-btn:last-child {
        padding: 1rem 7.5% 1rem 5%;
    }

    .testimonial-form-container{
        padding: 5rem 25%;
        border-top: 4px solid var(--primary-color);
    }
    
    .form-title{
        font-size: 3.5rem;
    }
    
    .testimonial-form{
        gap: 3rem;
    }
    
    .testimonial-form > input,
    .testimonial-form > textarea{
        border-radius: 2em;
        font-size: 1.5rem;
    }
    
    .testimonial-form > textarea{
        height: 200px;
        border-radius: 2em;
    }
    
    .testimonial-form > button{
        font-size: 1.5rem;
    }
}