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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 900px;
    padding: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    width: 100%;
}

.image-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

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

.image-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(251, 213, 164, 0.6);
    color: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    font-family: Arial, sans-serif;
    font-size: 1.4rem;
    text-align: left;
}

.details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    font-size: 1.4rem;
    background-color: rgba(251, 213, 164, 0.3);
    color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
}

.label {
    font-weight: normal;
}

.value {
    text-align: right;
    font-weight: bold;
}

a {
    color: rgba(114, 158, 181, 1);
    text-decoration: none;
}

@media (max-width: 600px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
