* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


    




body::before {
    content: "";
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.041); /* Adjust last value (0.2 to 1) for opacity */
    z-index: -1;
}

/* Flipbook Container */
.book {
    position: relative;
    display: flex;
    margin: auto;
    width: 575px;
    height: 350px;
    pointer-events: none;
    transform-style: preserve-3d;
    transition: translate 1s;
    translate: calc(min(var(--c), 1) * 50%) 0%;
    rotate: 1 0 0 30deg;
}


/* Front & Back Page */
.front, .back {
    position: relative;
    flex: none;
    width: 100%;
    backface-visibility: hidden;
    overflow: hidden;
    background-color: #fff;
    translate: 0px;
    
}

.back {
    translate: -100% 0;
    rotate: 0 1 0 180deg;
}

/* Flipbook Effects */
.page {
    box-shadow:
        0em 0.3em 0.6em -0.2em rgba(0, 0, 0, 0.25),
        0em 0.8em 1.4em -0.4em rgba(0, 0, 0, 0.25);
        border-radius: 10px;
}


.front {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    position: relative; /* Needed for overlay effect */
    padding: 10px; /* Adds padding inside the container */
    border-radius: 0 1px 1px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25), 0 8px 16px rgba(0, 0, 0, 0.10);
    overflow: hidden; /* Ensures nothing overflows */
    border-radius: 0 10px 10px 0;
}

.back {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    position: relative; /* Needed for overlay effect */
    padding: 10px; /* Adds padding inside the container */
    border-radius: 0 1px 1px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25), 0 8px 16px rgba(0, 0, 0, 0.10);
    overflow: hidden; /* Ensures nothing overflows */
        border-radius: 10px 0 0 10px;

}


.front::before {
    content: "";
    position: absolute;
    top: 5px;   /* Creates padding effect */
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid #B0C4DE;
    border-radius: 5px;
    pointer-events: none; /* Prevents interference with interactions */
    z-index: 99;
}

.back::before {
    content: "";
    position: absolute;
    top: 5px;   /* Creates padding effect */
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid #B0C4DE;
    border-radius: 5px;
    pointer-events: none; /* Prevents interference with interactions */
    z-index: 99;
}


.book > .page:first-child .front::before {
    border: 2px solid #B0C4DE;
    border-radius: 0px;
}

/* Ensuring the image fully covers the page */
.front img, .back img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes the image cover the full container */
    display: block; /* Removes unwanted spacing */
    position: absolute; /* Keeps image behind the border */
    top: 0;
    left: 0;
}





.book {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.page {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.front, 
.back {
    cursor: pointer;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;

}



.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../bg-img/bg-mob.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.8;  /* 👈 Adjust to control transparency */
}


/* Page Styling */
.page {
    --thickness: 3;
    flex: none;
    display: flex;
    width: 100%;
    font-size: 2cqmin;
    pointer-events: all;
    user-select: none;
    transform-style: preserve-3d;
    transform-origin: left center;
    transition: transform 1s, rotate 1s ease-in calc((min(var(--i), var(--c)) - max(var(--i), var(--c))) * 50ms);
    translate: calc(var(--i) * -100%) 0px 0px;
    transform: translateZ(calc((var(--c) - var(--i) - 0.5) * calc(var(--thickness) * .23cqmin)));
    rotate: 0 1 0 calc(clamp(0, var(--c) - var(--i), 1) * -180deg);
}







.page:first-child .front {
    background: linear-gradient(45deg, #481f81, #210646);
    color: #fff;
    padding: 25px;
    position: relative;
    overflow: hidden;
}



.page:last-child .back {
    background: linear-gradient(45deg, #210646, #481f81);
    color: #fff;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

/* Book Spine Effect */
.page:first-child .front::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    background: linear-gradient(90deg,
        #d0d0d0 0%,
        #afa9a9 20%,
        #d0d0d0 100%);
}

/* Cover Design Elements */
.page:first-child .front::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, 
            rgba(255, 0, 0, 0) 0%,
            rgba(255,255,255,0) 50%),
        linear-gradient(to right,
            rgba(58, 58, 58, 0.153) 0%,
            rgba(255,255,255,0) 20%);
    pointer-events: none;
}

/* Book Title Container */
.cover-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.book-title-1 {
    font-size: 2em;
    font-weight: 900;
    padding-top: 20px;
    letter-spacing: 2px;
    margin-top: -15px;

    color: transparent;
    text-shadow: 0px 2px 2px rgba(0,0,0,0.3); /* pressed effect */
    background: linear-gradient(to right, #e0e6ed, #e0e6ed); /* golden fill */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    transition: background-size 0.6s ease-in-out;
    pointer-events: auto;
    cursor: pointer;
}

/* 👆 On hover or touch – text gets filled */
.book-title-1:hover,
.book-title-1:active {
    background-size: 0% 100%;
}


.book-title-11 {
    font-size: 5em;
    font-weight: 900;
    padding-top: 30px;
    letter-spacing: 2px;
    margin-top: -15px;

    color: transparent;
    text-shadow: 0px 2px 2px rgba(0,0,0,0.3); /* pressed effect */
    background: linear-gradient(to right, #e0e6ed, #e0e6ed); /* golden fill */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    transition: background-size 0.6s ease-in-out;
    pointer-events: auto;
    cursor: pointer;
}

/* 👆 On hover or touch – text gets filled */
.book-title-11:hover,
.book-title-11:active {
    background-size: 0% 100%;
}

.book-title-2 {
    font-size: 4em;
    font-weight: 900;
    padding-top: 5px;
    letter-spacing: 2px;
    margin-top: -15px;

    color: transparent;
    text-shadow: 0px 2px 2px rgba(0,0,0,0.3); /* pressed effect */
    background: linear-gradient(to right, #e0e6ed, #e0e6ed); /* golden fill */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    transition: background-size 0.6s ease-in-out;
    pointer-events: auto;
    cursor: pointer;
}

/* 👆 On hover or touch – text gets filled */
.book-title-2:hover,
.book-title-2:active {
    background-size: 100% 0%;
}

.book-title-22 {
    font-size: 4em;
    font-weight: 900;
    padding-top: 5px;
    letter-spacing: 2px;
    margin-top: -15px;

    color: transparent;
    text-shadow: 0px 2px 2px rgba(0,0,0,0.3); /* pressed effect */
    background: linear-gradient(to right, #e0e6ed, #e0e6ed); /* golden fill */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    transition: background-size 0.6s ease-in-out;
    pointer-events: auto;
    cursor: pointer;
}

/* 👆 On hover or touch – text gets filled */
.book-title-22:hover,
.book-title-22:active {
    background-size: 100% 0%;
}


.book-title-3 {
    font-size: 1.8em;
    font-weight: 900;
    padding-top: 5px;
    letter-spacing: 0px;
    margin-top: -15px;

    color: transparent;
    text-shadow: 0px 2px 2px rgba(0,0,0,0.3); /* pressed effect */
    background: linear-gradient(to right, #e0e6ed, #e0e6ed); /* golden fill */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    transition: background-size 0.6s ease-in-out;
    pointer-events: auto;
    cursor: pointer;
}

/* 👆 On hover or touch – text gets filled */
.book-title-3:hover,
.book-title-3:active {
    background-size: 0% 100%;
}


.book-title-4 {
    font-size: 1.5em;
    font-weight: 900;
    padding-top: 5px;
    letter-spacing: 0px;
    margin-top: -15px;

    color: transparent;
    text-shadow: 0px 2px 2px rgba(0,0,0,0.3); /* pressed effect */
    background: linear-gradient(to right, #e0e6ed, #e0e6ed); /* golden fill */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    transition: background-size 0.6s ease-in-out;
    pointer-events: auto;
    cursor: pointer;
}

/* 👆 On hover or touch – text gets filled */
.book-title-4:hover,
.book-title-4:active {
    background-size: 100% 0%;
}

/* Book Title Decorative Line */
.book-title-1::after {
    content: '';
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #C0C0C0, 
        transparent);
}


/* Decorative Corner Elements */
.corner {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px dotted #B0C4DE;
    border-radius: 5px;
}

.corner-tl {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* Gold Frame */
.gold-frame {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    border: 4px double #B0C4DE;
    pointer-events: none;
    border-radius: 5px;
}












/* Book Binding/Spring Effect */
.book::after {
    content: '';
    position: absolute;
    left: -7px;  /* Adjust position as needed */
    top: 0;
    height: 100%;
    width: 15px;
    background: repeating-linear-gradient(
        0deg,
        #C0C0C0 0px,  /* Dark brown */
        #C0C0C0 8px,
        #C0C0C0 8px,  /* Light brown */
        #C0C0C0 16px
    );
    border-radius: 3px 0 0 3px;
    box-shadow: 
        inset -2px 0 2px rgba(0, 0, 0, 0.67),
        2px 0 2px rgba(0, 0, 0, 0.517);
}

/* Vertical Straps */
.book::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    height: 100%;
    width: 15px;
    pointer-events: none;
    background: 
        /* Top strap */
        linear-gradient(
            180deg,
            transparent 0%,
            transparent 20%,
            #C0C0C0  20%,
             #C0C0C0 25%,
            transparent 25%
        ),
        /* Middle strap */
        linear-gradient(
            180deg,
            transparent 45%,
            transparent 47%,
            #C0C0C0  47%,
            #C0C0C0 52%,
            transparent 52%
        ),
        /* Bottom strap */
        linear-gradient(
            180deg,
            transparent 75%,
            transparent 77%,
            #C0C0C0 77%,
            #C0C0C0 82%,
            transparent 82%
        );
    z-index: 2;
}

/* Metal Clips */
.metal-clip {
    position: absolute;
    right: -25px;
    width: 15px;
    height: 30px;
    background: linear-gradient(90deg, #808080, #ff0000, #ff0000);
    border-radius: 2px;
    box-shadow: 
        inset 0 0 3px rgb(0, 0, 0),
        0 0 2px rgba(0,0,0,0.3);
    z-index: 3;
}

.clip-top {
    top: 22%;
}

.clip-middle {
    top: 48%;
}

.clip-bottom {
    top: 78%;
}



/* Vintage texture overlay */
.book::after {
    background-image: 
        linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0,0,0,0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.454) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0,0,0,0.1) 75%);
    background-size: 4px 4px;
}




.back-bg {
    background: #bbb175;
}










/*   for botoom buttons   */

/* Profile Button */




/* Numbering*/













/* Add this to your existing CSS */

/* Common Button Styles */
/* Add this to your existing CSS */

.all-btn {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 1000;
    -webkit-tap-highlight-color: transparent;


}

/* Button Styling */
.all-btn button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px dotted #210646;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;



}

.all-btn button i {
    font-size: 20px;
    color: #210646;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;

}

.all-btn button:hover {
    transform: translateY(-3px);
    background: #210646;
    -webkit-tap-highlight-color: transparent;
    border: 1px solid #210646;

}

.all-btn button:hover i {
    color: #C0C0C0;
    -webkit-tap-highlight-color: transparent;

}

/* Popup Base Styles */
#profile-popup,
#developer-popup,
#share-popup {
    position: fixed;
    background: #f88ab157;
    backdrop-filter: blur(15px);
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(50px);
    display: none;
    bottom: -40px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 9;
    border: 2px dotted #210646; 
}

#profile-popup {
    width: auto;
    padding: 15px;

}
#developer-popup {
    width: auto;
    padding: 10px;

}
#share-popup {
    width: auto;
    padding: 10px;
}


/* Show Popup States */
#profile-popup[style*="display: block"],
#developer-popup[style*="display: block"],
#share-popup[style*="display: block"] {
    bottom: 90px;
    opacity: 1;
    transform: translateY(0);
}

/* Content Layout */
.profile-content,
.developer-content,
.share-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.profile-name:hover {
    color: #fdda14;

}

/* Image Styles */
.developer-img {
    width: 70px;
    height: 70px;
}
.profile-img {
    width: 100px;
    height: auto;
}


/* Divider */
.divider {
    height: 50px;
    width: 2px;
    background: #210646;
    opacity: 0.7;
    margin: 0 15px;
}

/* Info Sections */
.profile-info,
.developer-info {
    text-align: left;
    color: white;
    flex: 1;
}

.profile-info h2,
.developer-info h2 {
    font-size: 18px;
    margin: 0;
    color: white;
}

/* Underline */
.underline {
    width: 60%;
    height: 2px;
    background: #210646;
    margin: 5px 0;
}

/* Text Content */
.profile-info p,
.developer-info p {
    font-size: 14px;
    margin: 5px 0;
    opacity: 0.8;
    color: white;
    display: flex;
    align-items: center;
}

.share-info p {
    font-size: 17px;
    margin: 0;
    color: white;
    display: flex;
    align-items: center;
}

.profile-info i,
.developer-info i {
    margin-right: 8px;
    color: white;
}

.share-info i {
    text-align: center;
    margin-right: 8px;
    color: white;
    font-size: 25px;
}


.share-info p:hover {
    color: #d0d0d0;
}
.share-info i:hover {
    color: #d0d0d0;
}


 






.icon-space {
    gap: 10px;
}

.in-i i {
    color: white; /* Instagram icon is usually white on gradient */
    font-size: 25px;
    background: linear-gradient(45deg, #feda75, #d62976, #962fbf, #4f5bd5); /* Instagram gradient */
    border-radius: 10px;
    padding: 5px;
    display: inline-block;
}

.wa-i i {
    color: white;
    font-size: 25px;
    background: #25D366; /* Official WhatsApp green */
    border-radius: 10px;
    padding: 5px;
    display: inline-block;
}






































  /* Fancy Version */
  .page-counter {
    padding: 11px 19px;
    border-radius: 25px;
    margin-bottom: 5px;
    border: 2px dotted #210646;
    z-index: 1000;
    -webkit-user-select: none; /* Prevents text selection */
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 210px;
    text-align: center;

}


.page-counter span {
    color: #210646;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
}


#current-page {
    color: #210646;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s ease;
}

.page-counter::before {
    left: 10px;
}

.page-counter::after {
    right: 10px;
}








/* Remove blue color & underline from all links */
a {
    text-decoration: none;  /* Removes underline */
    color: inherit;  /* Uses the default text color */
}

/* Optional: Change link color on hover (if needed) */
a:hover {
    text-decoration: none;  
    opacity: 0.8; /* Slight fade effect on hover */
}






  .loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.799);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;

  opacity: 1;
  transition: opacity 0.6s ease;
  visibility: visible;
}

.loader-container.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-gif {
  width: 200px;
  height: 200px;
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 70px;
}

.loader {
    display: flex;
    flex-direction: column;
    font-size: 3rem;
    color: rgb(0, 0, 0);
    font-weight: bold;
    text-shadow: 2px 3px 0px rgb(255, 255, 255);
}
.letter {
    display: inline-block;
    animation: bounce 1.5s infinite;
    font-family: "Potta One", system-ui;
    font-weight: 400;
    font-style: normal;
    color: rgb(244, 162, 9);
}

.potta-one-regular {
  font-family: "Potta One", system-ui;
  font-weight: 400;
  font-style: normal;
}


.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.1s; }
.letter:nth-child(3) { animation-delay: 0.2s; }
.letter:nth-child(4) { animation-delay: 0.3s; }
.letter:nth-child(5) { animation-delay: 0.4s; }
.letter:nth-child(6) { animation-delay: 0.5s; }
.letter:nth-child(7) { animation-delay: 0.6s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}







.hidden {
    display: none;
}





.modal {
  display: none;
  background: rgba(31, 31, 31, 0.808);
  z-index: 9999;
  width: 100%;
  height: 100vh; /* Add this to make the modal full screen height */
  margin-left: auto;
  margin-right: auto;
  position: fixed; /* Add this to make the modal overlay */
  top: 0;
  left: 0;
}

.img-container {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 999;
  text-align: center; /* Add this to center the image horizontally */
}

.img-container img {
  max-width: 90vw; /* Set max width to 90% of viewport width */
  max-height: 90vh; /* Set max height to 90% of viewport height */
  border-radius: 10px;
  object-fit: contain; /* Change to contain to display full image */
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  border: solid 1px white;
}

.img-container .logo-overlay {
border: none;
}










.logo22 {
    top: 5px;
    left: 150px;
    position: fixed;
    z-index: 99;
    width: 70px;
  }









  /* Button Styling */
.edit-btn button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px dotted #210646;
    -webkit-tap-highlight-color: transparent;
    background: transparent;
}

.edit-btn button i {
    font-size: 20px;
    color: #210646;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.edit-btn button:hover {
    transform: translateY(-3px);
    background: #210646;
    -webkit-tap-highlight-color: transparent;
}

.edit-btn button:hover i {
    color: #C0C0C0;
    -webkit-tap-highlight-color: transparent;
}

#edit-btn {
    position: fixed;
    right: 130px;
    top: 20px;
}


  .no-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Optional: add "..." if it overflows */
  } 

/* 💻 Large Screens (Desktops, Laptops) */
@media (min-width: 1025px) {
    /* Styles for large screens */
}

/* 🖥️ Small Laptops / Large Tablets (Landscape) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Styles for small laptops & large tablets */
}

/* 📟 Tablets (Landscape Mode) */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    /* Styles for tablets in landscape */
}

/* 📱 Tablets (Portrait Mode) */
@media (min-width: 601px) and (max-width: 768px) {

}


/* 📲 Mobile Devices */
@media (max-width: 600px) {
    .book {
        transform: rotate(90deg);
        transform-origin: center center;
        position: fixed;
        top: 55%;
        left: 55%;
        display: flex;
        margin: auto;
        width: 90vw;
        height: 70vw;
        pointer-events: none;
        transform-style: preserve-3d;
        transition: translate 1s;
        translate: calc(min(var(--c), 1) * 0%) calc(min(var(--c), 1) * 50%);
        transform: translate(-50%, -50%) rotate(90deg) rotateX(30deg);
        rotate: 0 1 0 5deg;
    }

    .all-btn {
        left: 30px;
        transform: translate(-50%, -50%) rotate(90deg) rotateX(30deg);
        bottom: 40%;
        gap: 10px;
    }

    /* Button Styling */
    .all-btn button {
        width: 50px;
        height: 50px;    }


    #profile-popup {
        width: auto;
        padding: 15px;
        left: 50%;
    
    }
    #developer-popup {
        width: auto;
        padding: 10px;
        left: 50%;
    
    }
    #share-popup {
        width: auto;
        padding: 10px;
        left: 50%;
    }

    #profile-popup[style*="display: block"],
    #developer-popup[style*="display: block"],
    #share-popup[style*="display: block"] {
        transform: translateX(-50%) translateY(0);
    }

    .developer-img {
        width: 60px;
        height: 70px;
    }
    
    .profile-img {
    width: 80px;
    height: auto;
    }


    .loader {
        transform: translate(0%, 0%) rotate(90deg) rotateX(0deg);
    }



    /* Apply when rotated */
    .img-container img {
    transform: rotate(90deg);
    max-width: 90vh;  /* Swapping width & height to fit rotated image */
    max-height: 90vw;
    }




    .logo22 {
        transform: translate(0%, 0%) rotate(90deg) rotateX(0deg);
        top: 120px;
        left: auto;
        right: 0px;
        position: fixed;
        z-index: 9;
        width: 60px;
      }

      #edit-btn {
        position: fixed;
        right: 7px;
        left: auto;
        top: auto;
        bottom: 130px;
    }

      /* Button Styling */
    .edit-btn button {
        width: 40px;
        height: 40px;
    }
        
    .book-title-1 {
        font-size: 2.5em;
        padding-top: 8px;
    }

    .book-title-2 {
        font-size: 4.5em;
        padding-top: 0px;
    }

    .book-title-3 {
        font-size: 2.5em;
        padding-top: 0px;
    }

    .book-title-4 {
        font-size: 1.7em;
        padding-top: 5px;
    }

    .book-title-1::after {
        bottom: 60px;
    }
}






/*////////// Fonts ///////////*/



.font-1 {
  font-family: "Niconne", cursive;
  font-weight: 400;
  font-style: normal;
}


.font-2 {
  font-family: "Patua One", serif;
  font-weight: 400;
  font-style: normal;
}


.font-3 {
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.font-33 {
  font-family: "PT Serif", serif;
  font-weight: 700;
  font-style: normal;
}

.font-333 {
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.font-3333 {
  font-family: "PT Serif", serif;
  font-weight: 700;
  font-style: italic;
}

.font-4 {
  font-family: "Inconsolata", monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}



.corner-decoration {
    position: fixed;
    width: 100px;         /* adjust if needed */
    height: 100px;
    padding: 10px;
    z-index: 999;
    pointer-events: none; /* ensures it doesn’t block clicks */
}

/* Top-left corner */
.corner-tl-1 {
    top: 0;
    left: 0;
    transform: rotate(180deg);
}

/* Top-right corner */
.corner-tr-2 {
    top: 0;
    right: 0;
    transform: rotate(270deg);
}

/* Bottom-left corner */
.corner-bl-3 {
    bottom: 0;
    left: 0;
    transform: rotate(90deg);
}

/* Bottom-right corner */
.corner-br-4 {
    bottom: 0;
    right: 0;
    transform: rotate(0deg);
}


.counter-last {
background: linear-gradient(to right, #260040, #361c57, #0e001e);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    margin: 30px auto;
    max-width: 700px;
    border: 1px solid #e0e6ed;
}


.counter-last .counter {
    margin-bottom: 15px;
    margin-top: 15px;
    letter-spacing: 2px;
}

.counter-last h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #dbe5f3;
    line-height: 1.5;
}

.counter-last .name {
    color: #ffd900;
    font-weight: bold;
        text-shadow: 0px 2px 2px rgba(0,0,0,0.3);

}

    /* CountUp styling */
    .years, .months, .days {
    font-size: 2.4rem;
    color: #ffd900;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0px 2px 2px rgba(0,0,0,0.3);
    }

    .hours, .minutes, .seconds {
    font-size: 1.6rem;
    color: #FFD900;
    margin-bottom: 15px;
      font-family: "PT Serif", serif;
  font-weight: 400;
  font-style: normal;
      text-shadow: 0px 2px 2px rgba(0,0,0,0.3);

    }


  @media screen and (max-width: 600px) {

    .counter-last {
    padding: 30px 5px;
    margin: 5px;
    }

        /* CountUp styling */
    .years, .months, .days {
    font-size: 1.4rem;
    }

    .hours, .minutes, .seconds {
    font-size: 1.1rem;
    }

    .counter-last h1 {
    font-size: 1.1rem;
    }

  }