* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #f5f5f5;
}

main {
  min-height: 80vh;
}

.navbar {
  max-width: 1200px;
  margin: 10px auto;
  padding: 10px 20px;
  background: white;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #212529;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

._df_book {
  border-radius: 10px;
  height: 80vh !important;
  background-color: #f8f7ff !important;
}

.navbar-menu button {
  background: #f8f7ff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  transition: all 0.3s;
}

.navbar-menu button a {
  text-decoration: none;
  color: #212529;
}

.navbar-menu button:hover {
  background: #e9ecef;
}

.footer {
  max-width: 1200px;
  margin: 0 auto;
  background: #e9ecef;
  padding: 5px 0;
  text-align: center;
  border-radius: 10px;
}

.footer p {
  color: #6c757d;
  font-size: 14px;
}

/* index page */
.pubCardContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  justify-content: space-evenly;
  align-items: center;
  gap: 2rem;
}

.card {
  /* width: 18rem; */
  background: white;
  box-shadow: 0px 8px 6px -15px rgba(0, 0, 0, 0.1);
}
.card img {
  width: 100%;
  height: 385px;
  object-fit: cover;
  object-position: center;
}

.card .card-body {
  border-radius: 0 0 10px 10px;
  padding: 10px;
}

.card .card-body h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #212529;
}

.card .card-body p {
  font-size: 1rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

.card .card-body button {
  margin-top: 1rem;
  background: #f8f7ff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  transition: all 0.3s;
}

.card .card-body button:hover {
  background: #e9ecef;
}

.card .card-body button a {
  text-decoration: none;
  color: #212529;
}

/* Responsive */

@media screen and (max-width: 1200px) {
  body {
    padding: 0 20px;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding: 0 20px;
  }

  .pubCardContainer {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 576px) {
  body {
    padding: 0 10px;
  }

  .navbar .title {
    display: none;
  }

  .pubCardContainer {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .footer p {
    font-size: 12px;
  }

  .footer .container {
    padding: 10px 0;
  }
}
