/* style.css */

body,
h1,
h2,
h3,
h4,
p,
ul {
	margin: 0;
	padding: 0;
}

body {
	font-family: sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: #000;
	background: #fff;
}

#cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.9);
	color: #fff;
	padding: 1rem;
	text-align: center;
	z-index: 2000;
	opacity: 1;
	transition: opacity 0.5s ease, transform 0.5s ease;
}

#cookie-banner.fade {
	opacity: 0;
	transform: translateY(-100%);
	pointer-events: none;
}

#cookie-banner button {
	margin-left: 1rem;
	background: #fff;
	color: #000;
	border: none;
	padding: 0.25rem 0.75rem;
	cursor: pointer;
}

header,
footer,
nav {
	background: #000;
	color: #fff;
	padding: 1.5rem;
}

header h1,
header h2,
header p,
header hr,
nav ul,
main,
footer p {
	max-width: 600px;
	margin: 0 auto;
}

header a,
footer a,
nav a {
	color: #fff;
	text-decoration: none;
}

header a:hover,
footer a:hover,
nav a:hover {
	text-decoration: underline;
}

nav {
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 0.75rem 0;
}

nav ul {
	list-style: none;
	/* padding: 0; */
	display: flex;
	gap: 1.5rem;
}

nav a {
	font-weight: 500;
}

main {
	padding: 1.5rem;
}

main a {
	color: #000;
}

main a:hover {
	text-decoration-color: #aaa;
}

section {
	scroll-margin-top: 4rem;
}

h2 {
	border-bottom: 1px solid #ccc;
	padding-bottom: 0.25rem;
}

h2,
h3 {
	margin-top: 2rem;
	margin-bottom: 1rem;
}

h4 {
	margin-top: 1rem;
}

article {
	margin-bottom: 1.5rem;
}

article h3,
article h4 {
	margin-bottom: 0.25rem;
}

article p {
	margin-bottom: 0.5rem;
}

@media (max-width: 600px) {

	header h1,
	header h2,
	header p,
	header hr,
	nav ul,
	main,
	footer p {
		max-width: 100%;
	}

	header h1,
	header h2,
	header p,
	nav ul,
	main,
	footer p {
		padding: 1rem;
	}

	header {
		padding-bottom: 0;
	}

	nav {
		padding-top: 0;
		position: static;
	}

	nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	nav ul li {
		padding-left: 1.5rem;
	}

	section {
		scroll-margin-top: 1rem;
	}
}