body {
  font-family: Arial, sans-serif;
  background-color: #fffffff1;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  background-color: #333;
  color: #fff;
  padding: 1em;
  text-align: center;
}










.navbar {
  background-color: #272727;
  padding: 22px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative; /* Ensure the toggle is positioned relative to the navbar */
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo {
  color: #ffcc00;
  font-size: 24px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
}

.navbar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.navbar-menu li {
  margin: 0 15px;
}

.navbar-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.navbar-menu a:hover {
  color: #ffcc00;
  border-bottom: 2px solid #ffcc00;
}

.navbar-toggle {
  display: none;
  cursor: pointer;
  position: absolute; /* Position the toggle within the navbar */
  top: 15px; /* Adjust as needed */
  right: 20px; /* Adjust as needed */
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
}

.line {
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.navbar-menu.active {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: absolute;
  top: 60px;
  left: 0;
  background-color: #1e1e1e;
}

.navbar-menu li {
  margin: 10px 0;
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }
}






















.search-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
  background-color: #fff;
}

.search-section input[type="text"] {
  width: 40%;
  padding: 0.5em;
  margin-right: 0.5em;
  border: 1px solid #ccc;
  border-radius: 23px;
}

.search-section button {
  padding: 0.5em 1em;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 23px;
  cursor: pointer;
}

.search-section button:hover {
  background-color: #555;
}


/* General Button Styles */
#tag-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Space between buttons */
  margin-bottom: 20px; /* Space below the tag buttons */
  justify-content: center; /* Center the buttons */
}

#tag-buttons button {
  padding: 10px 20px;
  font-size: 19px;
  color: #fff;
  background-color: #55a0dd;
  border: none;
  border-radius: 23px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

#tag-buttons button:hover {
  background-color: #2426c0; /* Darker shade on hover */
  transform: translateY(-3px); /* Slight lift on hover */
}

#tag-buttons button:active {
  background-color: #222; /* Darker shade on click */
  transform: translateY(0); /* Reset lift on click */
}

#tag-buttons button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); /* Focus outline */
}

/* Dark Mode Specific Styles */
body.dark-mode #tag-buttons button {
  background-color: #555; /* Darker background for dark mode */
}

body.dark-mode #tag-buttons button:hover {
  background-color: #777; /* Lighter shade on hover */
}

body.dark-mode #tag-buttons button:active {
  background-color: #444; /* Darker shade on click */
}

body.dark-mode #tag-buttons button:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); /* Focus outline */
}



.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1em;
}

.card {
  background-color: #eee8e8;
  margin: 1em;
  padding: 1em;
  width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  cursor: pointer;
}

.card img {
  max-width: 100%;
  border-radius: 4px;
}

.card h2 {
  color: black;
  font-weight: bolder;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2em;
  margin: 0.5em 0;
}

@media (max-width: 768px) {
  .search-section input[type="text"] {
    width: 50%;
  }

  .card {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .search-section input[type="text"] {
    width: 70%;
  }

  .card {
    width: 90%;
  }
}





/*Pagination*/
.pagination {
  margin-top: 20px;
}

.pagination .page-item .page-link {
  color: #333;
  border-radius: 4px;
  margin: 0 2px;
}

.pagination .page-item.active .page-link {
  background-color: #333;
  border-color: #333;
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: #aaa;
  pointer-events: none;
}




/*Modal Popup*/
.modal-content {
  border-radius: 8px;
}

.modal-header {
  border-bottom: 1px solid #e9ecef;
}

.modal-footer {
  border-top: 1px solid #e9ecef;
}




footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  margin-top: 80px;
}

#footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.footer-logo,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-logo h2 {
  font-weight: bolder;
  margin-bottom: 10px;
}

.footer-logo p {
  margin-bottom: 20px;
  font-size: 0.9em;
  font-weight: bold;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 15px;
  font-weight: bolder;
}

.footer-links ul {
  list-style-type: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}

.footer-contact p,
.footer-contact a {
  margin-bottom: 10px;
  color: #fff;
}

.footer-contact a {
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 10px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    text-align: center;
    margin-bottom: 20px;
  }
}
















.authors-section {
  padding: 20px;
  text-align: center;
  background-color: #1e1e1e;
  margin-top: 80px;
}

.authors-section h2 {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: bolder;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family: 'Georgia', serif;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
  letter-spacing: 1.5px;
  padding: 10px 20px;
  border-radius: 5px;
}

.authors-section .author-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.author-card {
  background-color: #111111;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  width: 200px;
  margin: 10px;
  transition: transform 0.3s ease;
  flex: 1 1 calc(33.333% - 20px); /* Default for larger screens */
}

.author-card:hover {
  transform: translateY(-5px);
}

.author-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.author-card img {
  width: 50%;
  height: 50%;
  object-fit: cover;
  border-radius: 8px 8px 0 0; /* Round the top corners */
}

.author-name {
  padding: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
}

.see-more-btn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bolder;
  color: #fff;
  background-color: #55a0dd;
  border: 2px solid #3a79ac;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.see-more-btn:hover {
  background-color: #3d48e0;
  color: #fff;
}

@media (max-width: 768px) {
  .author-card {
    flex: 1 1 calc(50% - 20px); /* Two cards per row */
  }
}

@media (max-width: 576px) {
  .author-card {
    flex: 1 1 calc(50% - 20px); /* Two cards per row */
  }
}

