

    .grid-item img {
        width: 200px;
        height: 200px;
    }


        
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the body takes up the full height of the viewport */
}





/* Main content should take up all available space */
.grid-container {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    flex-wrap: wrap; /* Ensure items wrap within the container */
    margin: 0 auto; /* Center the container horizontally */
    max-width: 80%; /* Optional: Limit the width of the container */
}

.grid-item {
    display: flex;
    flex-direction: column; /* Ensure text is below the image */
    margin: 10px; /* Add some spacing between items */
    text-align: center;
    color: #000;
}

.photo-text {
    display: block;
    text-decoration: none;
    margin-top: 5px;
    color: #000;
}

.grid-item img {
    object-fit: cover;
    transition: transform 0.2s ease-in-out;
}

.grid-item img:hover {
    transform: scale(1.2);
}

.photo-text:hover {
    text-decoration: underline;
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .grid-container {
        width: 66%;
        /* Take up 66% of the viewport width */
    }
}















