
body{
    margin: 0;
    
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f9f9f9;
    line-height: 1.6;

}

h1{
    font-size: 37px;
    text-align: center;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 60px;
}
form{
    align-items: center;
    display: flex;
    justify-content: 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, .2);
    border-radius: 5px;
    font-size: 18px;
    color: #333;

}
#search-button{
  padding: 10px 20px;
  background-color: #4caf50;
  border: none;
  font-size: 18px;
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  cursor: pointer;
  border-radius: 5px;
  transition:  background-color .3s ease-in-out;
}

#search-button:hover{
    background-color: #3e8e41;
}

.search-results{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-result{
    margin-bottom: 60px;
    width: 30%;
    border-radius: 5px;
    box-shadow:0 0 5px rgba(0, 0, 0, 0.2) ;
    overflow: hidden;
}
.search-result:hover img{
    transform: scale(1.05);
}

.search-result img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .3s ease-in-out;
}

.search-result a{
  padding: 10px;
  display: block;
  color: #333;
  text-decoration: none;
}

.search-result:hover a{
    background-color: lightgrey;
}

#showmore-button{
  background-color: #008cba;
  border: none;
  color: white;
  padding: 10px 20px ;
  text-align: center;
  margin: 20px auto;
  display: block;
  border-radius: 5px;
  cursor: pointer;
  transition: backgroud-color 0.3s ease-in-out;
  display: none;
}

#showmore-button:hover{
    background-color: #0077b5;
}

@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: 85%;
    }

    
    
}



