*{
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: capitalize;
    transition:all .2s cubic-bezier(.34,1.12,.68,1.31);
}

.gallery{
    min-height: 100vh;
    background:#eee;
    padding-bottom: 100px;
}
/* General Styles */


/* Navigation Styles */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #654321; /* Darker Brown */
    display: flex;
    justify-content: center;
}

nav ul li {
    padding: 10px 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ffcc00; /* Gold hover effect */
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        text-align: center;
    }
}



.gallery .controls {
    display: flex;
    justify-content: center;
    padding: 0; /* Remove extra space */
    margin: 20px 0;
    list-style: none; /* Ensure bullets are removed */
}

.gallery .controls li {
    list-style: none; /* Remove bullets from <li> elements */
    margin: 0 10px; /* Add spacing between buttons */
    cursor: pointer;
}

.gallery .controls .buttons {
    height: 40px;
    width: 140px;
    background: #f2f1f0;
    color: #666;
    font-size: 20px;
    line-height: 40px;
    cursor: pointer;
    margin: 10px; /* Adjust spacing */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
    border-radius: 5px;
    border: 1px solid #ddd;
    display: inline-block; /* Ensure buttons stay inline */
}

.gallery .controls .buttons.active {
    background: coral;
    color: #fff;
}


.gallery .controls .buttons.active{
    background:coral;
    color:#fff;
}



.gallery .image-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust for responsiveness */
    gap: 15px; /* Space between images */
    justify-content: center;
    padding: 20px;
}

.gallery .image-container .image {
    height: 250px;
    width: 100%; /* Ensures images take full grid cell width */
    max-width: 350px; /* Prevents images from getting too big */
    overflow: hidden;
    border: 10px solid #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

.gallery .image-container .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 16px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}