/* General styles for the page */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2d2d2d; /* Black background */
    color: #fff; /* White text */
    line-height: 1.6;
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

/* Styles for the main heading */
h1.index {
    border-radius: 40px;
    background-color: #663399; /* Purple background */
    color: #fff; /* White text */
    text-align: center;
    padding: 20px 0;
}

/* Styles for the navigation list */
nav.index {
    background-color: #4a4a4a; /* Dark gray background */
    border-radius: 5px;
    padding: 10px;
    margin: 20px 0;
}

/* Styles for each list item in the navigation */
nav.index li {
    list-style-type: none;
    margin-bottom: 10px;
}

/* Styles for the links */
nav.index li a {
    text-decoration: none;
    color: #fff; /* White text */
    font-weight: bold;
    padding: 5px 10px;
    display: block; /* Makes the entire area clickable */
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}

/* Hover effect for links */
nav.index li a:hover {
    background-color: #663399; /* Purple background on hover */
    color: #fff; /* White text on hover */
}
h1 {
    font-size: 2em;
    margin-top: 0;
    color: #8335d1; /* Purple text */
}
h2 {
    font-size: 1.5em;
    color: #8335d1; /* Purple text */
}
h3 {
    font-size: 1.2em;
    color: #8335d1; /* Purple text */
}
h4 {
    font-size: 1em;
    color: #8335d1; /* Purple text */
}
h5 {
    font-size: 0.8em;
    color: #8335d1; /* Purple text */
}
h6 {
    font-size: 0.7em;
    color: #8335d1; /* Purple text */
}
.btn {
    background-color: #663399; /* Purple background */
    position: fixed;
    top: 20px;
    right: 20px;
    border: none;
    color: #fff; /* White text */
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}
.btn:hover {
    background-color: #541197; /* Purple background on hover */
    color: #fff; /* White text on hover */
}
strong {
    font-weight: bold;
    color: #d68fff;
}
code {
    background-color: #000000 !important; 
    color: #fff !important; 
    padding: 2px;
    border-radius: 3px;
}
pre {
    background-color: #000000 !important; 
    color: #fff !important; 
    padding: 10px;
    border-radius: 3px;
}

        /* Styles for the navigation list */
        nav.index {
            background-color: #4a4a4a; /* Dark gray background */
            border-radius: 5px;
            padding: 10px;
            margin: 20px 0;
        }

        /* Styles for each list item in the navigation */

        nav.index li {
            list-style: none;
            margin-bottom: 10px;
        }
        li.index {
            list-style: none;
        }
        /* Styles for the links */
        nav.index li a {
            text-decoration: none;
            color: #fff; /* White text */
            font-weight: bold;
            padding: 5px 10px;
            display: block; /* Makes the entire area clickable */
            border-radius: 3px;
            transition: background-color 0.3s, color 0.3s;
        }

        /* Hover effect for links */
        nav.index li a:hover {
            background-color: #663399; /* Purple background on hover */
            color: #fff; /* White text on hover */
        }
        li a {
            text-decoration: none;
            color: #fff; /* White text */
            font-weight: bold;
            padding: 5px 10px;
            display: block; /* Makes the entire area clickable */
            border-radius: 3px;
            transition: background-color 0.3s, color 0.3s;
        }
        li a:hover {
            background-color: #663399; /* Purple background on hover */
            color: #fff; /* White text on hover */
        }
        nav {
            background-color: #4a4a4a; /* Dark gray background */
            border-radius: 5px;
            padding: 10px;
            margin: 20px 0;
        }
        nav li {
            margin-bottom: 10px;
        }
        /* Styles for the table */
table {
    width: 100%; /* Full width */
    border-collapse: collapse; /* Collapses the border */
    margin: 20px 0; /* Margin for spacing */
    background-color: #3d3d3d; /* Slightly lighter black for the background */
    color: #fff; /* White text */
    border-radius: 5px; /* Rounded corners */
    overflow: hidden; /* Ensures the border-radius is applied to the table */
}

/* Styles for the table headers */
th {
    background-color: #663399; /* Purple background */
    color: #fff; /* White text */
    text-align: left; /* Aligns text to the left */
    padding: 12px 15px; /* Padding for spacing */
    font-weight: normal; /* Removes bold from headers */
}

/* Styles for the table data cells */
td {
    padding: 10px 15px; /* Padding for spacing */
    border-top: 1px solid #555; /* Slight border for separation */
}

/* Hover effect for table rows */
tr:hover {
    background-color: #4a4a4a; /* Dark gray background on hover */
}

/* Styles for the table body to differentiate from headers */
tbody tr:nth-child(odd) {
    background-color: #363636; /* Slightly different background for odd rows */
}
li.code-line::marker {
    color: #d68fff;/* Sets the color of the markers to red */

  }
  /* Remove default styles */
input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #9c27b0; /* Bright purple border */
    border-radius: 3px; /* Rounded corners */
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Checked state */
input[type="checkbox"]:checked {
    background-color: #9c27b0; /* Bright purple fill when checked */
    border-color: #9c27b0; /* Same color for consistency */
    position: relative;
}

/* Add a checkmark when checked */
input[type="checkbox"]:checked::after {
    content: '✔';
    color: white;
    font-size: 12px;
    position: absolute;
    left: 2px;
    top: -2px;
}

/* Hover effect */
input[type="checkbox"]:hover {
    border-color: #bb86fc; /* Slightly lighter purple on hover */
}
