@import url('https://fonts.googleapis.com/css2?family=MuseoModerno:wght@500;700;800&display=swap');

:root {
	--bg: #ffffff;
	--text: #000000;
	--nav-bg: #1e1500c3;
	--nav-text: #000000;
}

* {
	box-sizing: border-box;
}

nav,
main {
	position: relative;
	z-index: 1;
}

nav,
nav * {
	font-family: 'MuseoModerno', sans-serif;
}

nav {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: 24px 0;
	display: flex;
	justify-content: center;
}

.site-navbar {
	width: fit-content;
	padding: 16px 32px;
	border-radius: 200px;
	display: flex;
	align-items: center;
	gap: 48px;
}

#desktop-menu {
	display: flex;
	align-items: center;
	gap: 32px;
	white-space: nowrap;
}

.site-navbar > div {
	display: flex;
	align-items: center;
	gap: 32px;
	white-space: nowrap;
}

nav img {
	height: 48px;
	width: auto;
	flex-shrink: 0;
}

nav a {
	display: inline-block;
	color: var(--nav-text);
	text-decoration: none;
	white-space: nowrap;
	transition: color 220ms ease;
}

nav a:hover {
	color: #666666;
}

html,
body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Montserrat", sans-serif;
}

.legal-page {
	width: 100%;
	padding: 48px 20px;
	display: flex;
	justify-content: center;
}

.legal-content {
	width: min(900px, 100%);
	line-height: 1.7;
	font-size: 1rem;
}

h1,
h2,
h3 {
	margin-top: 0 !important;
	color: var(--text) !important;
}

h1 {
	font-size: 2rem !important;
	margin-bottom: 16px !important;
	font-weight: 600 !important;
}

h2 {
	font-size: 1.35rem !important;
	margin-top: 34px !important;
	margin-bottom: 12px !important;
	font-weight: 600 !important;
}

h3 {
	font-size: 1.08rem !important;
	margin-top: 18px !important;
	margin-bottom: 8px !important;
	font-weight: 600 !important;
}

p {
	margin: 0 0 14px;
}

ul {
	margin: 0 0 14px 22px;
	padding: 0;
}

li {
	margin-bottom: 6px;
}

a {
	color: var(--text);
}


#mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	margin: 0;
}

.mobile-menu-icon {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 24px;
	height: 18px;
	color: #000000;
}

.mobile-menu-icon span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: currentColor;
	border-radius: 999px;
}

@media (max-width: 768px) {
	.site-navbar {
		display: none !important;
	}

	#mobile-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: relative;
		z-index: 60;
		margin: 0 16px 0 auto;
	}

	#desktop-menu {
		display: none !important;
	}

	#mobile-menu {
		display: none;
		position: absolute;
		top: 80px;
		left: 0;
		right: 0;
		background-color: #fffaef;
		flex-direction: column;
		padding: 24px;
		gap: 16px;
		border-top: 1px solid rgba(210, 169, 81, 0.2);
		z-index: 40;
		color: black;
	}

	#mobile-menu.active {
		display: flex !important;
	}

	#mobile-menu a {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid #ffffff1a;
		color: inherit;
	}

	#mobile-menu a:last-child {
		border-bottom: none;
	}
}

@media (min-width: 769px) {
	.site-navbar {
		display: flex !important;
	}

	#mobile-menu-toggle {
		display: none;
	}

	#mobile-menu {
		display: none !important;
	}

	#desktop-menu {
		display: flex !important;
		position: static !important;
		background-color: transparent !important;
		border: none !important;
		padding: 0 !important;
		flex-direction: row !important;
		gap: 32px !important;
	}

	#desktop-menu a {
		display: inline-block;
		padding: 0 !important;
		border: none !important;
	}
	
	.legal-page {
		padding: 28px 16px;
	}

	h1 {
		font-size: 1.6rem;
	}

	h2 {
		font-size: 1.2rem;
	}
}
