.navbar {
	color: white;
	background-color: rgba(0, 0, 0, 0.8);
	height: 70px;
	padding: 0.5rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 10;
} .nav-left {
	display: flex;
	align-items: center;
	flex-grow: 1;
} .nav-right {
	display: flex;
	align-items: center;
	gap: 1rem;
} .menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 11;
} .menu-toggle span {
	height: 3px;
	background: white;
	border-radius: 2px;
	transition: all 0.3s ease;
} .menu-toggle span:nth-child(1), .menu-toggle span:nth-child(3) {
	width: 100%;
} .menu-toggle span:nth-child(2) {
	width: 100%;
} .menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(5.5px, 5.4px);
} .menu-toggle.active span:nth-child(2) {
	opacity: 0;
	transform: translate(-20px);;
} .menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(6.3px, -5.4px);
} .menu-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 9;
} .menu-backdrop.active {
	opacity: 0.9;
	pointer-events: auto;
} .menu, .submenu {
	list-style: none;
	margin: 0;
	padding: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
} .menu li a, .submenu li a {
	color: white;
	text-decoration: none;
} .nav-btn, .close-btn, .back-btn {
	font-size: 1.2rem;
	background: none;
	color: white;
	border: 2px solid white;
	padding: 0.5rem 1.5rem;
	border-radius: 5px;
	cursor: pointer;
	background-color: rgba(255, 255, 255, 0.1);
} .mobile-only {
	display: block;
} .desktop-only {
	display: none;
} body.resizing .menu, body.resizing .submenu {
	transition: none !important;
} .desktop-menu {
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-grow: 1;
	justify-content: flex-end; /* Push all items to the right */
} button {
	width: 150px;
} button.red {
	color: #f00 !important;
	background-color: #200!important;
} img.profile {
	width: 55px;
	height: 55px;
	border-radius: 50%;
	margin-right: 20px;
} img.profile:hover { box-shadow: 0px 0px 5px 2px rgba(36, 49, 66,0.8); }
@media (max-width: 600px) { /* Mobile */
	.logo { content: url("/pics/slashb_logo.webp");
	} .menu, .submenu {
		font-size: 20px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 2rem;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		opacity: 0;
		pointer-events: none;
		background: transparent;
		transform: scale(0.98);
		z-index: 10;
	} .menu.show {
		opacity: 1;
		pointer-events: auto;
		transform: scale(1);
	} .menu.fade-out {
		opacity: 0;
	} .menu.slide-out {
		transform: scale(0.98) translateX(-10%);
		opacity: 0;
	} .submenu.visible {
		opacity: 1;
		pointer-events: auto;
		transform: scale(1) translateX(10%);
	} .submenu.slide-in {
		transform: scale(1) translateX(0%);
	} .has-dropdown .dropdown {
		display: none !important;
	} .has-dropdown > a::after {
		content: none;
	} li {
		text-align: center;
	}
}
@media (min-width: 601px) { /* Desktop */
	.logo { content: url("/pics/tiltedbyte_logo.webp");
	} .submenu, .close-btn, .back-btn, .menu-backdrop {
		display: none !important;
	} .mobile-only {
		display: none;
	} .desktop-only {
		display: block;
	} .menu {
		display: flex !important;
		flex-direction: row;
		gap: 1rem;
		background-color: transparent;
		position: static;
		height: auto;
		opacity: 1 !important;
		pointer-events: auto !important;
		transform: none !important;
	} .menu-toggle {
		cursor: default;
		pointer-events: none;
		opacity: 0;
	} .menu li a {
		color: white;
		text-decoration: none;
	} .navbar ul {
		display: flex;
		align-items: center;
	} .navbar li {

		align-items: center;
	} .has-dropdown {
		position: relative;
	} .has-dropdown .dropdown {
		display: block;
		opacity: 0;
		transform: translateY(-10px);
		position: absolute;
		top: 100%;
		left: auto;
		right: -40px;
		background-color: #2d2d2d;
		border: 1px solid #555;
		padding: 0.5rem 0;
		list-style: none;
		min-width: 160px;
		border-radius: 6px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
		z-index: 1000;
		text-align: center;
		pointer-events: none;
		transition: opacity 0.25s ease, transform 0.25s ease;
	} .has-dropdown:hover .dropdown {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
		display: block;
	} .has-dropdown .dropdown li a {
		display: block;
		padding: 0.5rem 1rem;
		color: white;
		text-decoration: none;
		white-space: nowrap;
	} .has-dropdown .dropdown li a:hover {
		background-color: #3d3d3d;
		color: #85e283;
		text-shadow: 3px 3px #137111;
	} .nested-dropdown {
		position: relative;
	} .nested-dropdown .dropdown {
		top: 0;
		left: 100%;
	}
}