*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins',sans-serif;
font-weight: 400;
}


body{
    background: #29297b;
    color: #fff;
}

h1{
    text-align: center;
margin:100px auto 100px;
}

form{
    width: 90%;
    max-width: 600px;
    margin: auto;
    background: #434989;
    height: 60px;
    display: flex;
    align-items: center;
    border-radius: 10px;
}

form input{
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    background:transparent;
    color: #fff;
    font-size: 18px;
    padding: 0 30px;
}

form button{
    padding: 0 40px;
    height: 100%;
    background: #ff2929;
    color: #fff;
    border: 0;
    outline: 0;
    border-radius: 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    cursor: pointer;
    font-size: 15px;
}

::placeholder{
    color: #fff;
    font-size: 18px;
}

#show-more-btn{
background: #ff3929;
outline: 0;
border:0;
color: #fff;
padding: 10px 20px;
border-radius: 5px;
margin: 10px auto 100px;
cursor: pointer;
display: block;
display: none;
}

#search-result{
    width: 80%;
    margin: 100px auto 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 40px;
}

#search-result img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}


@media (max-width:800px) {
    #search-result{
        grid-template-columns: 1fr 1fr;
    }

    
#search-result img{
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}
}


@media (max-width:500px) {
    #search-result{
        grid-template-columns: 1fr;
    }

    
#search-result img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

form button{
    padding: 0 20px;
    height: 100%;
    font-size: 12px;
}

form{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
form button{
    position: absolute;
    right: 1px;
}
}

