header {
    background-color: #e3ee80;
    padding: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: rgb(192, 95, 201);
    text-decoration: none;
    font-size: 18px;
    padding: 8px 16px;
    display: inline-block;
}

nav ul li a:hover {
    background-color: #d6b3ff;
    border-radius: 5px;
}


.flex-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow items to wrap to next line */
    gap: 20px; /* Space between items */
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    max-width: 1200px; /* Limit container width */
    margin-left: auto;
    margin-right: auto; /* Center the container */
}

/* Control the size of images in the flex container */
.flex-gallery img {
    width: 300px; /* Fixed width for each image */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensures images cover their container nicely */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add hover effects to flex container images */
.flex-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 10;
    cursor: pointer;
}

/* For adding text between images */
.image-caption {
    width: 300px; /* Match image width */
    margin: 10px 0;
    text-align: center;
    font-size: 16px;
    color: #333;
}
