@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&display=swap');
body {
    font-family: "Barlow Semi Condensed", serif;
    background: hsl(210, 46%, 95%);
    font-size: 13px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.container {
    max-width:  1440px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 20px;
    gap: 20px;
}



.item {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.5);
}


.item:nth-of-type(1) {
    grid-column: 1 / 3;
}


.item:nth-of-type(4) {
    grid-column: 2 / 4;
    grid-row:  2 / 3;
} 

.item:nth-of-type(3) {
    grid-column: 4;
    grid-row:  1 / 3;
} 


.item1 {
    background: hsl(263, 55%, 52%);
    background-image: url('./quotation.svg');
    background-repeat: no-repeat;
    background-position: top 10px right 100px;
}

.item2 {
    background: hsl(217, 19%, 35%);  
}

.item3 {
    background: hsl(0, 0%, 100%);  
}

.item4 {
    background:  hsl(219, 29%, 14%);  
}

.item5 {
    background: hsl(0, 0%, 100%);  
}


@media  (max-width:  400px) {

    .container {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px; 
    }

    .item:nth-of-type(1) {
        grid-column: 1 ;
        grid-row:  1;
    }
    
    .item:nth-of-type(2) {
        grid-column: 1 ;
        grid-row:  2;
    } 
    
    .item:nth-of-type(3) {
        grid-column: 1 ;
        grid-row:  5;
    }  

    .item:nth-of-type(4) {
        grid-column: 1 ;
        grid-row:  4;
    }  

    .item:nth-of-type(5) {
        
        grid-column: 1 ;
        grid-row:  3;
    }  

    .item1 {
        background-image: url('./quotation.svg');
        background-repeat: no-repeat;
        background-position: top  right 20px;
    }
}


.header {
    display: flex;
    margin-bottom: 20px;  
}

.profile_img {
    border-radius: 50%;
    margin-right: 20px; 
    width: 40px;
    height: 40px;
    border: 2px solid  hsl(0, 0%, 81%); 
}


.name {
    color:  hsl(0, 0%, 81%);    
}

.verified {
    color:  hsl(0, 0%, 81%); 
    opacity: 50%;     
}


.commt h3 { 
    margin-bottom: 20px;
    color:  white; 
    opacity: 80%;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
}

.commt p { 
    opacity: 70%;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color:  hsl(0, 0%, 81%); 
}

.item8 .name {
    color:  hsl(217, 19%, 35%);
    opacity: 70%;
}

.item8 .verified {
    color:  hsl(217, 19%, 35%);
    opacity: 50%;
}

.item8 .commt h3 { 
    color:  white; 
    opacity: 90%;
    color: hsl(217, 19%, 35%);    
}

.item8 .commt p { 
    opacity: 70%;
    color: hsl(217, 19%, 35%);
}