:root {
    --light-bg: #fdfdfd;
    --light-text: #333;
    --primary-color: #007BFF;
    --hover-color: #0056b3;
    --accent-color: #ff5722;
    --secondary-color: #4caf50;
    --background-gradient: linear-gradient(135deg, #007BFF, #4caf50);
    --button-gradient: linear-gradient(45deg, #ff5722, #ff9800);
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--light-text);
    text-align: center;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: var(--background-gradient);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    color: #fff;
    animation: fadeIn 1s ease;
}

h1 {
    font-size: 2.5rem;
    margin: 20px 0;
    color: #fff;
}

p {
    font-size: 1.2rem;
    color: #f0f0f0;
}

.search-bar {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.search-bar input {
    width: 60%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: box-shadow 0.3s;
}

.search-bar input:focus {
    box-shadow: 0 0 10px var(--primary-color);
}

.search-bar button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: var(--button-gradient);
    color: #fff;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.search-bar button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.search-results img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.search-results img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    background-color: #1e1e1e;
    color: #f9f9f9;
    text-align: center;
    font-size: 0.9rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
