@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');
:root {
	--blue: #009cdf;
	--green: #5ebd3e;
	--orange: #f78200;
	--purple: #973999;
	--red: #e23838;
	--yellow: #ffb900;
}

@font-face {
	font-family: 'HeitiTC';
	src: url('HeitiTC-Medium.woff') format('woff');
	src: url('HeitiTC-Medium.woff2') format('woff2');
}

a.blue:hover {
	color: var(--blue);
}

a.green:hover {
	color: var(--green);
}

a.orange:hover {
	color: var(--orange);
}

a.purple:hover {
	color: var(--purple);
}

a.red:hover {
	color: var(--red);
}

a.yellow:hover {
	color: var(--yellow);
}

body {
	font-family: "Urbanist";
	margin: 0;
}

footer {
	margin-top: 2em;
	padding: 0 50px;
}

h1 {
	font-size: 2em;
	font-weight: bold;
	margin-bottom: 0;
}

h2 {
	font-size: 1.75em;
	font-weight: bold;
	margin-bottom: 0;
	margin-top: 0;
}

header {
	background-color: white;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}

html {
	overflow: hidden;
}

main {
	padding: 0 50px;
}

nav {
	align-items: center;
	background-color: white;
	display: flex;
	gap: 2em;
	height: 100px;
	justify-content: flex-start;
}

nav:after {
	bottom: 1px;
	box-shadow: 0px 0px 8px 1px rgb(0,0,0,.7);
	content: "";
	position: absolute;
	transform: scale(1.1);
	width: 100%;
	z-index: -1;
}

p {
	margin-block-end: 1rem;
	margin-block-start: 1rem;
}

#animation_container {
	bottom: -100%;
	left: -100%;
	margin: auto;
	position: absolute;
	right: -100%;
	top: -100%;
	z-index: 2000;
}

#headshot {
	height: 250px;
}

#nav-icon {
	-moz-transform: rotate(0deg);
	-moz-transition: .5s ease-in-out;
	-o-transform: rotate(0deg);
	-o-transition: .5s ease-in-out;
	-webkit-transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	cursor: pointer;
	display: none;
	height: 30px;
	margin: auto 0;
	transform: rotate(0deg);
	transition: .5s ease-in-out;
	width: 40px;
}

#nav-icon span {
	-moz-transform: rotate(0deg);
	-moz-transition: .25s ease-in-out;
	-o-transform: rotate(0deg);
	-o-transition: .25s ease-in-out;
	-webkit-transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	background: black;
	border-radius: 6px;
	display: block;
	height: 6px;
	left: 0;
	opacity: 1;
	position: absolute;
	transform: rotate(0deg);
	transition: .25s ease-in-out;
	width: 100%;
}

#nav-icon span:nth-child(1) {
	top: 0px;
}

#nav-icon span:nth-child(2), #nav-icon span:nth-child(3) {
	top: 12px;
}

#nav-icon span:nth-child(4) {
	top: 24px;
}

#nav-icon.open span:nth-child(1) {
	left: 50%;
	top: 12px;
	width: 0%;
}

#nav-icon.open span:nth-child(2) {
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
	left: 50%;
	top: 12px;
	width: 0%;
}

#navbar-img {
	align-self: start;
	height: 100px;
}

#projects-grid {
	grid-template-columns: 1fr;
}

#why-grid {
	grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
}

.about-content {
	align-items: center;
	display: flex;
	gap: 2rem;
	margin-bottom: -1rem;
}

.authenticity-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.authenticity-grid div {
	text-align: center;
}

.card {
	background-color: var(--white);
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	overflow: hidden;
	padding: 2rem;
	position: relative;
	transition: transform 0.3s ease;
}

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

.content {
	padding: 1rem 20px;
}

.footer {
	display: flex;
}

.footer-content {
	align-items: center;
	display: flex;
	gap: 4rem;
	list-style: none;
	margin: auto;
	padding: 0;
}

.grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
	padding: 1rem 20px 0;
}

.hero-slug {
	-webkit-text-decoration-color: var(--blue);
	text-decoration-color: var(--blue);
	text-decoration: underline solid var(--blue);
}

.nav-links {
	display: flex;
	gap: 2rem;
	height: 100px;
	justify-content: center;
	list-style: none;
	margin-right: 2em;
	padding: 0;
}

.nav-links a {
	color: var(--text-color);
	font-family: "HeitiTC";
	font-weight: 500;
	text-decoration: none;
	transition: color 0.3s ease;
}

.nav-links li {
	height: fit-content;
	margin: auto;
	text-align: center;
}

.nonai-img {
	height: 100px;
}

.page {
	height: calc(100% - 100px);
	margin-top: 100px;
	overflow: overlay;
	position: fixed;
	scroll-behavior: smooth;
	width: 100%;
}

.value {
	height: 200px;
	width: 500px;
}

.values {
	display: flex;
}

@media (max-width: 800px) {
	main {
		padding: 0 20px 20px;
	}

	nav {
		height: 50px;
		justify-content: space-between;
	}

	#nav-icon {
		align-self: flex-end;
		display: block;
		margin-right: 10px;
	}

	#navbar-img {
		height: 50px;
	}

	.about-content {
		align-items: start;
		flex-direction: column-reverse;
	}

	.about-img {
		flex: 0 0 auto;
		margin: 0 auto 2rem;
		max-width: 300px;
	}

	.nav-links {
		display: none;
	}

	.nav-links li {
		margin: 0 10px 0 0;
		text-align: right;
	}

	.nav-links.active {
		background-color: #fff;
		display: flex;
		flex-direction: column;
		height: fit-content;
		left: 0;
		margin: 0;
		padding: 10px 0;
		position: absolute;
		top: 100%;
		width: 100%;
	}

	.nav-links.active:after {
		bottom: 1px;
		box-shadow: 0px 0px 8px 1px rgb(0,0,0,.7);
		content: "";
		position: absolute;
		transform: scale(1.1);
		width: 100%;
		z-index: -1;
	}

	.page {
		height: calc(100% - 50px);
		margin-top: 50px;
	}
}

@media (max-width: 900px) {
	nav {
		gap: 1em;
	}

	.nav-links {
		gap: 1em;
	}
}