/* Navigation styles */
/* Set the border and box shadow for the nav element */
nav {
	border: 0px solid #e8e8e8;
	box-shadow: 0px 5px 25px rgb(0 0 0 / 8%);
}

/* Remove the list style and text decoration for the a and li elements */
a,
li {
	list-style: none;
	text-decoration: none;
}

/* Set the text transform, font size, letter spacing, and font weight for the menu-item elements */
li.menu-item {
	text-transform: uppercase;
	font-size: 16px;
	letter-spacing: 1px;
	font-weight: 500;
}

/* Make the main navigation element a block element with 100% width */
.main-navigation {
    display: block;
    width: 100%;
}

/* Hide the main navigation ul element and remove the margin and padding */
.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

/* Add some box shadow, float, position, top, left, and z-index for the main navigation ul ul element */
.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

/* Set the left and top for the main navigation ul ul ul element */
.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

/* Display the block, set the left, and add some transition for the main navigation ul ul li:hover > ul and main navigation ul ul li.focus > ul elements */
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    display: block;
	left: auto;
    transition: all 0.3s ease;
}

/* Set the width, display, padding, text decoration, color, and background color for the main navigation ul ul a element and add some transition for the background color */
.main-navigation ul ul a {
    width: 200px;
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

/* Change the background color for the main navigation ul ul a:hover element */
.main-navigation ul ul a:hover {
    background-color: #f0f0f0;
}

/* Set the left and add some transition for the main navigation ul li:hover > ul and main navigation ul li.focus > ul elements */
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
    transition: all 0.3s ease;
}

/* Set the position for the main navigation li element */
.main-navigation li {
    position: relative;
}

/* Set the display, text decoration, padding, and color for the main navigation a element and add some transition for the color */
.main-navigation a {
    display: block;
    text-decoration: none;
    padding: 10px;
    color: #333;
    transition: color 0.3s ease;
}

/* Change the color for the main navigation a:hover element */
.main-navigation a:hover {
    color: blue;
}

/* Set the color and text decoration for the menu-class li a element */
.menu-class li a {
    color: black; 
    text-decoration: none;
}

/* Change the color for the menu-class li.current-menu-item a element */
.menu-class li.current-menu-item a {
    color: red; 
}


/* Small menu styles */
/* Display the menu-toggle and main-navigation.toggled ul elements */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

/* Use a media query to apply different styles for screens with a minimum width of 37.5em */
@media screen and (min-width: 37.5em) {
    /* Hide the menu-toggle element */
    .menu-toggle {
        display: none;
    }

    /* Display the main-navigation ul element as a flex container */
    .main-navigation ul {
        display: flex;
    }
}

/* Set the background, border, box shadow, font size, padding, and cursor for the menu-toggle element */
.menu-toggle {
    background: none;
	border: 0px solid #e8e8e8;
	box-shadow: 0px 5px 25px rgb(0 0 0 / 8%);
    font-size: 24px;
	padding: 10px;
    cursor: pointer;
}

/* Set the width and display for the menu-icon element */
.menu-icon {
	width: 50px;
    display: inline-block;
}

/* Button To Top styles */
/* Hide the toTopBtn element */
button#toTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #68818E;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* Change the background color for the toTopBtn:hover element */
button#toTopBtn:hover {
    background-color: #596F7A;
}
