@import url("https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");

body {
  list-style: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "PT Sans", sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

header {
  padding: 10px;
  border-bottom: 1px solid #dee2e6;
  background-color: #f8f9fa;
  color: #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-content {
  margin-top: 100px;
}

.over-flow {
  overflow: hidden;
}

.static-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

.img-fluid {
  height: 250px;
}

.book-detail-img {
  width: 95%;
  height: 550px;
  border-radius: 10px;
}

.goldenrod {
  color: goldenrod;
  font-weight: bold;
  text-transform: uppercase;
}

.border-red {
  border: 5px solid red;
}

.book-cover {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.book-cover-details {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#borrow-book-button {
  width: 100%;
  margin: 10px;
  height: 60px;
}

.book-cover:hover {
  transform: scale(1.05);
}

.post-description {
  font-size: 20px;
  color: #555;
  margin: 10px 0;
  width: 100%;
  font-family: "PT Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  height: 200px;
  overflow-y: auto;
  padding: 10px;
  border-radius: 5px;
  background-color: #f8f9fa;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid #dee2e6;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.pagination {
  margin-top: 15px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.pagination .current {
  margin: 0 10px;
  font-weight: bold;
}

.pagination .first-button {
  width: 40%;
  border-radius: 20px;
  text-align: center;
  margin: 0 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pagination .previous-button {
  width: 40%;
  border-radius: 20px;
  text-align: center;
  margin: 0 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pagination .next-button {
  width: 40%;
  border-radius: 20px;
  text-align: center;
  margin: 0 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.pagination .last-button {
  width: 40%;
  border-radius: 20px;
  text-align: center;
  margin: 0 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pagination a:hover {
  background-color: #007bff;
  color: white;
  border-radius: 5px;
}

.categories .first,
.previous {
  width: 200px;
  color: red;
  font-weight: bold;
  margin: 5px 0;
}

.card-body {
  width: 100%;
  padding: 0;
}

.card-body div {
  padding: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-body h3 {
  font-size: 12px;
  font-weight: bold;
}

.card-body h4 {
  font-size: 16px;
  font-weight: normal;
}

.card-body h4,
h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-body h3,
.card-body h4 {
  margin: 0;
}

footer {
  background-color: goldenrod;
  padding: 10px;
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
}

footer .social-icons {
  font-size: 25px;
}

h5 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

@media screen and (max-width: 500px) {
  .featured-books-container {
    justify-content: center;
  }

  .collections-container {
    padding-left: 0;
    padding-right: 0;
  }

  .book-cover {
    margin-bottom: 10px;
  }

  .book-cover img {
    width: 100%;
    height: 250px;
  }

  .footer-row div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-row div p {
    text-align: center;
  }

  footer .social-icons {
    flex-direction: row;
  }
}

@media screen and (min-width: 1024px) {
  #borrow-book-button {
    width: 50%;
    margin: 20px auto;
    height: 50px;
  }

  .book-detail-img {
    width: 50%;
    height: 350px;
    border-radius: 10px;
  }
}
@media screen and (max-width: 768px) {
}
