*, *::before, *::after {
	box-sizing: border-box;
	/*border: 1px solid black;*/
}

:root {
	--main-background-color: #FFFFFF;
	--second-background-color: #FBF9EA;
	--main-font: 'Cal Sans',  sans-serif;
	--project-id-font: 'Archivo Narrow', sans-serif;
	--project-name-font: 'Lisu Bosa', serif;;
	--main-text-color: #000000;
	--main-title-color: #F45832;
	--home-main-button-bg-color: #FFBE18;
	--home-main-button-text-color: #9C1210;
	--instagram-color: #A25A32;
}

.cal-sans-regular {
	font-family: "Cal Sans", sans-serif;
	font-weight: 400;
	font-style: normal;
}


.archivo-narrow-unique {
  font-family: "Archivo Narrow", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.lisu-bosa-extralight {
  font-family: "Lisu Bosa", serif;
  font-weight: 200;
  font-style: normal;
}


/*
* === GLOBAL LAYOUT OF THE SITE ===
*/

body {
	margin: 0;
	padding: 0;
	background-color: var(--main-bg-color);
	font-family: var(--main-font);
}

.grid {
	display: grid;
	grid-template-areas: 
	"navbar"
	"main"
	"footer";
}

.navbar {
	grid-area: navbar;
	display: flex;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 100;
}

.main {
	grid-area: main;
	max-width: 1280px;
	margin: 0 auto;
	width: 100%;
	overflow: hidden;
}

.footer {
	grid-area: footer;
	max-width: 1280px;
	margin: 0 auto;
}

.page-section {
	opacity: 0;
	transform: translateY(20px);
	animation: sectionFadeIn 0.5s ease forwards;
}

@keyframes sectionFadeIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}


/*
* -- Global media queries --
*/

@media screen and (max-width: 800px) {
	.grid {
		margin-bottom: 60px;
	}
}

/*
* === NAVIGATION BAR ===
*/

.navbar {
	height: 120px;
	padding: 60px;
	background-color: var(--main-background-color);
}

.navbar__links {
	display: flex;
	gap: 40px;
	font-size: 16px;
}

.navbar__link{
	color: var(--main-text-color);
	text-decoration: none;
}

.navbar__link:hover{
	color: var(--main-text-color);
	text-decoration: underline;
}

.navbar__tab--header {
	margin-right: auto;
}

.navbar__link i {
	display: none;
}

.navbar__logo {
	width: 100px;
}

/*
* -- Navigation bar media queries --
*/

@media screen and (max-width: 800px) {
	.navbar {
		display: block;
		position: static;
		padding: 0px;
	}

	.navbar__tab--header {
		display: flex;
		justify-content: center;
		height: auto;
		padding: 20px 0;
	}

	.navbar__links {
		height: 60px;
		background-color: var(--main-background-color);
		justify-content: space-around;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		gap: 0;
	}

	.navbar__tab {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.navbar__link i {
		display: inline;
		font-size: 20px;
	}

	.navbar__link {
		font-size: 0;
	}
}

/*
* === HEADLINE ===
*/

.headline {
	color: var(--main-title-color);
	padding: clamp(20px, 8vw, 100px) 20px 20px 20px;
	font-size: clamp(60px, 18vw, 200px);
	line-height: 0.8;
}

.headline__line {
	position: relative;
	display: inline-block;
}

.headline img {
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-40%);
	height: 1.5em;
	width: auto;
}

/*
* -- Headline media queries --
*/


/*
* === HOME VIDEO ===
*/

.home__video {
	aspect-ratio: 1280 / 800;
	width: 100%;
	overflow: hidden;
}

.home__video video {
	width: 100%;
	height: 100%;
	object-fit: cover; /* crops the square video to fill the 1280/800 frame */
}


/*
* -- Home video media queries --
*/

/*
* === PROJECTS OVERVIEW ===
*/

.projects-overview {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto auto;
}

.projects-overview__project {
	display: flex;
	flex-direction: column;
}

.projects-overview__project--image {
	width: 100%;
	aspect-ratio: 6 / 5;
	object-fit: cover;
	object-position: center;
	display: block;
}

.projects-overview__project--data {
	display: flex;
	height: clamp(60px, 5vw, 100px);
	justify-content: space-between;
	align-items: center;
	padding: 15px;
}

.projects-overview__project--identifier {
	font-family: var(--project-id-font);
	font-size: clamp(8px, 0.8vw, 10px);
}

.projects-overview__project--name {
	font-family: var(--project-name-font);
	font-size: clamp(14px, 1.5vw, 20px);
}

.projects-overview__button {
	grid-column: 1 / -1;
	height: clamp(100px, 15vw, 200px);
	background-color: var(--home-main-button-bg-color);
	color: var(--home-main-button-text-color);
	border: none;
	cursor: pointer;
	font-size: 1rem;
	width: 100%;
	font-family: var(--main-font);
	font-size: clamp(40px, 7vw, 90px);
}

/*
* === INSTAGRAM LOOP ===
*/

.instagram-loop {
	padding: clamp(60px, 8vw, 160px) 0;
	background-color: var(--second-background-color);
	overflow: hidden;
}

.instagram-loop__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 clamp(10px, 5vw, 100px);
	margin-bottom: 40px;
}

.instagram-loop__carousel {
	overflow: hidden;
	width: 100%;
}

.instagram-loop__track {
	display: flex;
	gap: 20px;
	width: max-content;
	animation: scroll-left 40s linear infinite;
}

@keyframes scroll-left {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

.instagram-loop__item {
	width: clamp(120px, 18vw, 240px);
	height: clamp(100px, 15vw, 200px);
	flex-shrink: 0;
	overflow: hidden;
}

.instagram-loop__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.instagram-loop__title {
	font-size: clamp(36px, 5vw, 64px);
	color: var(--instagram-color);
}

.instagram-loop__button {
	font-size: clamp(20px, 4vw, 56px);
	color: var(--second-background-color);
	background-color: var(--instagram-color);
	text-decoration: none;
	padding: 0 clamp(25px, 8vw, 110px);
	border-radius: 50px;
}

/*
* === LETS COLLABORATE ===
*/

.lets-collaborate {
	padding: clamp(20px, 6vw, 50px) clamp(20px, 7vw, 145px);
}

.lets-collaborate__button {
	display: block;
	padding: clamp(40px, 10vw, 100px) clamp(25px, 2vw, 140px);
	border-radius: 50px;
	background-color: var(--second-background-color);
	color: var(--home-main-button-bg-color);
	text-decoration: none;
	text-align: center;
	font-size: clamp(40px, 7vw, 100px);
}

/*
* === FOOTER ===
*/

.footer {
	font-family: var(--project-id-font);
	padding: clamp(20px, 3vw, 40px) clamp(10px, 1.5vw, 20px);
	opacity: 0.5;
}

/*
* === SOON ===
*/

.soon {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	font-size: clamp(40px, 7vw, 100px);
	color: var(--main-title-color);
}