
/* ====== Book Library Page ====== */

.book-library-container {
  max-width: 1920px;
  width:1080px;
  margin: 140px auto 60px;
  padding: 0 20px;
}

.library-title {
  font-family: 'tariqafont', serif;
  font-size: 50px;
  color: #064632;
  text-align: center;
  margin-bottom: 10px;
}

.book-list {
  display: grid;
  flex-direction: column;
  gap: 20px;
}

.book-card {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 100%;
  min-height: 300px;
}

.book-cover {
  width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.book-details {
  flex: 1;
}

.book-title {
  font-family: 'tariqafont', serif;
  color: #064632;
  font-size: 40px;
  margin-bottom: 10px;
}

.book-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
}

.download-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #064632;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.download-button:hover {
  background-color: #046b4a;
}
 
 
 
/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {

 
 .book-library-container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }

  .library-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .book-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .book-cover {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .book-details {
    width: 100%;
  }

  .book-title {
    font-size: 28px;
  }

  .book-description {
    font-size: 15px;
    text-align: justify;
  }

  .download-button {
    font-size: 15px;
    padding: 10px 16px;
  }
}  