@font-face {
  font-family: 'Gambarino';
  src: url('/fonts/Gambarino/Fonts/WEB/fonts/Gambarino-Regular.woff2') format('woff2'),
       url('/fonts/Gambarino/Fonts/WEB/fonts/Gambarino-Regular.woff') format('woff'),
       url('/fonts/Gambarino/Fonts/WEB/fonts/Gambarino-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
	font-family: 'Instrument Sans';
	src: url('/fonts/Instrument Sans/static/InstrumentSans-Medium.ttf') format('truetype');
	font-weight: 500;
	font-display: swap;
	font-style: medium;
}

@font-face {
	font-family: 'Instrument Sans';
	src: url('/fonts/Instrument Sans/static/InstrumentSans-Regular.ttf') format('truetype');
	font-weight: 400;
	font-display: swap;
	font-style: medium;
}

@font-face {
	font-family: 'Instrument Sans';
	src: url('/fonts/Instrument Sans/static/InstrumentSans-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-display: swap;
}

:root {
  --lilac: #E0B9F8;
  --dark: #272827;
  --brown: #431F1A;
  --offwhite: #F9F5F2;
  --font: 'Gambarino', Instrument Sans, Inter, Helvetica, serif;
	--magic-number: 30px;
	--tablet: 768px;
	--desktop: 1024px;
	--backdrop-brightness: 40%;
}

body {
  font-family: var(--font);
  background: var(--lilac);
  color: var(--brown);
  margin: 0;
  padding: 0;
	max-width: 1440px;
	margin: auto;
}

body:has(dialog[open]) {
	filter: brightness(var(--backdrop-brightness));
	backdrop-filter: brightness(var(--backdrop-brightness));
}

h3 {
	font-weight: 400;
	font-size: 40px;
	line-height: 69px;
	letter-spacing: -3%;
	margin: 0;
	color: var(--lilac);
	
}

h4 {
	font-weight: 400;
	font-size: 30px;
	line-height: 35px;
	letter-spacing: -3%;
	color: var(--lilac);
}	

h5 {
	font-family: Instrument Sans, Inter, Helvetica, serif;
	font-weight: 400;
	font-size: 26px;
	line-height: 34px;
	letter-spacing: 0%;
}	

h6 {
	font-family: Inter;
	font-weight: 600;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 0%;
}	

p {
	font-weight: 400;
	font-size: 14px;
	line-height: 146.66%;
	letter-spacing: 0;
	font-family: Instrument Sans;
}

img {
  max-width: 100%;
  display: block;
	margin: auto;
}

.inline {
	display: inline;
}

.logo {
	margin: 10px auto;
}

header {
	background: var(--offwhite);
	position: relative;

	.logo {
		display: block;
		font-size: 1.5rem;
		font-weight: bold;
		padding: 1rem;
		color: var(--lilac);
		margin: auto;

		@media screen and (min-width: 768px) {
			margin-left: 0;
		}
	}
}

.content {
	background: var(--lilac);
}

.hero {
  text-align: left;
  position: relative;

	.cta {
		width: 80%;
	}
}

.hero-image {
	display: block;
  width: 100%;
  object-fit: cover;
	/* position: absolute; */
	border-radius: var(--magic-number)

}

.hero-text {
	h1 {
		width: 100%;
		color: var(--offwhite);
		font-size: 80px;
		font-weight: 400;
		@media screen and (min-width: 798px) {
			font-size: 134px;
		}
		letter-spacing: -2px;
		line-height: 100%;
	}
}

.cta {
	border: 3px var(--lilac) solid;
	border-radius: 100px;
	padding: 21px 33px;
	background: var(--offwhite);
	text-align: center;
	color: var(--brown);
	font-size: 14px;
	line-height: 17px;
	letter-spacing: 1.5px;
	font-weight: 600;
	text-transform: uppercase;
	font-family: Instrument Sans, Inter, Helvetica, serif;
}

.cta:hover {
	background: var(--lilac);
	border-color: transparent;
}

.interest-form {
  margin: 1rem auto;
  display: flex;
  max-width: 90%;
  background: var(--offwhite);
  border-radius: 50px;
  overflow: hidden;
}

.interest-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  outline: none;
  font-size: 1rem;
}

.interest-form button {
  background: var(--lilac);
  color: var(--dark);
  padding: 0 1.5rem;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}

.social-icons {
	display: flex;
	gap: 1rem;
	margin: var(--magic-number) auto;
	align-items: center;
	justify-content: center;
}

#hero {
	.social-icons {
		margin: 100px 0;
		align-items: start;
		justify-content: left;
	}
}

.card {
	background: var(--offwhite);
	border-radius: var(--magic-number);
	margin-bottom: var(--magic-number);
	padding: var(--magic-number);

	&:first-child {
		margin-top: 0;
	}

	@media screen and (min-width: 768px) {
		padding: calc(var(--magic-number) * 2);
	}
}

.card:first-of-type {
	border-radius: 0 0 var(--magic-number) var(--magic-number);
}


#hero {
	background-image: url("img/hero-bg.jpg");
	background-size: cover;
}

.emphasis {
	font-family: 'Gambarino';
	font-weight: 400;
}


.stat-block {
  text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: calc(var(--magic-number) * 2);
	margin-bottom: calc(var(--magic-number) * 2);

	img {
		margin: 0;
	}

	.info-text {
		color: var(--lilac);
		font-size: 70pt;
		font-weight: 600;
		letter-spacing: -3%;
		margin: 20px auto;
	}

	
	h6 {
		margin: 0;
		line-height: normal;
		font-family: Instrument Sans, Inter, Helvetica;
		font-weight: 600;
		font-size: 30px;
		color: var(--dark);

	}
}

.stat-2 {
	flex-direction: row-reverse;
}

.mission {
  text-align: center;

	.logo {
		width: 300px;
		margin: 20px auto;
	}

	h5 {
		color: var(--dark);
		font-size: 66px;
		line-height: 79px;
		font-weight: 600;
	}

	@media screen and (max-width: 768px) {
		h5 {
			color: var(--dark);
			font-size: 26px;
			line-height: 34px;
		}

		.cut-waste {
			text-wrap: nowrap;
		}
	}
}

.team {
	h3 {
		line-height: 80%;
		margin-bottom: var(--magic-number);
		@media screen and (min-width: 768px) {
			font-size: 80px;
		}
	}
	> div:first-of-type {
		@media screen and (min-width: 768px) {
			width: 80%;
			p {
				font-size: 20px;
			}
		}
	}

	.bio-container {
		display: flex;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 30px 120px;

		@media screen and (max-width: 768px) {
			gap: 0;
		}
	}

	.title {
		letter-spacing: -3%;
		font-family: var(--fonts);
		margin-top: 0;
		margin-bottom: 20px;
	}

	.team-member {
		display: flex;
		gap: 1rem;
		margin-bottom: 3rem;
		margin-top: 3rem;
		flex-grow: 0;

		@media screen and (min-width: 400px) {
			width: calc(400px - calc(var(--magic-number) * 2));
			min-width: calc(400px - calc(var(--magic-number) * 2));
			max-width: 100%;
			margin-bottom: 0;
		}

		> div:first-child {
			text-align: center;
		}

		img {
			object-fit: cover;
			margin-top: 0;
			border-radius: var(--magic-number);
		}

		a {
			font-family: Instrument Sans;
			font-weight: 400;
			font-size: 12px;
			line-height: 20px;
			letter-spacing: 0%;
			text-decoration: none;
			text-align: center;
			color: var(--brown);

			& :hover {
				text-decoration: underline;
			}

			img {
				min-width: 40px;
			}
		}

		.bio {
			flex: 3;

			> :first-child {
				display: flex;
				align-items: stretch;

				> :first-child {
					flex: 1;
				}
			}

			h4 {
				margin: 0;
			}

			.blurb {
				font-family: Instrument Sans;
				font-size: 14px;
			}
		}
	}
}

footer {
  background: var(--brown);
  color: var(--offwhite);
  text-align: center;
	border-radius: var(--magic-number) var(--magic-number) 0 0;

	.content {
		background: var(--brown);
		border-radius: var(--magic-number) var(--magic-number) 0 0;
		padding: var(--magic-number);
		display: block;

		@media screen and (min-width: 768px) {
			padding: calc(var(--magic-number) * 2);
			display: flex;
		}

		.brand {
			font-family: Instrument Sans;
			font-size: 12px;
			line-height: 100%;
			letter-spacing: 0%;
			margin-top: 50px;

			.text-block {
				margin: var(--magic-number) 0;
			}

			p {
				margin: 0;
			}

			.logo {
				font-size: 2rem;
				color: var(--lilac);
			}
		}


		@media screen and (min-width: 768px) {
			align-content: normal;
			align-items: center;
			justify-content: space-between;
			padding-bottom: 0;

			div:first-child {
				order: 2;
			}

			.brand {
				justify-content: flex-stat;

				img {
					margin: 0;
				}

				div {
					text-align: start;
					justify-content: flex-start;
				}

				
			}
		}
	}

	#footer_image_desktop {
		display: none;
	}

	#footer_image_mobile {
		margin: 0;
		width: 100%;
	}

	@media screen and (min-width: 768px) {
		#footer_image_desktop {
			display: block;
			transform: translateX(60px);

			order: 3;
		}

		#footer_image_mobile {
			display: none;
		}
	}
}

dialog[open] {
	display: flex;
	width: 310px;
	padding: var(--magic-number);
	justify-content: center;
	align-items: center;
	gap: 10px;
	border-radius: var(--magic-number);
	background: white;
	border: 3px solid var(--lilac);
	text-align: center;

	img[alt="close"] {
		margin-right: 0;
	}

	h5 {
		margin-top: 0;
	}

	input {
		display: flex;
		padding: 10px 60px 10px 20px;
		align-items: center;
		gap: 10px;
		align-self: stretch;
		border-radius: calc(var(--magic-number) * 2);
		border: 1px solid var(--lilac);
		margin-bottom: 15px;
	}

	button[type=submit] {
		display: flex;
		margin-top: var(--magic-number);
		padding: 10px 0;
		justify-content: center;
		align-items: center;
		gap: 10px;
		border-radius: calc(var(--magic-number) * 2);
		align-self: stretch;
		border: 1px solid var(--lilac);
		background-color: var(--lilac);
		width: 100%;
		color: var(--dark);
		font-size: 14px;
		font-family: Instrument Sans;
		font-weight: 600;
		line-height: 17px;
		letter-spacing: 1.4px;
		text-transform: uppercase;
	}
}

#confirmation {
	padding-top: 30px;

	h3 {
		text-align: center;
		color: var(--dark);
		font-family: var(--fonts);
	}

	p {
		text-align: center;
		font-size: 20px;
		line-height: 155%;
	}
}
