body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
    color: #333;
}

.search-container {
    width: 100%;
    background: #fff;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.search-container input {
    width: 50%;
    max-width: 400px;
    padding: 11px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 18px 0 0 18px;
    outline: none;
    transition: border 0.3s;
}

.search-container input:focus {
    border-color: #667eea;
}

.search-container button {
    padding: 10px;
    background-color: #667eea;
    border: none;
    border-radius: 0 18px 18px 0;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    max-width: 30%;
}

.search-container button:hover {
    background-color: #556cd6;
}

.search-container svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    width: 240px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow: hidden;  
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-align: center;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
   aspect-ratio: 1 / 1;
    object-fit: contain;  
    display: block;
     margin: 0 auto;
}

.card h3 {
    margin: 12px auto;
    font-size: 16px;
    color: #444;
    object-fit: contain;  
}

