.nav-button {
    background: transparent;
    color: #000;
    font-weight: bold;
    font-family: "Arial Black", "Impact", sans-serif;
    padding: 6px 90px;  /* Reduced from 9px to 6px to make them flatter */
    border: none;
    clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0% 50%);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;  /* Reduced from 16px */
    letter-spacing: 0.5px;
    position: relative;
    margin: 0 8px;
    text-decoration: none;  /* Removes underline */
    display: inline-block;  /* Important for links to work properly with padding */
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0% 50%);
    z-index: -2;
}

.nav-button::after {
    content: '';
    position: absolute;
    top: 3px;  /* Reduced from 4px for thinner border */
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: linear-gradient(to bottom, #FFEB3B, #FDD835);
    clip-path: polygon(8px 0%, calc(100% - 8px) 0%, calc(100% - 3px) 50%, calc(100% - 8px) 100%, 8px 100%, 3px 50%);
    z-index: -1;
}

.nav-button:hover::after {
    background: linear-gradient(to bottom, #FFF176, #FFE082);
}

.nav-button:active::after {
    background: linear-gradient(to bottom, #F9A825, #F57F17);
}

/* CSS for advanced search panel from W3C (edited)! */

/* The sidepanel menu */
.sidepanel {
	width: 0;           /* hidden @start, expanded with JS */
	position: fixed;    /* Stay in place */
	z-index: 1;         /* Stay on top */
	top: 190px;         /* shift down (under nav bar) */
	left: 0;
	overflow-x: hidden; /* Disable horizontal scroll */
	padding: 0;
	transition: 0.4s;   /* 0.4 second slide transition*/
}

/* Add padding to side panel */
.sidePanelWrapper {
	padding: 10px;
	background-color: #191919;
	color: #fff;
}

/* Put heading and close cross next to each other */
.sidepanel-header {
	display: flex;
	justify-content: space-between;
}

/* Cross Styling */
.sidepanel a {
	padding: 8px 8px 8px 32px;
	text-decoration: none;
	color: #E1E1E1;
	transition: 0.3s;

}

/* When you mouse over the navigation links, change their color */
.sidepanel a:hover {
	color: #ffaeae;
}

/* Position and style the close button (top right corner) */
.closebtn {
	top: 0;
	font-size: 36px;
}