/* Basic Reset and Font Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding-top: 50px;
    overflow-y: auto;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.8);
    color: #fff;
    padding: 10px 0;
    text-align: center;
    z-index: 10;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

.navbar a:hover {
    color: #ddd;
}

/* Photo Wall Styling */
.photo-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four columns */
    gap: 10px;
    padding: 60px 10px 10px;
    justify-items: center;
}

.photo {
    width: 100%; /* Adjusted size for photos */
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 5s ease-in-out infinite; /* Simple pulse animation */
}

/* Different delays for each photo for a staggered effect */
.photo:nth-child(1) { animation-delay: 0s; }
.photo:nth-child(2) { animation-delay: 0.5s; }
.photo:nth-child(3) { animation-delay: 1s; }
.photo:nth-child(4) { animation-delay: 1.5s; }
.photo:nth-child(5) { animation-delay: 2s; }
.photo:nth-child(6) { animation-delay: 2.5s; }
.photo:nth-child(7) { animation-delay: 3s; }
.photo:nth-child(8) { animation-delay: 3.5s; }
.photo:nth-child(9) { animation-delay: 4s; }
.photo:nth-child(10) { animation-delay: 4.5s; }
.photo:nth-child(11) { animation-delay: 5s; }
.photo:nth-child(12) { animation-delay: 5.5s; }

.photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Keyframes for the pulse animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.30); /* Slight zoom in at midpoint */
    }
}
