:root {
	--primary-accent-color: #e34646
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	font-family: 'Poppins', sans-serif;
	color: #444;
	font-size: 12pt;
}

a {
	color: var(--primary-accent-color);
}

.container {
	max-width: 1300px;
	margin: auto;
	padding: 0 20px;
}

.container p {
	font-size: clamp(0.9rem, 2vw, 1rem);
}

.center {
	text-align: center;
}

header {
	top: 0;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.18);
	position: sticky;
	z-index: 1000;
}

.header {
	background: #222;
	color: #fff;
	height: 60px;
	display: flex;
	align-items: center;
}

.header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.header .container>a {
	display: flex;
}


nav ul {
	list-style: none;
	display: flex;
	gap: 20px;
	align-items: center;
}

nav ul li a {
	text-decoration: none;
	color: #fff;
	font-weight: 500;
	padding: 6px 15px;
	border-radius: 10px;
}

nav ul li a:hover, nav ul li a:focus {
	background: #000;
	outline: none;
}

nav ul li:last-child a {
	background: var(--primary-accent-color);
	color: #fff;
	padding: 6px 20px;
}

nav ul li:last-child a:hover, nav ul li:last-child a:focus {
	background: #ed441a;
	outline: none;
}

.hamburger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	cursor: pointer;
	color: #fff;
}

section:first-of-type {
	margin-top: 50px;
}

section {
	margin-bottom: 60px;
}

.container h1 {
	font-size: clamp(1.5rem, 5vw, 2rem);
	margin-bottom: 15px;
	color: var(--primary-accent-color);
}

.container h2 {
	margin-bottom: 15px;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.container h3 {
    font-size: clamp(1.15rem, 2vw, 1.3rem);
}


footer {
	text-align: center;
	box-shadow: inset 0 15px 10px -10px rgba(0, 0, 0, .03);
	padding: 30px 0;
	font-size: clamp(0.8rem, 2vw, 0.9rem);
}

footer .links {
	margin: 20px 0;
}

footer .links a {
	font-weight: 600
}

footer p:first-child {
	font-size: clamp(0.75rem, 2vw, 0.85rem);
	color: #666;
	font-style: italic;
}

@media ( max-width :768px) {
	nav ul {
		position: fixed;
		top: 0;
		right: 0;
		background: #333;
		flex-direction: column;
		width: 250px;
		height: 100%;
		padding-top: 60px;
		max-height: 100%;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform 0.3s ease;
		z-index: 1002;
	}
	nav ul.no-transition {
		transition: none !important;
	}
	nav ul.show {
		transform: translateX(0);
	}
	nav ul li {
		text-align: center;
		width: 100%;
		height: 44px;
	}
	nav ul li a {
		margin: 0 20px;
		display: block;
		box-sizing: border-box;
	}
	.hamburger {
		display: flex;
	}
	#menu-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
		z-index: 1001;
	}
	#menu-overlay.show {
		display: block;
	}
}