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

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Sen", sans-serif;
}

img {
	display: block;
	height: 100%;
	width: 100%;
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
	display: block;
}

html {
	font-size: 62.5%;
}

body {
	font-family: "Sen", sans-serif;
}

.hero__container {
	background: #f6efe3;
	height: 80vh;
	padding: 5rem 8rem;
	text-align: center;
	position: relative;
	z-index: 2;
}

.hero__container h2 {
	font-size: 6rem;
	font-weight: 900;
	margin-top: 3rem;
}

.hero__container p {
	font-size: 2.5rem;
	line-height: 1.8;
	color: #2e2c2c;
	/* font-weight: 300; */
	margin-top: 3rem;
}

.hero__img {
	position: absolute;
	top: 10%;
	left: 20%;
	z-index: -1;
}

.people__container {
	padding: 5rem;
	max-width: 1100px;
	height: fit-content;
	width: 100%;
	margin: 0 auto;
	position: relative;
}

.people__slides {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 4rem;
	place-content: center;
	position: relative;
	transform: translateY(-15%);
	z-index: 2;
}

.people__slide {
	position: relative;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.4);
	border-radius: 10px 10px 0 0;
}

.people__img {
	height: 380px;
}

.people__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px 10px 0 0;
}

.people__img .etinosa__img {
	object-position: 0px 10%;
}

.people__details {
	background-color: #fff;
	padding: 1rem 2rem;
	display: flex;
	justify-content: space-between;
}

.people__slide-title {
	font-weight: 700;
	font-size: 1.8rem;
	margin-bottom: 0.5rem;
}

.people__slide-text {
	font-weight: 300;
	font-size: 1.5rem;
	font-style: italic;
}

.people__icons {
	align-self: flex-end;
	display: flex;
	gap: 1rem;
	font-size: 1.5rem;
}

@media screen and (max-width: 576px) {
	.hero__container {
		padding: 3rem 2rem 5rem;
		height: fit-content;
	}

	.hero__container h2 {
		font-size: 3.5rem;
		margin-top: 3rem;
	}

	.hero__container p {
		font-size: 1.8rem;
		margin-top: 2rem;
	}

	.people__container {
		padding: 3rem 2rem;
		max-width: 500px;
		height: fit-content;
		width: 100%;
		margin: 0 auto;
		position: static;
	}

	.people__slides {
		position: static;
		display: block;

		transform: translateY(0%);
	}

	.people__slide {
		box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
		max-width: 380px;
		margin: 0 auto 3rem;
	}

	.people__img {
		height: 420px;
	}

	.people__img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

@media screen and (min-width: 577px) and (max-width: 767px) {
	.hero__container {
		padding: 3rem 2rem;
		height: 60vh;
	}

	.hero__container p {
		font-size: 1.8rem;
		margin-top: 2rem;
	}

	.people__container {
		height: fit-content;
		padding: 3rem 2rem;
	}
	.people__slides {
		display: flex;
		flex-wrap: wrap;
		transform: translateY(-10%);
	}

	.people__slide {
		flex-basis: 42%;
	}

	.people__slide-title {
		font-weight: 700;
		font-size: 1.5rem;
		margin-bottom: 0.5rem;
	}

	.people__slide-text {
		font-weight: 300;
		font-size: 1.3rem;
	}

	.people__icons {
		align-self: flex-end;
		display: flex;
		gap: 1rem;
		font-size: 1.3rem;
	}
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	.hero__container {
		background: #f6efe3;
		height: fit-content;
		padding: 10rem 8rem;
	}

	.hero__container h2 {
		font-size: 4rem;
		margin-top: 3rem;
	}

	.people__container {
		padding: 5rem 3rem 0;
		margin: 0 auto;
		/* min-height: 80vh; */
		height: fit-content;
	}

	.people__slides {
		display: flex;
		flex-wrap: wrap;
		grid-gap: 2rem;
		transform: translateY(-15%);
		z-index: 2;
	}

	.people__slide {
		flex-basis: 30%;
	}

	.people__img {
		height: 300px;
	}

	.people__img img {
		width: 100%;
		height: 100%;
		/* object-fit: cover; */
	}

	.people__details {
		background-color: #fff;
		padding: 1rem 2rem;
		display: flex;
		justify-content: space-between;
	}

	.people__slide-title {
		font-weight: 700;
		font-size: 1.5rem;
		margin-bottom: 0.5rem;
	}

	.people__slide-text {
		font-weight: 300;
		font-size: 1.3rem;
	}

	.people__icons {
		align-self: flex-end;
		display: flex;
		gap: 1rem;
		font-size: 1.3rem;
	}
}
