/* assets/css/books_per_photo.css */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #697367;
  color: #fff;
}

* {
  box-sizing: border-box;
}

.wrapper {
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 100px auto 0;
}

.content {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 20%;
  margin-right: 20px;
  padding: 10px;
  background: #565e55;
  border-radius: 5px;
}

.hoofdtitel,
.auteur {
  font-family: "Cabin", sans-serif;
  margin-bottom: 5px;
  justify-content: center;
  text-align: center;
}

.hoofdtitel {
  height: 150px;
  padding-bottom: 10px;
}

.auteur {
  height: 75px;
  padding-top: 10px;
  border-top: 1px solid #697367;
}

.top-bar {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.left,
.right {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

#zoekInputBoeken,
#sort {
  width: 100%;
  height: 26px;
  padding: 4px;
  border: 1px solid #565e55;
  border-radius: 5px;
  background: #565e55;
  color: #fff;
}

#zoekInputBoeken::placeholder {
  color: #fff;
}

.table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 50px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  text-align: center;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.pagination a,
.pagination .current-page,
.pagination .page-range {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #464d457e;
  box-shadow: 0 0 5px 5px #464d45;
  background: #464d457e;
  text-decoration: none;
  color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.pagination .disabled {
  display: none;
}

.pagination a:hover {
  background-color: #f2f2f2;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.current-page {
  color: #fff;
  padding: 10px;
  margin: 0 10px;
  display: inline-block;
  border-radius: 5px;
}

.page-range {
  margin-left: 10px;
}

#pageNumber {
  color: #fff;
  background: #697367;
  width: 50px;
  padding: 4px;
  border: none;
  border-radius: 4px;
}

.empty {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

@media (max-width: 768px) {
  .left {
    flex-direction: column;
    align-items: start;
  }

  #sort {
    margin: 10px 0 0;
  }

  .head {
    display: none !important;
  }

  .form-group {
    display: flex !important;
    flex-direction: column;
  }

  .form-group div {
    display: grid;
    grid-template-columns: 0.6fr 1fr;
  }

  .label {
    display: block;
  }

  .details {
    display: flex;
    flex-direction: row;
    justify-content: start !important;
  }
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 5px;
  right: 5px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: transparent;
  color: #464d45;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  font-size: 18px;
  transition: transform 1.7s ease;
}

#myBtn:hover {
  color: #323631;
}

#myBtn i {
  transition: transform 1.7s ease;
}

#myBtn.fly-up i {
  transform: translateY(-750px);
}

.no-link {
  text-decoration: none;
  color: #fff;
}

.info {
  display: flex;
  flex-direction: column;
}

.hoofdtitel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.detail {
  display: flex;
}

.detail {
  display: flex;
  flex-direction: column;
  width: 300px;
  cursor: pointer;
  background-color: #565e55;
  border: none;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  padding: 20px;
  border: 1px solid #565e55;
  border-radius: 5px;
  box-shadow: inset 0px 1px 20px 0px #464d45;
}

.detail:hover {
  background: #323631;
}

.image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 300px;
  margin-top: 10px;
}

#current-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.view {
  background: #464d45;
  color: #fff;
  padding: 5px;
  font-size: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.view:hover {
  background: #323631;
}

@media (max-width: 768px) {
  .table {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .item {
    padding: 10px;
  }

  .filter {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .content {
    flex-direction: column;
    align-items: center;
  }
}

.categorieen {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.categorie h2 {
  color: #fff;
}

.categorie ul {
  list-style-type: none;
  padding: 0;
}

.categorie li {
  color: #fff;
  padding: 5px 0;
  cursor: pointer;
  border-bottom: #83828263 1px solid;
}

.subcategorieen,
.show-more {
  margin-left: 10px;
}

.subcategorie.hidden {
  display: none;
}

.sort-arrows {
  display: inline-block;
  margin-left: 5px;
  cursor: pointer;
  vertical-align: middle;
}

.sort-arrows i {
  display: block;
  font-size: 0.8em;
  line-height: 0.4em;
}

.sort-arrows.active i {
  color: #000000;
}

.show-more {
  display: block;
  color: #007bff;
  cursor: pointer;
  text-decoration: underline;
}

.show-more:hover {
  text-decoration: none;
}
