*{
    box-sizing: border-box;
    margin: 0 0;
    padding: 0 0;
    font-family: sans-serif;
}
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #A3D0D6;
    color: white;
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    z-index: 1000;
}


.logo{
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* menu desktop */
.nav{
    display: flex;
    gap: 25px;
    background-color: #B1D7DC;
    padding: 10px 10px;
    border-radius: 25px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
}

.nav a{
    color: white;
    text-decoration: none;
    padding: 8px 8px;        
    border-radius: 20px;
    font-weight: 500;
    transition: 0.3s;
    background-color: #FC7F9A;
}

.nav a:hover{
    color: white;
    background: red;  
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* nút mobile */
.menu-btn{
    display: none;
    font-size: 22px;
    cursor: pointer;
}
.menu-btn:hover{
    transform: scale(1.2);
}
/* mobile menu */
.mobile-menu{
    position: fixed;
    top: 70px;
    left: 0;
    height: calc(100% - 70px);
    width: 260px;
    background: #333333;
    padding-top: 80px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 2000;
}


.mobile-menu a{
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
.mobile-menu a:hover{
    background: white;  
    color: black;
}
.mobile-menu.show{
    transform: translateX(0);
}
.close-btn{
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: black;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover{

    transform: scale(1.2);
}
/* responsive */
@media(max-width:768px){
    .nav{
        display: none;
    }
    .menu-btn{
        display: block;
    }
}

.banner-new{
    width: 100%;
    height: 500px;
    background: url('./image/book_banner.png') no-repeat center/cover;
    position: relative;
    margin-top: 70px;
}

.banner-overlay{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    text-align: center;
    color: white;
}

.banner-overlay h1{
    font-size: 50px;
    margin-bottom: 15px;
}

.banner-overlay p{
    font-size: 20px;
    margin-bottom: 20px;
}

.banner-btn{
    padding: 12px 25px;
    background-color: orange;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
}
.banner-new::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}
.banner-btn:hover{
    background-color: red;
}
@media(max-width:768px){
    .banner-new{
        height: 300px;
    }
    .banner-overlay h1{
        font-size: 28px;
    }

}
.duongke{
    width: 70%;
    border: 1px solid #808080;
    
    margin: 20px auto 20px auto;
}
.duongke-section{
    width: 50%;
    border: 1px solid #808080;
    margin: 20px auto 20px auto;
}
.search-wrapper {
    margin: 30px 0px 10px 0px;
}

.find-book {
    width: 50%;
    margin: auto;
    position: relative;
}

.find-book input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border-radius: 30px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 16px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.find-book input:focus {
    border-color: orange;
    box-shadow: 0 5px 20px rgba(255,165,0,0.4);
}

.find-book i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: gray;
}
.policy-box{
    width: 70%;
    margin: 30px auto 30px auto;
}
.policy{
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.policy-item{
    flex: 1 1 200px;
    height: 100px;
    background-color: #E8E2E2;
    padding: 15px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    transition: 0.5s ease;
}
.policy-item:hover{
    transform: translateY(-5px);
    color: #F05462;
    border: 1px solid;
}
.category{
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px;
}
body{
    background-color:#FCF8F1;
    color: #333333;
}
/* Nút */
.category button{
  padding: 10px 18px;
  border: none;
  background: #eee;
  cursor: pointer;
  border-radius: 20px;
  font-size: 14px;
  transition: 0.3s;
}

/* Hover */
.category button:hover{
  background: #00bcd4;
  color: #fff;
}


.container-one{
    width: 80%;
    height: auto;
    border-radius: 25px;
    margin: 20px auto 0px auto;
    
}
.container-one-content{
    height: auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap ;
    gap: 30px;
    margin-top: 15px;
    justify-content: center;
}
.container-one-content-title{
    font-size: 30px;
    font-family: sans-serif;
    font-weight: 600;
}
.book{
    width: calc(25% - 22.5px);
    border-radius: 25px;
    transition: 0.5s ease;
    height: auto;
    background-color: #E8E2E2;
} 
.book:hover{
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0,0,0,0.5);

}

.container-one-content-book-img{
    height: auto;
    width: 100%;
    background-color: white;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}
.container-one-content-book-img img{
    width: 80%;
    height: auto;
    transition: 0.3s ease;
    border-radius: 25px;
}
.container-one-content-book-img img:hover{
   transform: scale(1.03);
}
.container-one-content-book-name_book{
    width: 100%;
    color: #333333;
    font-size: 20px;
    margin-top: 5px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    font-weight: 700;
    height: auto;

}
.container-one-content-book-author{
    text-align: center;
    font-size: 17px;
    font-family: sans-serif;

}
.container-one-content-book-value{
    font-size: 15px;
    text-align: center;
    margin-bottom: auto;
}
.container-one-content-book-buy{
    height: 50px;
    width: 40%;
    display: flex;
    background-color: #F05462;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-family: sans-serif;
    color: #000;
    border-radius: 25px;
    margin: 20px auto 15px auto;
    text-decoration: none;
    
}
.container-one-content-book-buy:hover{
    border: 1px solid;
    
}
@media (max-width: 900px){
  .book{
    width: calc(50% - 15px);
  }
}

/* mobile */
@media (max-width: 500px){
  .book{
    width: 100%;
  }
}
.getpage{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}
.getpage button{
    width: 50px;
    height: 30px;
    background-color: #F05462;
    border: 1px solid;
    margin-left: 10px;
    margin-right: 10px;
    transition: 0.5s ease;
}
.getpage button:hover{
    background-color: #00bcd4;
    cursor: pointer;
    transform: scale(1.1);
}
.footer{
    width: 100%;
    height: auto;
    background-color: #E4DFDB;
    color: #000;
}
.footer-content{
    width: 80%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0px auto 0px auto;
    
}
.footer-content-item{
    width: calc(25% - 22.5px);
    height: auto;
    margin-top: 15px;
}
.footer-content-item-title{
    font-family: sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: #000;
    margin-bottom: 10px;
    
}
.footer-content-item-name{
    font-size: 25px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    
}
.footer-content-item-text{
    font-size: 15px;
    font-weight: 600;
    margin-top: 10px;
}
.footer-content-item-email_number{
    margin-top: 15px;
    font-size: 15px;
    font-weight: bold;
    overflow-wrap: break-word;
}
.footer-content-item-icon{
     margin-top: 10px;
     color: #693739;
     font-size: 20px;
     
}
.footer-content-item-icon i{
    margin-right: 15px;
}
.footer-content-item a{
    text-decoration: none;
    color: #F05462;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    
}
.footer-content-hr{
    width: 60%;
    margin: 10px auto 10px auto;
    border: 1px solid;

}
.footer-content-item a:hover{
    background-color: #E3BBB7;
    border-radius: 25px;
}
@media (max-width: 900px){
 .footer-content-item{
    width: calc(50% - 15px);
 }
}
.footer-end{
    width: 100%;
    height: 50px;
    background-color: #1f2024;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-end p{
    color: white;
}