/* @import url('https://fonts.googleapis.com/css2?family=Nunito&family=Nunito+Sans&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&family=Nunito:wght@400;700&display=swap');

body {
	font-family: 'Nunito', sans-serif;
	max-width: 1200px;
	overflow-x: hidden;
	margin-left: auto;
	margin-right: auto;
	padding: 1em;
}

a {
	text-decoration: none;
}

a:visited {
	/* color: rgb(44, 44, 44); */
	color: inherit;
}

a:hover {
	/* color: rgb(78, 78, 78); */
}

.main-title {
	font-size: 22px;
	text-align: center;
	font-weight: 700;
	font-family: 'Nunito Sans', sans-serif;
}

.h1 {
	font-size: clamp(22px, 3vw, 48px);
	text-align: center;
	font-weight: 700;
}

h1.page-title {
	font-size: clamp(32px, 4vw, 70px);
	text-align: center;
	font-weight: 700;
}

.page-description p {
	font-size: 18px;
}

.h3 {
	font-size: 12pt;
	font-weight: 700;
}

body > header {
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1.2em;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1.5rem;
	text-align: center;
	/* min-height: 10vh; */
}

main > header.page-description {
	text-align: center;
	min-height: 50vh;
}

header.page-description {
	text-align: center;
	height: 400px;
	display: flex;
	flex-direction: column;
	gap: 1em;
	justify-content: center;
}

footer {
	width: fit-content;
	height: 10rem;
	margin: 2em auto;
	font-size: clamp(20px, 8vw, 24px);
	font-weight: 700;
}

footer nav {
	display: flex;
	align-items: center;
	justify-items: center;
	justify-content: space-around;
	height: 100%;
	gap: 3rem;
	flex-wrap: wrap;
}

.sequential-gallery {
	display: flex;
	flex-direction: column;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	gap: 3em;
}

.sequential-gallery > div {
	transform: translateY(50%);
	opacity: 0;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-items: center;
}

.sequential-gallery > div > p {
	text-align: left;
}

.sequential-gallery > div[data-visible=true] {
	transform: translateY(0%);
	opacity: 1;
	transition: all 1s ease-in-out;
}

img {
	max-width: 100%;
	object-fit: contain;
}

.features {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.features > .big {
	grid-column: span 2;
}

.project-item {
	display: grid;
	grid-template-areas: "main";
	align-items: center;
	justify-items: center;
	color: white;

	flex-basis:500px;
    flex-grow:9999;
}

.project-item > * {
	grid-area: main;
}

.project-item > img {
	object-fit: contain;
	object-position: 50% 50%;
	height: 400px;

}

.project-item > h3 {
	opacity: 0;
	transition: opacity linear 100ms;
}

.project-item:hover > h3 {
	opacity: 1;
}