* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}
body {
  line-height: 1.6;
  background-color: #222;
}
h1 {
  font-size: 30px;
  text-align: center;
  margin: 10px auto;
  color: #eee;
}
form {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
#search-input {
  width: 300px;
  border-radius: 5px;
  padding: 5px 5px;
  margin: 0 5px;
  height: 40px;
  box-shadow: 1px 1px 6px rgba(1, 1, 1, 0.8);
}
#search-btn {
  background-color: #4caf50;
  cursor: pointer;
  transition: 0.3s ease all;
  height: 35px;
  width: 70px;
  outline: none;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}
.search-results {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 10px 10px;
  /* box-shadow: 0 0 6px rgba(0, 0, 0, 0.2); */
}
.search-result {
  margin: 30px 0;
  width: 30%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  padding: 5px;
}

.search-result img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: opacity 0.2s ease-in-out;
}
.search-result:hover img {
  opacity: 0.7;
}
.search-result a {
  text-decoration: none;
  font-size: 20px;
  text-transform: capitalize;
  color: #eee;
}
#show-more {
  background-color: rgb(50, 50, 219);
  cursor: pointer;
  transition: 0.3s ease all;
  height: 30px;
  width: 80px;
  outline: none;
  border: none;
  border-radius: 5px;
  display: block;
  margin: 20px auto;
  color: white;
  font-weight: bold;
  display: none;
}

@media screen and (max-width: 900px) {
  .search-result {
    width: 45%;
  }
}
@media screen and (max-width: 600px) {
  .search-result {
    width: 100%;
  }
}
