body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

header {
	display: flex;
	align-items: center;
	padding: 1em;
	background: linear-gradient(to bottom, rgba(255, 0, 255, 0.1) 0%, rgba(255, 0, 255, 0.005) 100%);
}

header h1,
header h2,
header h3 {
	margin: 0;
}

#nav-menu {
	display: none;
	/* Hide hamburger icon by default */
	cursor: pointer;
	/* Pointer cursor indicates it's clickable */
	margin-left: auto;
	/* Push the nav to the right */
}

nav {
	display: flex;
	/* Default flex to arrange items */
	margin-left: auto;
	/* Push the nav to the right */
}

nav a {
	margin-left: 15px;
	position: relative;
	display: inline-block;
	padding: 0.5em 1.2em 0.5em 1em;
	text-decoration: none;
	color: inherit;
	/* Inherit color from parent */
}

nav a::before,
nav a::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: 2px solid black;
}

nav a::before {
	transform: translate(-0.2em, -0.2em);
	transition: transform 0.3s ease;
}

nav a::after {
	transform: translate(0, 0);
}

nav a:hover::before {
	transform: translate(0.2em, 0.2em);
}

@media (max-width: 800px) {
	nav {
		display: none;
		/* Hide navigation links by default on mobile */
		flex-direction: column;
		/* Stack links vertically */
		position: absolute;
		/* Enable positioning for dropdown */
		top: 80px;
		/* Below the header */
		background-color: white;
		/* Background color for dropdown */
		width: 100%;
		/* Full width */
	}
	
	nav.active {
		display: flex;
		/* Show navigation links when active */
	}
	
	#nav-menu {
		display: block;
		/* Show hamburger icon on mobile screens */
	}
	
	nav a {
		margin-bottom: 15px;
	}
}

main {
	flex: 1;
	padding: 1em;
}

footer {
	padding: 1em;
	background-color: #f1f1f1;
	display: flex;
	justify-content: center;
	background: linear-gradient(to bottom, rgba(0, 255, 0, 0.005) 0%, rgba(0, 255, 0, 0.1) 100%);
}

#footer-copyright {
	text-align: center;
}