
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 40px 20px;
}

.title {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    color: rgb(15, 158, 194);
    background-image:image-set("images/Tiger.jpg" );
    font-size: 50px;
    cursor: pointer;
}

.search {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

/* input {
    font-size: 18px;
    padding: 10px;
    border: 1px solid aqua;
    border-radius: 8px;
}

button {
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
} */

button{
    width: 115px;
    height: 50px;
    font-size: 21px;
    background-color: white;
    border: 1px solid black;
    border-radius: 8px;
    box-shadow: 4px 4px rgb(207, 198, 198);
    transition: transform 0.3 ease-in-out;
}

button:hover{
    /* background-color: rgb(183, 220, 230); */
    transform: scale(1.03);
}

.img_grid {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}

.img_card {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3 ease-in;
}
.img_card:hover{
    transform: scale(1.02);
}

@media (max-width:480px){
    .search{
        gap: 10px;
    }
    button{
        width: 80px;
        height: 40px;
        font-size: 15px;
    }
    .img_grid {
        width: 100%;
        display: grid;
        gap: 10px;
        padding: 10px;
        grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
    }
    .img_card{
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 12px;
    }
}
