/* Base Styles */
body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: #fff;
}

.largeText {
  font-size: 3rem;
  font-weight: 700;
}
@media only screen and (max-width: 767px) {
  .largeText {
    font-size: 1.5rem !important;
  }
}
@media (min-width: 480px) {
  .largeText {
    font-size: 1.75rem !important; /* Slightly larger for small devices (e.g., small tablets) */
  }
}
@media (min-width: 768px) {
  .largeText {
    font-size: 2rem !important;
  }
}
@media (min-width: 1200px) {
  .largeText {
    font-size: 3rem !important;
  }
}
@media (min-width: 2400px) {
  .largeText {
    font-size: 4rem !important;
  }
}

.mediumText {
  font-size: 2rem !important;
}
@media only screen and (max-width: 767px) {
  .mediumText {
    font-size: 1rem !important;
  }
}
@media (min-width: 500px) {
  .mediumText {
    font-size: 1.25rem !important;
  }
}
@media (min-width: 768px) {
  .mediumText {
    font-size: 1.5rem !important;
  }
}
@media (min-width: 1200px) {
  .mediumText {
    font-size: 1.75rem !important;
  }
}
@media (min-width: 2400px) {
  .mediumText {
    font-size: 2.5rem !important;
  }
}

/* Default Typography */
@media only screen and (max-width: 767px) {
  h1 h1,
  h2 h1,
  h3 h1,
  h4 h1,
  h5 h1,
  h6 h1 {
    font-size: 1.75rem !important;
  }
  h1 h2,
  h2 h2,
  h3 h2,
  h4 h2,
  h5 h2,
  h6 h2 {
    font-size: 1.65rem !important;
  }
  h1 h3,
  h2 h3,
  h3 h3,
  h4 h3,
  h5 h3,
  h6 h3 {
    font-size: 1.5rem !important;
  }
  h1 h4,
  h2 h4,
  h3 h4,
  h4 h4,
  h5 h4,
  h6 h4 {
    font-size: 1.35rem !important;
  }
  h1 h5,
  h2 h5,
  h3 h5,
  h4 h5,
  h5 h5,
  h6 h5 {
    font-size: 1.25rem !important;
  }
  h1 h6,
  h2 h6,
  h3 h6,
  h4 h6,
  h5 h6,
  h6 h6 {
    font-size: 1.15rem !important;
  }
}

p {
  font-weight: 500;
  margin: 0.5em 0;
}

/* Responsive Typography */
/* Mobile (default styles for smaller screens) */
@media only screen and (max-width: 767px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 0.75rem;
  }
  h4 {
    font-size: 0.85rem;
  }
  h5 {
    font-size: 0.75rem;
  }
  h6 {
    font-size: 0.65rem;
  }
  a,
  p,
  li,
  span,
  input,
  button {
    font-size: 1rem; /* Relative to the base font size (16px) */
    line-height: 1.5;
  }
}
/* Typography for a, p, and li */
a,
p,
li,
span,
input,
button {
  font-size: 1rem; /* Relative to the base font size (16px) */
  line-height: 1.5;
}

/* Laptop */
@media (min-width: 768px) {
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2.25rem;
  }
  h3 {
    font-size: 2rem;
  }
  h4 {
    font-size: 1.75rem;
  }
  h5 {
    font-size: 1.5rem;
  }
  h6 {
    font-size: 1.25rem;
  }
  a,
  p,
  li,
  span,
  input,
  button {
    font-size: 1rem; /* Consistent with body size */
  }
}
/* Desktop Screens */
@media (min-width: 1200px) {
  body {
    font-size: 16px; /* Larger base font size for desktops */
  }
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1.25rem;
  }
  h5 {
    font-size: 1.25rem;
  }
  h6 {
    font-size: 1rem;
  }
  a,
  p,
  li,
  i,
  span,
  input,
  button {
    font-size: 1.1rem; /* Slightly increase relative font size */
    font-size: clamp(1rem, 0.8rem + 0.1vw, 2rem);
  }
}
/* 4K Screens */
@media (min-width: 2400px) {
  body {
    font-size: 24px; /* Significant base font size increase for 4K */
  }
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 2rem;
  }
  h4 {
    font-size: 2rem;
  }
  h5 {
    font-size: 1.75rem;
  }
  h6 {
    font-size: 1.5rem;
  }
  div {
    font-weight: 500;
    letter-spacing: 1.1;
    font-size: clamp(1rem, 1rem + 0.4vw, 2rem) !important;
  }
  a,
  p,
  li,
  span,
  input,
  button {
    font-weight: 500;
    letter-spacing: 1.1;
    font-size: clamp(1rem, 1rem + 0.6vw, 2rem) !important;
  }
}
/* Base Styles */
body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: #fff;
}

.largeText {
  font-size: 3rem;
  font-weight: 700;
}
@media only screen and (max-width: 767px) {
  .largeText {
    font-size: 1.5rem !important;
  }
}
@media (min-width: 480px) {
  .largeText {
    font-size: 1.75rem !important; /* Slightly larger for small devices (e.g., small tablets) */
  }
}
@media (min-width: 768px) {
  .largeText {
    font-size: 2rem !important;
  }
}
@media (min-width: 1200px) {
  .largeText {
    font-size: 3rem !important;
  }
}
@media (min-width: 2400px) {
  .largeText {
    font-size: 4rem !important;
  }
}

.mediumText {
  font-size: 2rem !important;
}
@media only screen and (max-width: 767px) {
  .mediumText {
    font-size: 1rem !important;
  }
}
@media (min-width: 500px) {
  .mediumText {
    font-size: 1.25rem !important;
  }
}
@media (min-width: 768px) {
  .mediumText {
    font-size: 1.5rem !important;
  }
}
@media (min-width: 1200px) {
  .mediumText {
    font-size: 1.75rem !important;
  }
}
@media (min-width: 2400px) {
  .mediumText {
    font-size: 2.5rem !important;
  }
}

/* Default Typography */
@media only screen and (max-width: 767px) {
  h1 h1,
  h2 h1,
  h3 h1,
  h4 h1,
  h5 h1,
  h6 h1 {
    font-size: 1.75rem !important;
  }
  h1 h2,
  h2 h2,
  h3 h2,
  h4 h2,
  h5 h2,
  h6 h2 {
    font-size: 1.65rem !important;
  }
  h1 h3,
  h2 h3,
  h3 h3,
  h4 h3,
  h5 h3,
  h6 h3 {
    font-size: 1.5rem !important;
  }
  h1 h4,
  h2 h4,
  h3 h4,
  h4 h4,
  h5 h4,
  h6 h4 {
    font-size: 1.35rem !important;
  }
  h1 h5,
  h2 h5,
  h3 h5,
  h4 h5,
  h5 h5,
  h6 h5 {
    font-size: 1.25rem !important;
  }
  h1 h6,
  h2 h6,
  h3 h6,
  h4 h6,
  h5 h6,
  h6 h6 {
    font-size: 1.15rem !important;
  }
}

p {
  font-weight: 500;
  margin: 0.5em 0;
}

/* Responsive Typography */
/* Mobile (default styles for smaller screens) */
@media only screen and (max-width: 767px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 0.75rem;
  }
  h4 {
    font-size: 0.85rem;
  }
  h5 {
    font-size: 0.75rem;
  }
  h6 {
    font-size: 0.65rem;
  }
  a,
  p,
  li,
  span,
  input,
  button {
    font-size: 1rem; /* Relative to the base font size (16px) */
    line-height: 1.5;
  }
}
/* Typography for a, p, and li */
a,
p,
li,
span,
input,
button {
  font-size: 1rem; /* Relative to the base font size (16px) */
  line-height: 1.5;
}

/* Laptop */
@media (min-width: 768px) {
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2.25rem;
  }
  h3 {
    font-size: 2rem;
  }
  h4 {
    font-size: 1.75rem;
  }
  h5 {
    font-size: 1.5rem;
  }
  h6 {
    font-size: 1.25rem;
  }
  a,
  p,
  li,
  span,
  input,
  button {
    font-size: 1rem; /* Consistent with body size */
  }
}
/* Desktop Screens */
@media (min-width: 1200px) {
  body {
    font-size: 16px; /* Larger base font size for desktops */
  }
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1.25rem;
  }
  h5 {
    font-size: 1.25rem;
  }
  h6 {
    font-size: 1rem;
  }
  a,
  p,
  li,
  i,
  span,
  input,
  button {
    font-size: 1.1rem; /* Slightly increase relative font size */
    font-size: clamp(1rem, 0.8rem + 0.1vw, 2rem);
  }
}
/* 4K Screens */
@media (min-width: 2400px) {
  body {
    font-size: 24px; /* Significant base font size increase for 4K */
  }
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 2rem;
  }
  h4 {
    font-size: 2rem;
  }
  h5 {
    font-size: 1.75rem;
  }
  h6 {
    font-size: 1.5rem;
  }
  div {
    font-weight: 500;
    letter-spacing: 1.1;
    font-size: clamp(1rem, 1rem + 0.4vw, 2rem) !important;
  }
  a,
  p,
  li,
  span,
  input,
  button {
    font-weight: 500;
    letter-spacing: 1.1;
    font-size: clamp(1rem, 1rem + 0.6vw, 2rem) !important;
  }
}
* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  font-family: "Poppins", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: right;
}

.child {
  flex: 1;
}

.no-flex {
  flex: none;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.center {
  text-align: center;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.justify_end {
  justify-content: flex-end;
}

.w100 {
  width: 100%;
}
@media only screen and (max-width: 1199px) {
  .w100 {
    width: 100%;
  }
}

.w95 {
  width: 95%;
}
@media only screen and (max-width: 1199px) {
  .w95 {
    width: 100%;
  }
}

.w90 {
  width: 90%;
}
@media only screen and (max-width: 1199px) {
  .w90 {
    width: 100%;
  }
}

.w85 {
  width: 85%;
}
@media only screen and (max-width: 1199px) {
  .w85 {
    width: 100%;
  }
}

.w80 {
  width: 80%;
}
@media only screen and (max-width: 1199px) {
  .w80 {
    width: 95%;
  }
}

.w75 {
  width: 75%;
}
@media only screen and (max-width: 1199px) {
  .w75 {
    width: 100%;
  }
}

.w70 {
  width: 70%;
}
@media only screen and (max-width: 767px) {
  .w70 {
    width: 70%;
  }
}
@media only screen and (max-width: 575px) {
  .w70 {
    width: 100%;
  }
}

.w65 {
  width: 65%;
}

.w60 {
  width: 60%;
}

.w55 {
  width: 55%;
}
@media only screen and (max-width: 991px) {
  .w55 {
    width: 100%;
  }
}

.w50 {
  width: 50%;
}

.w48 {
  width: 48%;
}

.w45 {
  width: 45%;
}

.w40 {
  width: 40%;
}

.w35 {
  width: 35%;
}

.w30 {
  width: 30%;
}
@media only screen and (max-width: 991px) {
  .w30 {
    width: 45%;
  }
}
@media only screen and (max-width: 767px) {
  .w30 {
    width: 70%;
  }
}
@media only screen and (max-width: 575px) {
  .w30 {
    width: 100%;
  }
}

.w25 {
  width: 25%;
}
@media only screen and (max-width: 991px) {
  .w25 {
    width: 50%;
  }
}
@media only screen and (max-width: 767px) {
  .w25 {
    width: 70%;
  }
}
@media only screen and (max-width: 575px) {
  .w25 {
    width: 100%;
  }
}

.w20 {
  width: 20%;
}
@media only screen and (max-width: 991px) {
  .w20 {
    width: 30%;
  }
}
@media only screen and (max-width: 767px) {
  .w20 {
    width: 50%;
  }
}
@media only screen and (max-width: 575px) {
  .w20 {
    width: 100%;
  }
}

.w15 {
  width: 15%;
}
@media only screen and (max-width: 1199px) {
  .w15 {
    width: 100%;
  }
}

.w10 {
  width: 10%;
}
@media only screen and (max-width: 1199px) {
  .w10 {
    width: 100%;
  }
}

.book-list-section {
  font-family: "Segoe UI", sans-serif;
  background-color: #f6f9fb;
  padding: 40px 20px;
}
.book-list-section .header {
  background-color: #0e4b63;
  color: white;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
}
.book-list-section .header h2 {
  font-size: 28px;
  margin-bottom: 15px;
}
.book-list-section .header .year-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.book-list-section .header .year-selector label {
  font-weight: 500;
}
.book-list-section .header .year-selector select {
  padding: 5px 10px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
}
.book-list-section .header .subtext {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 10px;
}
.book-list-section .category-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}
.book-list-section .category-filters button {
  background-color: #0e4b63;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}
.book-list-section .category-filters button.active, .book-list-section .category-filters button:hover {
  background-color: #ffb400;
  color: black;
}
.book-list-section .book-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .book-list-section .book-cards {
    grid-template-columns: repeat(auto-fit, minmax(360px, auto));
  }
}
@media screen and (max-width: 376px) {
  .book-list-section .book-cards {
    grid-template-columns: repeat(auto-fit, minmax(270px, auto));
  }
}
.book-list-section .book-cards .card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}
.book-list-section .book-cards .card h4 {
  font-size: 20px;
  color: #0e4b63;
  margin-bottom: 10px;
}
.book-list-section .book-cards .card p {
  margin: 6px 0;
  font-size: 15px;
}
.book-list-section .book-cards .card .btn-view {
  margin-top: 15px;
  padding: 6px 12px;
  background-color: #0e4b63;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}
.book-list-section .book-cards .card .btn-view:hover {
  background-color: #ffb400;
  color: black;
}
.book-list-section .book-cards .card:hover {
  transform: translateY(-5px);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal .modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px 30px;
  border-radius: 15px;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}
.modal .modal-content h4 {
  margin-top: 0;
  color: #003b5c;
}
.modal .modal-content .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  color: #666;
  cursor: pointer;
}
.modal .modal-content .close:hover {
  color: #000;
}/*# sourceMappingURL=booklist.css.map */