:root {
	--charcoal: #323232;
}

* {
	margin: 0;
	padding: 0;
	font-family: "Google Sans Flex", sans-serif;
	font-family: "Lato", sans-serif;
}

html {
	scroll-behavior: smooth;
}

a {
	all: unset;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}

nav a:hover,
a:hover h3 {
	opacity: 0.7;
}

li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.section {
	padding: 80px 0;
	width: 100%;
	box-sizing: border-box;
	scroll-margin-top: 20vh;
}

.container {
	max-width: 1400px;
	padding-inline: 35px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

.page {
	position: relative;
}

nav,
#services h2,
#projects h2,
#projects h3 {
	font-family: "Google Sans Flex", sans-serif;
	font-size: 15px;
	font-weight: 350;
	text-transform: uppercase;
}

nav ul li a {
	font-size: 12px;
	font-weight: 400;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding-block: 30px;
	background: #fff;
	z-index: 2;
}

header .container {
	display: flex;
	justify-content: start;
	gap: 40px;
	align-items: center;
	margin: 0 auto;
}

.logo {
	display: flex;
	align-items: center;
}

.logo img{
	width:120px;
}

nav ul {
	display: flex;
	gap: 30px;
}

.hero {
	margin-top: 82px;
	height: calc(100vh - 82px);
	width: 100%;
}

.hero video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#about {
	background: var(--charcoal);
	color: white;
	height: 550px;
}

#about .container {
	display: flex;
	align-items: center;
	height: 100%;
}

#about h1 {
	font-weight: 300;
	font-size: 38px;
	max-width: 850px;
}

#projects h2 {
	width: 100%;
	text-align: center;
	margin-bottom: 60px;
}

#projects h3 {
	margin-top: 6px;
}

.project-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	row-gap: 40px;
	column-gap: 20px;
}

.project-cards a {
	display: block;
}

.media {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

#services {
	background: #fafafa;
	display: flex;
	align-items: center;
}

#services h2 {
	margin-bottom: 40px;
}

#services p {
	font-size: 20px;
	max-width: 850px;
	font-weight: 300;
	margin-top: 20px;
	line-height: 130%;
}

footer {
	border-top: #96d5bb solid 20px;
	background: var(--charcoal);
	color: white;
	padding-block: 20px;
	font-size: 15px;
}

footer .phone {
	font-weight: 300;
	margin-left: 20px;
}

@media (max-width: 900px) {
	.project-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.project-cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {

	.container {
		width: 90%;
		padding-inline: 0;
	}

	header {
		padding-block: 18px;
	}

	header img {
		width: 100px;
	}

	.hero {
		margin-top: 54px;
		height: calc(40vh);
	}

	#about {
		height: unset;
	}

	#about h1 {
		font-weight: 400;
		font-size: 25px;
		line-height: 150%;
	}

	#projects h2 {
		margin-bottom: 30px;
	}

	#services {
		height: unset;
	}

	#services h2 {
		line-height: 150%;
	}

	#services p {
		line-height: 170%;
		font-size: 18px;

	}
}