body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    background-color: #222;
    color: #fff;
}

.title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 0;
}

.subtitle {
    font-size: 34px;
    text-align: center;
    margin-top: 0;
}

/* Style the headers */
h1,
h2,
h3 {
    position: relative;
    /* Add a relative position to the headers */
}

/* Style the anchor links */
h1::before,
h2::before,
h3::before {
    content: "#";
    /* Add the # symbol */
    position: absolute;
    left: -20px;
    /* Position the symbol to the left of the header */
    color: #aaa;
    /* Set the color to a lighter gray */
    font-size: 20px;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

ul {
    margin-top: 0;
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

/* Style the navigation bar */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background-color: #333;
    overflow: auto;
    justify-content: space-between;
    align-items: center;
}

.navchapter { 
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #fff;
}

/* Style the links inside the navigation bar */
.nav a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #fff;
    transition: box-shadow 0.3s ease-in-out;
    /* Add a transition to the box-shadow property */
}

/* Add a neon purple glow effect to the links on hover */
.nav a:hover {
    box-shadow: 0 0 2px #ff00ff, 0 0 5px #ff00ff, 0 0 310px #ff00ff, 0 0 15px #ff00ff;
    transition: box-shadow 0.3s ease-in-out;
    /* Add a transition to the box-shadow property */
}

/* Define the styles for the active navigation link */
.nav a.active {
    background-color: #555;
}

/* Style the main content */
.main-content {
    margin-left: 200px;
    /* Set the margin to the width of the navigation bar */
    padding: 20px;
}

/* Style the headings */
h1,
h2 {
    margin-top: 0;
}


@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff00de, 0 0 70px #ff00de, 0 0 80px #ff00de, 0 0 100px #ff00de;
    }

}

.glow {
    animation: glow 1s ease-in-out alternate;
    animation-delay: 0s;
    animation-duration: 5s;
}

/* Define a container for the grid */
.container {
    display: flex;
    flex-wrap: wrap;
}

/* Define the columns for the grid */
.col {
    flex: 1;
    margin: 0.5rem;
}


/* Define the styles for screens smaller than 768px */
@media (max-width: 767px) {

    /* Adjust the font size and line height */
    body {
        font-size: 16px;
        line-height: 1.5;
    }

    /* Adjust the grid layout */
    .col {
        flex-basis: 100%;
    }


    .nav {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }

    /* Hide the navigation links */
    .nav a {
        display: none;
    }

    /* Show the navigation links when the menu icon is clicked */
    .nav .menu-icon:checked~a {
        display: block;
    }
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 5px; /* Add rounded corners to the image */
}

em {
    /* Highlight text */
    background-color: #ff00de;
}