
body {
  font-family: sans-serif;
  background: #f4f4f4;
  color: #333;
  padding: 2rem;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
}

input[type="text"] {
  padding: 0.5rem;
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto 2rem;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.book {
  background: white;
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.book h2 {
  margin: 0 0 0.3rem;
}

.book a {
  display: inline-block;
  margin-top: 0.5rem;
  color: white;
  background: #007bff;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  text-decoration: none;
  margin-right: 10px;
}

.book a:hover {
  background: #0056b3;
}

nav {
  background-color: #222;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

nav a:hover {
  background-color: #00c6a3;
  color: #111;
}
.about-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.06);
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-container a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.about-container a:hover {
  text-decoration: underline;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.06);
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-container a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.contact-container a:hover {
  text-decoration: underline;
}


.other-links-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.06);
  font-size: 1.05rem;
  line-height: 1.6;
}

.other-links-container ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: square;
}

.other-links-container a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.other-links-container a:hover {
  text-decoration: underline;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.07);
  text-align: center;
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: scale(1.03);
}

.category-card h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.category-card a {
  display: inline-block;
  background-color: #28a745;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
}

.category-card a:hover {
  background-color: #1f8135;
}
