/* General Styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Unna', serif;
    background-color: #0B0B0B;
    color: #F1F1F1;
}

/* Gallery container and item layout */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* Adds space between the gallery items */
    padding: 40px 20px;
}

/* Individual gallery item */
.gallery-item {
    width: 300px;
    position: relative;
    text-align: center;
}

/* Image container styling */
.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Ensure the image covers the entire space */
    transition: transform 0.3s ease;
}

/* Hover effect on image */
.image-container:hover img {
    transform: scale(1.05); /* Zoom effect on hover */
}

/* Overlay for image hover effect */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .overlay {
    opacity: 1; /* Display overlay on hover */
}

/* Fixture and date text */
.fixture-text {
    font-size: 1.2rem;
    margin-top: 15px;
    color: #ffffff;
}

.date-text {
    font-size: 1rem;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.7); /* Lighter, lower opacity color for the date */
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-container {
        padding: 20px 10px;
        gap: 20px;
    }

    .gallery-item {
        width: 90%;
    }

    .image-container img {
        height: 150px; /* Smaller images on mobile */
    }
}
