#menu {
    background-color: #233a5b;
    font-family: 'Arial', sans-serif;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    position: fixed; /* Set position to fixed */
    left: 0; /* Force it to stay on the left side of the page */
	text-decoration: none;
	z-index: 1000; /* Set a high z-index value */
}

#menu-icon {
    font-size: 1.5em; /* Adjust icon size */
}

#main-menu {
    display: none; /* Initially hide the menu */
    position: absolute; /* Position the menu absolutely */
    top: calc(100% + 10px); /* Position the menu below the #menu */
    left: 0; /* Ensure the menu is aligned with the left edge */
    background-color: #f1f1f1;
    padding: 10px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    font-family: 'Arial', sans-serif; /* Apply font-family */
    text-decoration: none; /* Remove underline */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	text-decoration: none;
	z-index: 1000; /* Set a high z-index value */
	
}

.menudropdown {
    position: relative;
	font-size: 20px;
    font-weight: bold; /* Optionally, set font weight to bold */
    margin-right: 20px;
    font-family: 'Arial', sans-serif; /* Apply font-family */
	text-decoration: none;
}

.menudropdown:hover {
    background-color: #233a5b;
    color: white;
	text-decoration: none;
	text-decoration: none;
}

.submenu {
	font-size: 18px;
    font-weight: bold; /* Optionally, set font weight to bold */
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px; /* Default width */
    background-color: #f1f1f1;
    color: black;
    padding: 12px 16px;
    font-family: 'Arial', sans-serif; /* Apply font-family */
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	text-decoration: none;
	z-index: 1000; /* Set a high z-index value */
}

.submenu.activities {
    width: 250px; /* Adjusted width for activities submenu */
}

.submenu.calculator {
    width: 250px; /* Adjusted width for calculator submenu */
}
.submenu.code {
    width: 250px; /* Adjusted width for activities submenu */
}

.submenu.links {
    width: 180px; /* Adjusted width for calculator submenu */
}

.menudropdown:hover .submenu {
    display: block;
}

.submenu a {
    color: black;
    text-decoration: none;
    display: block;
}

.submenu a:hover {
    background-color: #233a5b;
    color: white;
}

.bars-icon::before {
    content: "☰"; /* Unicode character for three horizontal bars */
    font-size: 24px; /* Adjust font size as needed */
}

/* Add styles for menu heading class */
.menu-heading {
	font-size: 18px;
    font-weight: bold; /* Optionally, set font weight to bold */
    margin-bottom: 8px; /* Add some space between menu headings and submenu items */
	text-decoration: none;
	color: inherit;
}

/* Add styles for home link class */
.home-link {
    text-decoration: none; /* Remove underline */
}
