body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    text-align: center;
}

h1 {
    margin-top: 20px;
}

.search-box {
    margin-top: 20px;
}

input {
    padding: 10px;
    width: 220px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    padding: 10px 15px;
    margin-left: 5px;
    border: none;
    background-color: #4f46e5;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #3730a3;
}

#results {
    width: 350px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 60px;

}

.card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.card p {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 500px) {
    .search-box {
        flex-direction: column;
        align-items: center;
    }

    input {
        width: 80%;
    }

    button {
        width: 80%;
    }

    .card {
        flex-direction: column;
        text-align: center;
    }

    .card img {
        width: 80px;
        height: 100px;
    }
}