/*
 * body {
 * font-family: Arial, sans-serif;
 * margin: 20px;
 * background-color: #f0f0f0;
 * display: flex;
 * justify-content: center;
 * align-items: center;
 * min-height: 100vh;
 * }
 *
 * .container {
 * display: grid;
 * grid-template-columns: repeat(4, 1fr);
 * grid-template-rows: repeat(5, auto);
 * gap: 10px;
 * max-width: 1200px;
 * padding: 20px;
 * background-color: #fff;
 * border-radius: 20px;
 * box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
 * }
 */

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, auto);
    gap: 10px;
    max-width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.item {
    border-radius: 10px;
    overflow: hidden;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item.large-horizontal {
    grid-column: span 2;
}

.item.xlarge-horizontal {
    grid-column: span 3;
}

.item.large-vertical {
    grid-row: span 2;
}

.item.red-square {
    background-color: #ff0000;
}
.item.blue-square {
    background-color: #007bff;
}
.item.yellow-square {
    background-color: #ffc107;
}
.item.green-square {
    background-color: #28a745;
}
.item.purple-square {
    background-color: #6f42c1;
}

.text-inside {
    color: white;
    font-size: 2.5vw;
    font-weight: bold;
    line-height: 1;
    padding: 0 5%;
    box-sizing: border-box;
}

.left-aligned-text {
    text-align: left;
    font-weight: normal;
    font-size: 2vw;
    display: block;
    width: 100%;
    padding: 0 5%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .item.large-horizontal,
    .item.large-vertical {
        grid-column: span 1;
        grid-row: span 1;
    }
}