body {
    font-family: 'inter', sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding-top: 20px;
}

/* Header Container Styling */
.header-container {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    align-items: center;
    justify-content: center;
    padding-bottom: 25px; /* Ample padding */
    border-radius: 15px; /* Rounded corners */
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);*/ /* Soft shadow */
    gap: 15px; /* Space between the two text elements */
    max-width: 95%; /* Ensure it doesn't overflow on very small screens */
    text-align: center; /* Center text if it wraps */
}

/* Styling for "RC49.fun" - Playful and Creative */
.rc49-bg {
    padding: 5px;
    background: linear-gradient(135deg, #2c3e50, #000000, #34495e); /* Dark blue-grey to black to slightly lighter blue-grey */
    border-radius: 10px;
    margin: 0;
}
.rc49-playful {
    font-size: 2.5em; /* Large font size */
    font-weight: 900; /* Extra bold */
    font-style: italic; /* Italic for a playful touch */
    /* Creative gradient text effect */
    background: linear-gradient(90deg, #e59a9a, #e0202d); /* Purple to Pink gradient */
    -webkit-background-clip: text; /* Clip background to text */
    background-clip: text; /* Standard property */
    -webkit-text-fill-color: transparent; /* Make text transparent to show gradient */
    color: transparent; /* Fallback for browsers that don't support text-fill-color */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.25); /* Playful shadow */
    white-space: nowrap; /* Prevent text from wrapping */
    line-height: 1; /* Adjust line height to prevent extra space */
}

/* Styling for "God's rescue mission" - Smaller and Professional */
.mission-professional {
    font-size: 0.8em; /* Smaller font size relative to playful text */
    font-weight: 500; /* Medium weight for professionalism */
    color: #fff; /* Darker grey for a professional look */
    white-space: nowrap; /* Prevent text from wrapping */
    line-height: 1; /* Adjust line height */
    padding: 5px;
    display: inline-block;
    /* font-weight: bold; */
}

/* Media queries for responsiveness */
@media (min-width: 640px) { /* Equivalent to Tailwind's sm breakpoint */
    .rc49-playful {
        font-size: 4.5em;
    }
}

@media (min-width: 768px) { /* Equivalent to Tailwind's md breakpoint */
    .rc49-playful {
        font-size: 5.5em;
    }
}

@media (min-width: 1024px) { /* Equivalent to Tailwind's lg breakpoint */
    .rc49-playful {
        font-size: 6.5em;
    }
}

#main-content {
    width: 95%;
    margin: auto;
    margin-top: 20px;
}

.top-menu {
    width: 80%;
    max-width: 600px;
    margin-bottom: 20px;
    text-align: center;
}

.button-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.menu-button {
    background: linear-gradient(to bottom right, #e59a9a, #e0202d);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.menu-button:hover {
    transform: scale(1.05);
}

/* .accordion-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #e0fbfc;
    color: #1d3557;
    padding: 10px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 10;
    font-size: 0.8em;
    text-align: left;
} */

.menu-button.open .accordion-content {
    display: contents;
}

.book-container {
    display: grid;
    grid-template: 1fr / 1fr;
    place-items: center;
    width: 80%;
    max-width: 780px;
    margin: auto;
    overflow: hidden;
    height: 370px; /* Adjust as needed based on content */
    perspective: 1500px;
}

.book-container .content p{
    font-size: 1.3rem;
    line-height: 1.6;
}

.book-container > div, .about-us, .gospel-share, .intro {
    grid-column: 1 / 1;
    grid-row: 1 / 1;
    width: 100%;
    height: 350px;
    overflow-y: scroll;
    backface-visibility: hidden;
    transform-origin: left center;
    transition: transform 0.8s ease-in-out;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.about-us, .gospel-share, .intro {
    max-width: 780px;
    margin: auto;
}

::-webkit-scrollbar {
    width: 10px;
    display: none;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background: lightgray;
    border-radius: 10px;
}

div:hover::-webkit-scrollbar-thumb {
    background: darkgray;
}

.page:nth-child(1) {
    background: linear-gradient(135deg, #e0f7fa, #80deea);
    /* background: linear-gradient(135deg, #fce4ec, #f8bbd0); */
    transform: translateX(0) rotateY(0deg);
    z-index: 3;
}

.page:nth-child(2) {
    background: linear-gradient(135deg, #e0e3e8, #91a4bf);
    transform: translateX(100%) rotateY(0deg);
    z-index: 2;
}

.page:nth-child(3) {
    background: linear-gradient(135deg, #fffde7, #fff9c4);
    transform: translateX(200%) rotateY(0deg);
    z-index: 1;
}

.page.flipped {
    transform: translateX(0%) rotateY(-180deg);
    z-index: 2 !important; /* Ensure flipped page is on top during transition */
}

.page.flipped + .page {
    transform: translateX(0%) rotateY(-180deg);
    z-index: 1 !important;
}

.cross {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2em;
    color: #d32f2f; /* Adjust color as needed */
}

.content {
    width: 90%;
    margin: 0 auto;
}

.big-text {
    font-size: 1.8em;
    line-height: 1.3;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

/* .share-button {
    position: absolute;
    top: 10px;
    right: 60px;
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
} */

/* .share-button:hover {
    background-color: #388e3c;
} */

.navigation {
    /* display: none; Hidden by default on larger screens */
    margin-top: 20px;
}

.navigation button {
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #eee;
    border-radius: 5px;
    margin: 0 5px;
}

.navigation button:hover {
    background-color: #ddd;
}

/* Mobile Styles */
/* @media (max-width: 768px) { */
    .about-us, .gospel-share, .intro {
        width: 100%;
        height: auto;
        padding: 5px;
        background: linear-gradient(135deg, #e0f7fa, #80deea);
        border-radius: 5px;
        margin-top: 16px;
    }
    
    .book-container {
        width: 100%;
        padding: 7px;
    }

    .navigation {
        display: flex;
        justify-content: center;
        position: relative;
    }

.share {
    font-weight: bold;
    position: relative;
    color: #fff;box-shadow: 3px 2px 5px 0px #ccc;
}
.share:before {
    content: ".";
    font-size: 2.2em;
    position: absolute;
    bottom: -2.5px;
    left: -4px;
}
.share:after {
    content: ":";
    font-size: 2em;
    position: absolute;
    bottom: -7px;
    right: -7px;
}
.share-button {
    height: 20px;
    width: 20px;
    padding: 5px 5px 2px 2px;
    position: relative;
    float: left;
    cursor: pointer;
    border-radius: 15px;
    background-color: #6ca8ce;
}

    .ct2 {
      font-size: 1.3rem;
      line-height: 1.6;
      /* font-weight: bold; */
      color: #222;
      /* text-shadow: 
        -2px 3px 2px rgba(0, 0, 0, 0.3),
        4px 1px 4px rgba(255, 255, 255, 0.8) */
    }

    .crafted-text {
        font-weight: bold;
      /* text-shadow: 
        2px 2px 5px rgba(0, 0, 0, 0.3),
        2px 2px 16px rgba(255, 255, 255, 0.8);  */
      background: linear-gradient(135deg, #000, #444);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      border: 2px solid rgba(0, 0, 0, 0.1);
      padding: 10px 20px;
      border-radius: 10px;
      box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    }

    .hidden {
        display: none;
    }

    /* Custom styles for the footer */
        .footer-hr {
            border-top: 2px solid #d1d5db; /* Equivalent to border-gray-300 */
            margin-top: 2rem; /* Equivalent to my-8 */
            margin-bottom: 2rem; /* Equivalent to my-8 */
        }
        .app-footer {
            background-color: #1f2937; /* Equivalent to bg-gray-800 */
            color: #ffffff; /* Equivalent to text-white */
            padding-top: 2rem; /* Equivalent to py-8 */
            padding-bottom: 2rem; /* Equivalent to py-8 */
            padding-left: 1rem; /* Equivalent to px-4 */
            padding-right: 1rem; /* Equivalent to px-4 */
            text-align: center;
            border-top-left-radius: 0.5rem; /* Equivalent to rounded-t-lg */
            border-top-right-radius: 0.5rem; /* Equivalent to rounded-t-lg */
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Equivalent to shadow-lg */
        }
        .footer-links-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-left: auto;
            margin-right: auto;
            max-width: 960px; /* Example max-width for container */
            gap: 1rem; /* Equivalent to space-y-4 */
        }
        @media (min-width: 640px) { /* sm breakpoint */
            .footer-links-container {
                flex-direction: row;
                gap: 2rem; /* Equivalent to sm:space-x-8 */
            }
        }
        .footer-link {
            font-size: 1.125rem; /* Equivalent to text-lg */
            font-weight: 600; /* Equivalent to font-semibold */
            padding: 0.5rem; /* Equivalent to p-2 */
            border-radius: 0.375rem; /* Equivalent to rounded-md */
            transition: all 0.3s ease-in-out; /* Equivalent to transition duration-300 ease-in-out */
            transform: scale(1); /* Initial scale */
            text-decoration: none; /* Remove underline from links */
        }
        .footer-link:hover {
            transform: scale(1.05); /* Equivalent to hover:scale-105 */
        }
        .text-red {
            color: #f87171; /* Equivalent to text-red-400 */
        }
        .text-red:hover {
            color: #ef4444; /* Equivalent to hover:text-red-300 */
        }
        .text-blue {
            color: #60a5fa; /* Equivalent to text-blue-400 */
        }
        .text-blue:hover {
            color: #3b82f6; /* Equivalent to hover:text-blue-300 */
        }
        .text-green {
            color: #4ade80; /* Equivalent to text-green-400 */
        }
        .text-green:hover {
            color: #22c55e; /* Equivalent to hover:text-green-300 */
        }
        .copyright-info {
            margin-top: 1.5rem; /* Equivalent to mt-6 */
            color: #9ca3af; /* Equivalent to text-gray-400 */
            font-size: 0.875rem; /* Equivalent to text-sm */
        }