* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Barlow Semi Condensed', sans-serif;
    background-color: #ecf2f8;
    line-height: 1.5;
    font-size: 13px;
}

.container {
    padding: 5% 3%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.box {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

#prvi {
    background-color: hsl(263, 55%, 52%);
    color: white;
    background-image: url('bg-pattern-quotation.svg');
    background-repeat: no-repeat;
    background-position: 80% 0;
    background-size: 120px;
    grid-column: 1 / 3;
    position: relative;
}

#drugi {
    background-color: hsl(217, 19%, 35%);
    color: white;
}

#treci {
    background-color: white;
    color: hsl(217, 19%, 35%);
    grid-column: 4;
    grid-row: 1 / 3;
}

#cetvrti {
    background-color: white;
    color: hsl(217, 19%, 35%);
}

#peti {
    background-color: hsl(219, 29%, 14%);
    color: white;
    grid-column: 2 / 4;
}

.row1 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.row1 img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#treci .row1 img,
#cetvrti .row1 img {
    border: 2px solid rgba(207, 207, 207, 0.5);
}

.user-info h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.user-info .status {
    opacity: 0.5;
    font-size: 0.8rem;
}

.row2 h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.row2 p {
    opacity: 0.7;
    font-size: 0.85rem;
}

.attribution {
    font-size: 11px;
    text-align: center;
    padding: 20px;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    #prvi, #drugi, #treci, #cetvrti, #peti {
        grid-column: 1;
    }
    
    #treci {
        grid-row: 5;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 15% 5%;
    }
}