/* BUSCA PAGE */

main.busca {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
main.busca .topContent {
  padding: 50px 0 0px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-height: 100vh;
  overflow-y: scroll;
}
main.busca header {
  align-items: centerw;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 30px;
}
main.busca header h1 {
  font-family: "Poppins-Black";
  color: #393939;
  font-size: 36px;
}

.busca .contentbusca {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 120px;
}
.busca .contentbusca .buscaBox {
  width: 91%;
  padding: 20px;
  margin: 0 auto;
  border-radius: 10px;
  display: flex;
  border: 1px solid black;
  gap: 15px;
  align-items: center;
}
.glider-track{
  gap: 20px;
}
.notFoundBook{
  grid-column: 1/-1;
  text-align: center;
}
.busca .contentbusca .buscaBox > img {
  width: 24px;
}
.busca .contentbusca .buscaBox input[type="text"] {
  width: 100%;
}
.busca .contentbusca .buscaBox input[type="text"]::placeholder {
  color: #393939;
  font-family: "Poppins-Medium";
  font-size: 16px;
}
.busca .contentbusca .buscaBox input:focus {
  color: #393939;
  font-family: "Poppins-Medium";
  font-size: 16px;
}
.busca .contentbusca .filterCategory {
  height: fit-content;
  padding: 0 0 0 30px;
}
.busca .contentbusca .filterCategory a {
  padding: 10px 20px;
  border-radius: 20px;
  background-color: #f2f6f7;
  font-size: 15px;
  white-space: nowrap;
  width: fit-content !important;
  min-width: unset;
}
.busca .contentbusca .filterCategory a:last-child {
  padding-right: 30px;
}
.busca .contentbusca .items .top10Abook {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.busca .contentbusca .items .top10Abook header h2 {
  font-family: "Poppins-Bold";
  color: #393939;
  font-size: 24px;
}
.busca .contentbusca .items .top10Abook .content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0 30px;
  gap: 30px;
}
.busca .contentbusca .items .top10Abook .content .bookInfo {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  transition: 1s;
}
.busca .contentbusca .items .top10Abook .content .bookInfo:hover{
  transform: scale(1.05);
}
.busca .contentbusca .items .top10Abook .content .bookInfo .bookCape {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0px 0px 70px -4px rgb(114 114 114 / 50%);
}
.busca .contentbusca .items .top10Abook .content .bookInfo .info {
  padding-top: 10px;
}
.busca .contentbusca .items .top10Abook .content .bookInfo .info h2 {
  color: #393939;
  font-size: 14px;
  font-family: "Poppins-Bold";
  line-height: 18px;
}
.busca .contentbusca .items .top10Abook .content .bookInfo .info h3 {
  color: #717171;
  font-size: 12px;
  line-height: 16px;
  font-family: "Poppins-Medium";
}
#returnSearch:empty {
  display: none;
}
#returnSearch {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  padding: 0 30px;
  margin-bottom: 30px;
}
#returnSearch a {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  transition: 1s;
}
#returnSearch a:hover{
  transform: scale(1.05);
}
#returnSearch a .text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 10px;
}
#returnSearch a .text h2{
  color: #393939;
  font-size: 14px;
  font-family: "Poppins-Bold";
  line-height: 18px;
}
#returnSearch a .text h3{
  color: #717171;
  font-size: 12px;
  line-height: 16px;
  font-family: "Poppins-Medium";
}
#returnSearch a .text span{
  margin-top: 5px;
}
#returnSearch a .text span h4{
  color: #717171;
  font-size: 10px;
  line-height: 16px;
  font-family: "Poppins-Regular";
}
#returnSearch a img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0px 0px 70px -4px rgb(114 114 114 / 50%);
  object-fit: cover;
}
@media (max-width:700px){

  .homeFooter {
    opacity: 0.6;
    transform: 0.6s;
  }
  .homeFooter:hover {
    opacity: 1;
  }
  .favoritosFooter {
    opacity: 0.6;
    transition: 0.6s;
  }
  .favoritosFooter:hover {
    opacity: 1;
  }
  .buscaFooter {
    opacity: 1;
    transition: 0.6s;
  }
  .buscaFooter:hover {
    opacity: 1;
  }
  footer.busca {
    max-width: 700px;
    width: 100%;
    padding: 30px;
    background: rgb(82, 166, 210);
    background: linear-gradient(
      180deg,
      rgba(82, 166, 210, 0) 0%,
      rgba(255, 255, 255, 1) 100%
    );
    position: fixed;
    bottom: 0px;
  }
  footer.busca .menu {
    background-color: #3757a0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    border-radius: 10px;
  }
}
@media (max-width:1000px){
  #returnSearch {
    grid-template-columns: repeat(3, 1fr);
  }
  .busca .contentbusca .items .top10Abook .content {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width:700px){
  #returnSearch {
    grid-template-columns: repeat(2, 1fr);
  }
  .busca .contentbusca .items .top10Abook .content {
    grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 450px) {
  .busca .contentbusca .items .top10Abook .content {
    grid-template-columns: repeat(1, 1fr);
  }
  #returnSearch {
    grid-template-columns: repeat(1, 1fr);
  }
}
