* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* 
*		fonts		*
*/
@font-face {
	font-family: 'geometria bold';
	src: url('geometria_font/Geometria-Bold.woff');
}
@font-face {
	font-family: 'geometria medium';
	src: url('geometria_font/Geometria-Medium.woff');
}

:root {
	--black: #3A393A;
	--gray: #E7E7E7;
	--white: #fff;
	--bold: #EB5C37; 
}

body {
	background-color: var(--black);
	color: var(--gray);
	font-family: 'geometria bold';
	scroll-behavior: smooth;
}

img {
	width: 100%;
	max-width: 400px;
}


h1 {
	font-size: 36px;
}
h2 {
	font-size: 48px;
}
h3 {
	font-size: 32px;
	color: var(--bold);
}
h1, h2 {
	color: var(--white);
}
p {
	font-size: 18px;
	font-family: 'geometria medium';
}
.bold {
	font-weight: 700;
}
a {
	font-size: 18px;
	color: var(--gray);
	font-family: 'geometria bold';
	/* text-decoration: none; */
}
a.active {
	color: var(--bold);
}

/* 
*		ultrawide support		*
*/
nav, main {
	max-width: 900px;
	margin: 0 auto;
}

/* 
*		nav		*
*/
header {
	padding: 2rem;
	border-bottom: 1px solid var(--gray);

	display: flex;
	justify-content: center;
	align-items: center;
}
header img {
	max-width: 300px;
}
/* nav {

	display: flex;
	justify-content: space-between;
	align-items: center;
}
.links a {
	text-decoration: none;
	margin-left: 10px;
}
.links a.icon {
	display: none;
} */

/* 
*		main		*
*/
#sec-2, #sec-3 {
	display: none;
}
main {
	min-height: 80vh;

	/* display: flex; */
	/* flex-direction: column; */
	/* justify-content: center; */
	/* align-items: center; */
}
section {
	margin-top: 6rem;
	padding: 1.5rem;
}
section h2 {
	text-align: center;
}
.sec {
	min-height: 410px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.box-wrapper {
	margin-top: 3rem;

	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	justify-content: center;
	align-items: center;
}
.box {
	/* display: flex;
	gap: 10px; */
	display: grid;
	align-items: center;
	grid-template-columns: 1fr 4fr;
	gap: 20px;
}
/* 
*		Controls	*
*/
.controls {
	margin-top: 5rem;
	display: flex;
	justify-content: center;
	gap: 1rem;
}
.control {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: var(--gray);
	transition: .3s all;
}
.control.active {
	background-color: var(--bold);
}

/* 
*		Person		*
*/
.person-box {
	/* padding: 1rem; */
	border: 1px solid var(--white);
	border-radius: 0px 20px 0px 20px;
	text-align: center;
}
.person-box img {
	border-radius: 0px 20px 0px 0px;
}
.person-box h3 {
	margin: 1rem 0;
}
.person-box a.bold {
	display: inline-block;
	text-decoration: underline;
	margin-bottom: 1rem;
}
/* principal people */
#principal-person {
	display: none;
}
.principal-person {
	margin-top: 3rem;
	border: 1px solid var(--white);

	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	justify-content: center;
}
.principal-person > div {
	padding: 1rem;
}
.principal-person h3 {
	margin-bottom: 1rem;
}
.principal-person p.bold {
	margin-top: 1rem;
}


/* 
*		MEDIA		*
*/
@media (max-width: 850px) {
	.box-wrapper {
		grid-template-columns: 1fr;
	}
	.principal-person {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.principal-person img {
		margin: 0 auto;
		width: 100%;
	}
}
@media (max-width: 580px) {
	h1 {
		font-size: 36px;
	}
	h2 {
		font-size: 30px;
	}
	h3 {
		font-size: 22px;
	}
	p, a {
		font-size: 15px;
	}

	header {
		padding: 2rem 1rem;
	}

	main {
		min-height: 70vh;
	}

	.person-info {
		gap: 1rem;
	}
	
	nav {
		flex: none;
	}
	nav .links a {
		margin-left: 0;
		margin-top: 1rem;
		margin: 0 2px;
	}

	/* responsive nav */
	.links a:not(.icon) {
		display: none;
	}
	.links a.icon {
		display: block;
	}
	.links.responsive {
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;

		background-color: var(--black);

		display: flex;
		flex-direction: column;
		gap: 3rem;
		justify-content: center;
		align-items: center;
	}
	.links.responsive a {
		display: block;
	}
	.links.responsive a.icon {
		position: absolute;
    	right: 16px;
    	top: 41px;	
	}

	.box {
		gap: 15px;
		justify-content: center;
		align-items: center;
	}
	.box img {
		width: 100%;
		max-width: 45px;
	}
}