* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

.spacer {
  width: 100%;
  height: 50px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
  margin: 20px auto;
  padding: 10px;
}

.search-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

.search-input, .search-select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 10px;
  font-size: 16px;
  width: 100%;
  max-width: 300px;
  transition: border-color 0.3s;
}

.search-input:focus, .search-select:focus {
  border-color: #28a745;
  outline: none;
}

.search-button {
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  background-color: #28a745;
  color: white;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  max-width: 150px;
  margin-top: 10px;
  transition: background-color 0.3s, transform 0.3s;
}

.search-button:hover {
  background-color: #218838;
  transform: scale(1.05);
}

.card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  width: calc(100% - 20px);
  max-width: 400px;
  background-color: white;
  margin: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card-title {
  margin: 15px 0;
  font-size: 1.5em;
  color: red;
  text-align: center;
}

.card-image {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #ddd;
}

.no-results {
  text-align: center;
  font-size: 1.2em;
  color: #555;
}

@media (max-width: 600px) {
  .search-form {
      flex-direction: column;
      align-items: stretch;
  }
  
  .search-input, .search-select, .search-button {
      max-width: 100%;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .search-form {
      flex-direction: row;
      justify-content: center;
  }

  .search-input, .search-select {
      margin-right: 5px;
      width: auto;
  }
}