*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    
}
html, body{
    margin: 0;
    height: 100%;
    
}

section{
    width: 100%;
    height: 100vh;
    background-image: url(/Bookstore/tutorial/image/bg.png);
    background-size: cover;
    background-position: center;
    
}

section nav{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 0 4px #e1420d;
    background-color: #e1420d;
    position: fixed;
    left: 0;
    z-index: 20;
    
}


section nav .logo img{
    width: 80px;
    cursor: pointer;
    margin: 10px 0; 
}

section nav ul{
    list-style: none;
}


section nav li{
    display: inline-block;
    padding: 0 20px;
}


section nav li a{
    text-decoration: none;
    color: black;
}

section nav li a:hover{
    color: rgb(255, 255, 255);
}


section nav .social_icon i{
    margin: 0 8px;
    font-size: 30px;
}


section nav .social_icon i:hover{
    color: #ffffff;
    cursor: pointer;
}


section .Fiction{
    position: relative;
    top: 130px;
    height: 100px;
    width: 100%;
    padding: 10px;
}

section .Fiction .books{
    display: flex;
    position: relative; 
    justify-content: space-around;
    bottom: 0px;

    width: 70%;
    padding: 15px;
    

}


section .Fiction .books .book img{
    height: 200px;
    box-shadow: 7px 10px 9px #8e8987;
    padding: .1px;
    
    
}
section .Fiction .books .book img:hover{
    height: 204px;
    transform: scale(1,1,0);
    
}

 section .Fiction  h1{
    height: 60px;
    text-decoration:dotted;
    font-style: italic;
    font-size: 30px

}

section .history{
    position: relative;
    top: 400px;
    justify-content: space-around;
    
}


section .history .books{
    display: flex;
    
    height: auto;
    justify-content: space-around;
   
    width: 70%;
    padding: 20px;
    border-radius: .5%;
    
}


section .history .books .book img{
    height: 200px;
    box-shadow: 7px 10px 9px #8e8987;
    padding: .1px;
    
}
section .history .books .book img:hover{
    height: 205px;
    transform: scale(1,1,1);
    
}


section .history h1{
    height: 60px;
    margin-left: 10px;
    font-style: italic;
    font-size: 30px;
}

.right{
   
    position: absolute;
    background-image: linear-gradient(rgb(255, 219, 219),rgb(133, 226, 231));
    background-color: rgb(133, 226, 231);
    width: 256px;
    height:101%;
    top: 70px;
    right: 0;
}


.right .featured h1{    
    position: absolute;
    right: 60px;
    top: 10px;
    
}

.right .books{
    display: flex;
    
}
.right .books .book img{
    height: 200px;
    position: relative;
    top: 70px;
    left:65px;
    box-shadow: 0 0 20px #094299;
    margin-top: 70px;
}





/*END AREA*/
.end{
    display: flex;
    width: 100%;
    justify-content: space-around;
    text-align: center;
    margin-top: auto;
}



.end  h4{
    color: #e1420d;
    text-align: center;
    width: 100%;
    top: 30px;
    bottom: 5px;
    padding-bottom: 30px;
    position: relative;

    
}

.religion{
    position: relative;
    top: 270px;
    justify-content: space-around;
    overflow-x: scroll;
}


.religion .books{ 
    display: flex;
    
    height: auto;
    justify-content: space-around;
  
    width: 70%;
    padding: 20px;
    border-radius: .5%;


}


.religion .books .book img{
    height: 200px;
    box-shadow: 7px 10px 9px #8e8987;
    padding: .1px;
    
}

.religion  .books .book img:hover{
    height: 205px;
    transform: scale(1,1,1);
    
}


.religion h1{
    height: 60px;
    margin-left: 10px;
    font-style: italic;
    font-size: 30px;
}




body {
    background-color: #ffffff;
    color: #000000;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s, color 0.3s;
  }
  
  /* Dark mode */
  body.dark-mode {
    background-color: #2f2424;
    color: #ffffff;
  }

  button {
    border: none;
    outline: none;
    background-color: transparent;
}


  #countdown {
    font-size: 24px;
    font-weight: bold;
    color: #ff0000;
    padding: 10px;
    margin: 0px;
    text-align: center;
    margin-top: 200px;
  }


  #Featuredtext {
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    color: #ff6a07;
    padding: 10px;
    margin-left: 50px;
    background-color: rgba(240, 128, 128, 0.24);
    border-radius: 5px;
    
  }
  
  
  

  .book-details {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    top: 0;
    left: 0;
  }