
.container {
  flex: 1;
  padding: 20px;
}

footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 15px;
  position: relative;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 40px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
  background-color: #ffffff;
}

.input-group input {
  border-radius: 20px;
  padding-left: 40px;
}

.input-group .input-group-text {
  border-radius: 20px 0 0 20px;
  border: none;
  background-color: #007bff;
  color: white;
}

.input-group input:focus {
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  border-color: #007bff;
}

.btn-group .btn {
  min-width: 120px;
  margin: 5px;
  transition: background-color 0.3s ease;
}

.btn-group .btn.active {
  background-color: #007bff;
  color: white;
}

.btn-group .btn:hover {
  background-color: #0056b3;
  color: white;
}

@media (min-width: 576px) {
  .card {
      flex: 0 0 calc(50% - 40px);
  }

  .input-group,
  .btn-group {
      flex: 1;
  }
}

@media (min-width: 768px) {
  .card {
      flex: 0 0 calc(33.333% - 40px);
  }

  .input-group,
  .btn-group {
      flex: 1;
  }
}

@media (max-width: 576px) {
  .card {
      flex: 0 0 100%;
  }

  .input-group,
  .btn-group {
      flex-basis: 100%;
  }
}