body {
    font-family: Arial, sans-serif;
    margin: 20px;
    text-align: center;
}
#library {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.book-card {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    width: 200px;
}

.output-box {
    margin-top: 3%;
}


/* Book Container */ 
.book-card {
    display: flex;
    flex-wrap: wrap; /* Ensures books wrap to a new line if needed */
    gap: 10px; /* Adds space between the cards */
    margin-top: 20px;
    width: 150px;
    height: 200px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0; /* Initially hidden for animation */
    transform: scale(0.8); /* Slightly smaller for animation */
    animation: fadeIn 0.3s forwards; /* Animation for appearance */
  }
  
  /* Animation for card appearance */
  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  