body {
    background-color: rgb(241, 250, 253);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
}

h1{
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

form{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

#search-input{
    width: 60%;
    max-width: 400px;
    padding: 10px 20px;
    border: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    font-size: 18px;
    color: #333;
}

#search-button{
    padding: 10px 20px;
    background-color: rgb(112, 112, 243);
    color: #fff;
    border: none;
    font-size: 18px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out ;
}

#search-button:hover{
    background-color: rgb(0, 0, 139);
}

.search-results{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px;
}

.search-result{
    margin-bottom: 60px;
    width: 30%;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.search-result:hover img{
    transform: scale(1.1);
}

.search-result img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.search-result a{
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease-in-out;
}

.search-result:hover a{
    background-color: rgba(0, 0, 0, 0.1);
}

#show-more-button{
    background-color: rgb(112, 112, 243);
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-align: center;
    display: block;
    margin: 20px auto;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease-in-out ;
    display: none;
}

#show-more-button:hover{
    background-color: rgb(0, 0, 139);
}

@media screen and (max-width: 768px) {
    .search-result {
        width: 45%;
    }
    
}
@media screen and (max-width: 480px) {
    .search-result {
        width: 100%;
    }
    
    form{
        flex-direction: column;
    }

    #search-input{
        margin-bottom: 20px;
        width: 75%;
    }
}




