.az-scroll-container {
  overflow-x: auto;      /* Enable horizontal scrolling */
  white-space: nowrap;   /* Prevent line breaks */
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #ccc;
  
}

.az-nav {
  display: inline-flex;  /* Lay out letters in a row */
  gap: 0.5rem;
}

.az-link {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
  user-select: none;
}



.az-scroll-container {
  position: sticky;
  top: 0;
  background: #f5f5f5;
  z-index: 100;
}
.az-link:hover,
.az-link.active {
  font-weight: bold;
  color: #007bff;  /* your highlight color */
  text-decoration: underline;
}



.author-link {
    color: #1a73e8; /* a nice blue */
    text-decoration: underline;
    font-weight: bold;
}
.author-link:hover {
    color: #0b59d1;
    text-decoration: none;
}

.sunken-box {
  background-color: #f1f1f1; /* Light gray to resemble paper */
    padding: 30px;
    border-radius: 0px; /* Soft rounded corners */
    max-width: 400px; /* Limit the width to make it look like a book page */
    margin: 20px auto;

    /* Deep inset shadow to create a pronounced sunken look */
    box-shadow: inset 10px 10px 20px rgba(0, 0, 0, 0.2), 
                inset -10px -10px 20px rgba(255, 255, 255, 0.3);

    /* Optional: Add texture to the background (paper-like effect) */
    background-image: url('https://www.transparenttextures.com/patterns/old-paper-2.png');
    background-size: cover;

    font-size: 18px;
    color: #333;
    font-family: 'Georgia', serif; /* Book-like font */

}

.sunken-box p{
      /* Text shadow to create an embossed effect */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);

    font-family: "Garamond", serif;
}


.top-half-container{

    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    margin-bottom: 20px;

}

.summary-container{

    display:Flex;
    flex-direction: row;
    align-items: flex-start;
    
    gap:40px;
    padding-left: 10px;
   
    width: 100%;
  
    
    
   

   


}

.title-author-container{

    display:flex;
    flex-direction: column;
    align-items: center;
    
    width: 100%;
    gap: 20px;
    flex: 0;
   

    
    
}

.book-image-container{

    display: flex;
   
    align-items: center;
    justify-content: flex-start;
    height: auto;
    flex: 0 0 200px;



}

.book-image-container .book-img{

    max-width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Horizontal, Vertical, Blur, Color */
    border: 0.5px solid black;
    object-fit: contain;
}

.title-container, .author-container{

    display:flex;
    flex-direction: row;

    
    align-items: flex-start;
    
    
}



.japanese-title{

    display: flex;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1.32rem;
    margin-top: -10px;
   
   
   
    

}

.english-title{
    
    writing-mode: vertical-rl;
    display: flex;
    
    
   

}



.japanese-author{

    display: flex;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 0.6rem;
    

}

.english-author{

   
    writing-mode: vertical-rl;
    display: flex;
    font-size: 0.8rem;
    margin-left: 14px;

}


.book-info-header{
    font-size: 1.1rem;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom:10px;
}

.book-info-text{
    font-size:1rem;
}
.author-bio-header{

    font-size: 1.1rem;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom:10px;
}

.author-bio-text{
    font-size: 1rem;
}



.tag-section{

    width: 100%;
    margin-bottom: 5px;


}

.tag {
  background-color: #e0e0e0;
  color: #333;
  padding: 5px 10px;

  border-radius: 12px;
  font-size: 0.2em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
}

.tag:hover {
  background-color: #c0c0c0;
}

.bottom-half-container{

    display:flex;
    flex-direction: column;
    margin:0;
    padding: 0;
  

}

.quotes-translation-header{
    font-size: 1.1rem;
    padding-top: 10px;
   
    font-weight: bold;
}



.quote-index{

  
  
padding-top: 10px;


}

.quote{
    
    
    display:flex;
    overflow: hidden;

   
   
     padding: 0 10px;
     font-size: 1rem;
}

        

.translation-header{
   
  


}

.translation {
    
    
    display:flex;
    overflow: hidden;
    
    
    padding-bottom: 10px;
    padding-left: 10px;
    font-size: 1rem;

    border-left: solid gray 5px;
    
}




 



