
p{
    font-size: 0.5rem;
   
  
    
}

h6{
 
    margin-top: 4px;
    margin-bottom: 4px;
    font-weight: 600;
    
}
.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;

}



.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;

}



.toggle-btn{
cursor: pointer;
            font-size: 1.2em;
            background: none;
            border: none;
          

}
        

.translation-header{
    margin-left: 2.5rem;
    cursor: pointer;
    


}

.translation {
    
    margin-left: 2.5rem;
    display:none;
    overflow: hidden;
    transition: max-height 0.3s ease;
    
    padding: 0 10px;
    
}


.translation.show{

    display: flex;
    max-height: 500px; /* big enough to reveal content */
}


 
.quote-header{

   margin-left: 1.5rem;
   cursor: pointer;



}

.quote{
    
    margin-left: 1.5rem;
    display:none;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 10px;
}

.quote.show{

    display: flex;
    max-height: 500px; /* big enough to reveal content */
}


