/* Reset some default spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Page styling */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
}

/* Navigation */
nav {
    margin-top: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Main content box */
main {
    background: white;
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Headings */
h2 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Paragraph spacing */
p {
    margin-bottom: 15px;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background-color: #2c3e50;
    color: white;
    margin-top: 30px;
}
/* Center the whole button group */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
}

/* Make buttons bigger */
.filters button {
    padding: 15px 25px;
    font-size: 16px;
    border: none;
    background: #555;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

/* Hover + active effect */
.filters button:hover,
.filters button.active {
    background: #2c3e50;
    transform: scale(1.05);
}
.gallery img {
    width: 100%;
    height: 500px;      /* controls height */
    object-fit: cover;  /* keeps images from stretching */
    border-radius: 10px;
}