@charset "utf-8";

.project-section{
	position: relative;
	width: 100%;
	padding: 0px 40px 20px;
	overflow: hidden;
	
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Blurred background */
.project-section::before{
	content: "";
	position: absolute;
	inset: 0;
	
	background-image: url("1x/Main_Menu_Background.png");
	background-size: cover;
	background-position: center;
	
	filter: blur(18px);
	transform: scale(1.05);
	
	z-index: 0;
}

.wellness-hero-background::before{
	background-image: url("1x/Wellhero_Background.png");
}

.projects-background::before{
	background-image: url("1x/Projects_First_Person.png");
}

.grimwar-background::before{
	background-image: url("1x/GRIMWAR_Background.png");
}

.kibo-background::before{
	background-image: url("1x/Kibo_Standing.png");
}

.linn-falls-background::before{
	background-image: url("1x/LinnFalls_Background.png");
}

.project-section::after{
	content: "";
	position: absolute;
	inset: 0;
	margin: 0;
	
	background: rgba(0,0,0,0.55);
	z-index: 1;
}

.project-section > * {
	position: relative;
	z-index: 2;
}

.project-container{
	max-width: 2000px;
	margin: 0 auto;
	
	display: flex;
	gap: 60px;
}

.project-left{
	flex: 1.3;
	
	color: white;
}

.project-right{
	flex: 1;
	
	color: white;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.project-stripe{
	width: 100%;
	height: 10px;
	align-self: center;
}

@media (max-width: 1200px) {
	.project-container{
		flex-direction: column;
	}
}

/* DEBUGGING */
/*
.project-left,
.project-right{
	background: rgba(0,0,0,0.5);
	padding: 40px;
	border-radius: 16px;
}

.project-left{outline: 2px solid red;}
.project-right{outline: 2px solid blue;}
.project-section{outline: 2px solid green;}
*/

.video-background{
	position: relative;
	overflow: hidden;
}

.image-background{
	position: relative;
	overflow: hidden;
}

.video-background-content{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translate(-50%, -50%);
	z-index: 0;
	
	
	filter: blur(3px);
}

/* META CONTENT */
.project-meta{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	
	padding: 40px 0px;
}

.meta-row{
	display: grid;
	grid-template-columns: 300px 1fr;
	align-items: center;
}

.meta-label{
	text-align: left;
	font-size: 1.5rem;
}

.meta-value{
	text-align: left;
	font-size: 1.5rem;
}

/* TEXT FORMATTING */
.project-title{
	color: white;
	font-size: 3rem;
	font-weight: bold;
	text-align: center;
	padding: 20px 20px;
}

.project-subtitle{
	color: white;
	font-size: 2rem;
	text-align: center;
	padding: 0px 0px 40px 0px;
}

.project-logo{
	width: 400px;
	padding: 40px 0;
	z-index: 2;
}

.project-description{
	font-size: 1.75rem;
	line-height: 1.3;
	text-align: center;
	
	padding: 40px 0px;
}

.project-link{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	
	width: 64px;
	height: 64px;
	margin-top: 2rem;
	
	border-radius: 50%;
	background: rgba(0,0,0.5);
	backdrop-filter: blur(6px);
	
	transition: transform 0.2s ease, background 0.2s ease;
}

.project-link img{
	width: 28px;
	height: auto;
}

/* Hover Effect */
.project-link:hover{
	transform: translateX(4px);
	background: rgba(255,255,255,0.15);
}

.centered-title{
	color: black;
	font-size: 4rem;
	font-weight: bold;
	text-align: center;
	padding: 20px 20px;
}

.centered-project-text{
	color: black;
	font-size: 1.5rem;
	text-align: center;
	padding: 20px 20px;
}

.resume-container{
	width: 100%;
	max-width: 1200px;
	max-height: 1200px;
	margin: 0 auto;

	aspect-ratio: 8.5 / 11;

	border-radius: 12px;
	overflow: hidden;
}

.resume-iframe{
	width: 100%;
	height: 100%;
	border: none;
}

.no-background-project-section{
	position: relative;
	width: 100%;
	padding: 0px 40px 20px;
	overflow: hidden;
	
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Blurred background */
.no-background-project-section::before{
	content: "";
	position: absolute;
	inset: 0;
	
	background-size: cover;
	background-position: center;
	
	transform: scale(1.05);
	
	z-index: 0;
}

.no-background-project-section::after{
	content: "";
	position: absolute;
	inset: 0;
	margin: 0;
	
	z-index: 1;
}

.no-background-project-section > * {
	position: relative;
	z-index: 2;
}