     /* body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f4f9;
            margin: 0;
            padding: 0;
        } */


        #index {
            margin: 20px auto;
            width: 80%;
            /* max-width: 800px; */
            padding: 20px;
            background-color: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
        }


        .chapter-link {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            background-color: #f4f4f4;
            margin: 10px 0;
            border-radius: 8px;
            text-decoration: none;
            color: #333;
            transition: background-color 0.3s ease;
        }

        .chapter-link:hover {
            background-color: #eaeaea;
        }

        .chapter-link .sno {
            width: 10%;
            text-align: left;
            font-size: 18px;
            font-weight: bold;
            color: #6b6bff;
        }

        .chapter-link .chapter-title {
            width: 70%;
            text-align: center;
            font-size: 18px;
            font-weight: bold;
        }

        .chapter-link .go-button {
            width: 20%;
            text-align: right;
        }

        .go-button a {
            padding: 8px 16px;
            background-color: #6b6bff;
            color: white;
            border-radius: 5px;
            text-decoration: none;
        }

        .go-button a:hover {
            background-color: #5757e6;
        }
        .chapter-intro {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .chapter-intro .sno {
            width: 20%;
            font-size: 18px;
            font-weight: bold;
            /* color: #6b6bff; */
            color: rgb(120 53 53);
        }

        .chapter-intro .chapter-title {
            width: 70%;
            text-align: center;
            font-size: 18px;
            font-weight: bold;
            color: #333;
        }

        .chapter-intro .read-button {
            width: 20%;
            text-align: right;
        }

        .read-button a {
            padding: 8px 16px;
            /* background-color: #6b6bff; */
            background: rgb(120 53 53);
            color: white !important;
            border-radius: 5px;
            text-decoration: none;
        }

        .read-button a:hover {
            background-color: chocolate;

        }

       
        .insidebookheading {
            text-align: center;
            color: #333;
            padding: 20px 0;
            background: linear-gradient(45deg, #6b6bff, #93a1ff);
            color: white;
        }

        #chapter-buttons {
            display: flex;
            justify-content: center;
            margin: 20px 0;
        }

        .chapter-btn {
            /* background-color: #6b6bff; */
            background: rgb(120 53 53);
            color: white;
            border: none;
            padding: 10px 20px;
            margin: 0 10px;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .chapter-btn:hover {
            /* background-color: #5757e6; */
            background: chocolate;
        }

        .paid{
          display: none;
        }
        #chapters {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 20px;
        }

        .chapter {
            width: 80%;
            /* max-width: 600px; */
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin: 20px 0;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .chapter h2 {
            margin: 0 0 10px 0;
            /* color: #4a4aeb; */
            color: chocolate;

        }

        .chapter p {
            line-height: 1.6;
            color: #555;
        }

        .chapter:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        /* Styling for Paid Chapters */
        .paid {
            background-color: #f1f1f1;
            color: #777;
            text-align: center;
        }

        .paid button {
            background-color: #6b6bff;
            color: white;
            border: none;
            padding: 10px 20px;
            margin-top: 10px;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .paid button:hover {
            background-color: #5757e6;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .chapter {
                width: 90%;
            }

            .insidebookheading {
                font-size: 1.5rem;
            }
        }



@media screen and (min-device-width: 200px) and (max-device-width: 768px){
    .chapter-intro .sno {
        /* width: auto; */
        font-size: 12px;
        font-weight: bold;
        color: rgb(120 53 53);
    }
    .chapter-intro .chapter-title {
        width: 70%;
        text-align: center;
        font-size: 12px;
        font-weight: bold;
        color: #333;
    }
    .read-button a {
        padding: 8px 9px;
        /* background-color: #6b6bff; */
        background: rgb(120 53 53);
        color: white !important;
        border-radius: 5px;
        text-decoration: none;
        font-size: 10px;
    }
}