body {
    margin: 0;
    font-family: Arial, sans-serif;
}

header {
    padding: 20px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    text-align: center;
}

header .logo {
    display: inline-block;
}

header .logo img {
    max-width: 100%;
    height: auto;
}

footer {
    padding: 20px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(50% - 16px), 1fr));
    gap: 16px;
}

.image-container {
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.image-container:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.02);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive adjustments */
@media screen and (max-width: 430px) {
    .container {
        width: 200px;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .image-container {
        width: 100%;
    }
}

@media screen and (min-width: 431px) and (max-width: 630px) {
    .container {
        width: 400px;
    }
}

@media screen and (min-width: 631px) and (max-width: 830px) {
    .container {
        width: 600px;
    }
}

@media screen and (min-width: 831px) and (max-width: 1030px) {
    .container {
        width: 800px;
    }
}