@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&display=swap');

/* Globle Variable */
:root {
    /* primary colors */
    --moderate-violet: hsl(263, 55%, 52%);
    --dark-grayish-blue: hsl(217, 19%, 35%);
    --dark-blackish-blue: hsl(217, 30%, 14%);
    --White: hsl(0, 0%, 100%);
    /* neutral colors */
    --light-grayish-blue: hsl(210, 46%, 95%);
    --light-gray: hsl(0, 0%, 81%)

}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 13px;
    background-color: var(--light-grayish-blue);
    min-height: 100vh;
    padding: 2rem;
}

h2 {
    font-size: 14px;
}

h3 {
    font-size: 13px;
}

h2,
h3 {
    text-transform: capitalize;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
}

.feedback {
    padding: 20px 0;
    margin-inline: auto;
    width: min(95%, 70rem);
    display: grid;
    grid-gap: 30px;
}

.client-content {
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--light-gray) 0px 5px 15px;
}

.client-info {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-block-end: 10px;
}

.client-1 {
    background-color: var(--moderate-violet);
    background-image: url(../images/bg-pattern-quotation.svg);
    background-repeat: no-repeat;
    background-position: 85% 0;
}

.client-2 {
    background-color: var(--dark-grayish-blue);
}

.client-4 {
    background-color: var(--dark-blackish-blue);
}

.client-3,
.client-5 {
    background-color: var(--White);
}

.client-1 h2,
.client-2 h2,
.client-4 h2,
.client-1 p:first-child,
.client-2 p:first-child,
.client-4 p:first-child {
    color: var(--White);
}

.client-caption p {
    line-height: 1.4;
}

.client-caption p:first-child {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.6px;
    margin-bottom: 20px;

}

.client-1 h3,
.client-2 h3,
.client-4 h3 {
    color: hsla(0, 0%, 100%, 0.5);
}

.client-3 h2,
.client-5 h2,
.client-3 p:first-child,
.client-5 p:first-child {
    color: var(--dark-blackish-blue);
}

.client-3 h3,
.client-5 h3 {
    color: hsla(217, 30%, 14%, 0.5);
}

.client-3 p,
.client-5 p {
    color: hsla(217, 30%, 14%, 0.75);
}

.client-1 p:last-child,
.client-2 p:last-child,
.client-4 p:last-child {
    color: hsla(0, 0%, 100%, 0.75);
} 
.client-content p:last-child{
    opacity: 0.75;
}
.client-img img {
    display: block;
    border-radius: 50%;
    width: 40px;
    margin-right: auto;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

footer {
    font-size: 11px;
    text-align: center;
    color: hsl(228, 45%, 44%);
}

/* Media Quiery */
/* Large devices (desktops, less than 1200px) */
@media (min-width: 1199.98px) {
    .feedback {
        grid-template-columns: repeat(4, 1fr);
    }

    .client-5 {
        grid-column: 4;
        grid-row: 1/span 2;
    }

    .client-1,
    .client-4 {
        grid-column: span 2;
    }
}
