body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
 
  section #books {
    padding: 50px;
    margin-top: 100px;
  }
  
  .book-list {
    width: 80%;
    margin-left: 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-evenly;
    gap: 20px;
  }
  
  .book {
    width: 300px;
    height: 450px;
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 30px;
    box-shadow: 0px 0px 10px;
  }
  
  .book img {
    width: 100%;
    height: 70%;
    transition: all 0.5s;
  }

  .book img:hover{
    transform: scale(1.1);
    box-shadow: 0px 0px 10px;
  }
  
  .book h3{
    margin-top: 10px;
    text-align: center;
  }

  .book-face button{
    margin-top: 10px;
    width:100%;
    height: 50px;
    font-size: 1.1rem;
    background-color: rgba(40, 130, 214, 1);
    cursor: pointer;
    border: none;
    color: #fff;
    letter-spacing: 1px;
    transition: all 0.5s;
  }

  .book-face button:hover{
    background-color: rgba(40, 130, 214, 0.8) ;
    transform: scale(1.1);
  }

  @media (max-width: 1024px) {
    .book-list{
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
  }
 @media (max-width: 768px) {
    section #books {
        padding: 0px; 
        margin-top: 50px;
    }

    .book-list{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-left: 5%;
        gap: 0;
    }

    .book {
        height: 260px;
        width: 150px;
        padding: 2px;
    }

    .book img{
        height: 50%;
    }

    .book h3{
        font-size: 1rem;
    }

    .book-face button{
        width: 80%;
        margin-left: 10%;
        font-size: 0.8rem;
      }
 }

 @media (min-width: 700px) and (max-width: 900px) {
    .header {
        height: 100%;
        overflow: hidden;
    }
}