body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(120deg, #f0f4f8, #d9e7fa);
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header {
  text-align: center;
  margin-bottom: 20px;
}

header h1 {
  font-size: 2.5em;
  color: #007bff;
}

header p {
  color: #555;
  font-size: 1.1em;
}

.search-section {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

input[type="text"] {
  padding: 12px;
  flex: 1;
  font-size: 1em;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="text"]:focus {
  border-color: #007bff;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
}

button {
  padding: 12px 24px;
  font-size: 1em;
  cursor: pointer;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background: #0056b3;
  transform: scale(1.05);
}

.filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

select {
  padding: 12px;
  font-size: 1em;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  outline: none;
}

select:focus {
  border-color: #007bff;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
}

#results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
/* Reviews container */

::-webkit-scrollbar {
  width: 7px;
  height: 2px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #2525253a;
}

.book {
  background: white;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.book:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.book img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 8px;
}

.book h2 {
  font-size: 1.2em;
  margin: 10px 0;
  color: #333;
}
/* Wrapper container for horizontal scrolling */
.wrapper {
  display: flex; /* Align children (cards) horizontally */
  overflow-x: scroll; /* Enable horizontal scrolling */
  max-height: 220px; /* Limit the height of the container */
  max-width: 300px; /* Limit the width of the container */
  padding: 10px; /* Add padding around the container */
  gap: 15px; /* Add space between cards */
  background-color: #f9f9f9; /* Light background for the container */
  border-radius: 10px; /* Rounded corners for the container */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow around the container */
}

.card {
  min-width: 200px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card h3 {
  font-size: 16px;
  margin: 0 0 10px 0;
  color: #333;
  font-weight: bold;
}

.card p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

@media (max-width: 600px) {
  #results {
    grid-template-columns: 1fr;
  }

  .filters {
    flex-direction: column;
  }

  .search-section {
    flex-direction: column;
  }
}
