/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #141414;
  color: #ffffff;
  line-height: 1.6;
}
/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  height: 100vh;
  padding: 0 2rem;
  background-color: #141414;
}

.hero-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.hero-image {
  width: 550px;
  max-width: 90%;
  margin: 1rem;
  border-radius: 10px;
  animation: fadeIn 2s ease-out;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: #fff;
}

/* Recomendaciones */
.recommendations {
  padding: 2rem;
  text-align: center;
  background-color: #181818;
}

.recommendations h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.recommendations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.book img {
  width: 150px;
  height: 200px;
  cursor: pointer;
  transition: transform 0.3s;
}

.book img:hover {
  transform: scale(1.1);
}

/* Footer */
.footer {
  text-align: center;
  padding: 1rem;
  background-color: #e50914;
}

.social-icons img {
  width: 24px;
  margin: 0 0.5rem;
}


/* Categorías */
.categories {
  padding: 2rem;
  text-align: center;
  background-color: #141414;
  color: #ffffff;
}

.categories h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.category-button {
  padding: 0.8rem 1.5rem;
  font-size: 1.2rem;
  color: #ffffff;
  background-color: #e50914;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.category-button:hover {
  background-color: #fff;
  color: #141414;
}

/* Responsive */
@media (max-width: 768px) {
  .categories h1 {
      font-size: 2rem;
  }

  .category-button {
      font-size: 1rem;
      padding: 0.6rem 1rem;
  }
}
