* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    background-color: #ecf0f1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 20px;
    position: relative;
    z-index: 1001;
    height: 60px;
}

header h1 {
    font-size: 24px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hamburger-menu {
    font-size: 26px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar {
    width: 250px;
    background-color: #34495e;
    color: white;
    padding: 20px;
    height: 100vh;
    position: fixed;
    left: -250px;
    top: 0;
    transition: left 0.3s ease;
    z-index: 1001;
}

.sidebar.active {
    left: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 1000;
}

.overlay.active {
    display: block;
}

.sidebar h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin: 15px 0;
    cursor: pointer;
}

.main {
    margin-top: 20px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    transition: filter 0.3s ease;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    width: 350px; /* Increased width */
    height: 400px; /* Added height to accommodate larger images */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.03);
}

.card img {
    width: 100%;
    height: 250px; /* Adjusted height for better image visibility */
    object-fit: cover;
}

.card-content {
    padding: 15px;
    text-align: center;
}

.card-content h3 {
    font-size: 20px;
}