.book-mein {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px; 
}
.note-book-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px; 
}
.bubble-nb {
    background-color: #f0f0f0; 
    padding: 20px;
    border-radius: 50%;
    width: 25%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    border-style: double;
    border-width: 8px;
}

.bubble-nb h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.bubble-nb p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}
.note-books{
    width: 40%; 
    height: auto; 
    display: inline-block;
    margin: 20px;
    background: #fff;
    transform-style: preserve-3d;
    box-shadow: inset 300px 0 50px rgba(0,0,0,.2), 0 20px 50px rgba(0,0,0,.2);
    transition: 1s;
    border-radius: 40px;
}
.note-books:hover{
    box-shadow: inset 20px 0 50px rgba(0,0,0,.5), 0 10px 50px rgb(0,0,0,.5) ;
    border-radius: 40px;
}
.note-books:before{
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 10px;
    transform-origin: bottom;
    transform: skewX(-45deg);
    border-radius: 40px;
}
.note-books::after{
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 5px;
    height: 100%;
    transform-origin: left;
    transform: skewX(-45deg);
    border-radius: 40px;
}

.imgbox img{
    width: 100%;
    height: auto;
    position: relative;
    z-index: 9999;
    border-radius: 40px;
}
.note-books .imgbox{
    width: 100%;
    height: 100%;
    position: relative;
    transform-origin: left;
    transition: 1s;
    z-index: 9999;
    border-radius: 40px;
}
.note-books:hover .imgbox{
    transform: rotateY(-135deg);
    border-radius: 40px;
}

.note-books .month-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -99;
    padding: 30px;
    border-radius: 40px;
    overflow-y: auto;
    max-height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.note-books .month-content::-webkit-scrollbar {
    width: 8px;
}

.note-books .month-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.note-books .month-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.note-books .month-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.month-content h4{
    color: #be4174;
    text-align: center;
}

.month-content h5{
    font-size: 1vw;
    color: #da86a5;
    text-align: center;
}

.note-books.flip-left-to-right .imgbox {
    transform-origin: left;
}

.note-books.flip-left-to-right:hover .imgbox {
    transform: rotateY(-135deg);
}

/* Right to Left Flip */
.note-books.flip-right-to-left .imgbox {
    transform-origin: right;
}

.note-books.flip-right-to-left:hover .imgbox {
    transform: rotateY(135deg);
}

.note-books.flip-right-to-left .month-content {
    right: 0;
    left: auto;
}

.note-books.flip-right-to-left {
    box-shadow: inset -300px 0 50px rgba(0,0,0,.2), 0 20px 50px rgba(0,0,0,.2);
}

.note-books.flip-right-to-left:hover {
    box-shadow: inset -20px 0 50px rgba(0,0,0,.5), 0 10px 50px rgb(0,0,0,.5);
}

.graph-container {
    width: 70%;
    height: 100%;
  }
  
  #graph {
    width: 100%;
    height: 100%;
  }
  
  .graph-text {
    width: 30%;
    height: 100%;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
  }
  
  .top-label {
    font-size: 1.8vw;
    font-weight: bold;
    color: #4f9b9e;
    text-align: center;
    margin-bottom: 10px;
  }
  
  .custom-textbox {
    width: 100%;
    max-height: 80%; /* Limit the maximum height */
    border-radius: 40px;
    padding: 20px;
    overflow-y: auto;
    background-color: #00000029;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-textbox img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    border-radius: 40px;
}
  
  .text-content {
    width: 100%;
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }