*,
*::before,
*::after {
    box-sizing: border-box;
    margin:0;
    padding:0;
}

body{
    font-family: "Barlow Semi Condensed", sans-serif;
    background-color: hsl(214, 17%, 92%);
    min-height: 100vh;
    display: grid;
    place-items: center;
    
}

.testimonials {
    display: grid;
    max-width: 1110px;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    

}

.testimonial {
    background-color: hsl(0, 0%, 100%);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.testimonial__header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial__header img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.testimonial__header h2 {
    font-size: 13px;
    font-weight: 600;
}

.testimonial__status {
    font-size: 11px;
    opacity: 0.5;

}

.testimonial__title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 16px;
}

.testimonial__text {
    font-size: 13px;
    margin-top: 16px;
    line-height: 1.5;
    opacity: 0.7;
}

.testimonial--daniel {
    background-color: hsl(263, 55%, 52%);
    color: hsl(0, 0%, 100%);
    grid-column: 1/3;
    grid-row: 1;
    background-image: url("images/bg-pattern-quotation.svg");
    background-repeat: no-repeat;
    background-position: top right 80px;
}

.testimonial--jonathan {
    background-color: hsl(217, 19%, 35%);
    color: white;
    grid-column: 3/4;
    grid-row: 1;


}

.testimonial--jeanette {
    grid-column: 1/2;
    grid-row: 2;
    color: hsl(217, 19%, 35%);   
}

.testimonial--patrick {
    background-color: hsl(219, 29%, 14%);
    color: white;
    grid-column: 2/4;

}

.testimonial--kira {
    grid-column: 4/5;
    grid-row: 1/3;
    color: hsl(217, 19%, 35%);
}

.testimonial--daniel img,
.testimonial--patrick img {
    border: 2px solid hsl(264, 82%, 80%);

}

@media (max-width: 768px) {

    .testimonials {
        grid-template-columns: 1fr;
        padding: 1.5rem 1.5rem;
    }

    .testimonial {
        grid-row: auto;
        grid-column: auto;
    }
    
}




