:root {
	--accent: #FFF06B;
}

body{
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	color: #222222;
	font-family: 'DM Sans', sans-serif;
}

a{
	border-bottom: 2px solid;
	text-decoration: none;
	color: #222222;
	font-weight: 600;
}

a:hover{
	border-bottom: 2px solid;
	color: #A6AFB8;
}
.container {
	display: flex;
	position: fixed;
	top: 50%;
	margin-left: 8%;
	margin-right: 8%;
    transform: translateY(-50%);
}

.item {
	width: 35%;
	height: auto;
}

.intro {
	width: 65%;
}
.list-item {
	display: flex;
	margin-bottom: 4px;
	opacity: 0;
	animation: fadeSlideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	transition: opacity 0.2s ease;
}

/*.list-label {
	flex: 1;
	font-weight: 400;
	font-size: 18px;
	color: #777777;
}*/

.list-value {
	flex: 3;
	font-weight: 400;
	font-size: 18px;
	margin-top: 3px;
}

h1 {
	font-weight: 600;
	font-size: 28px;
	margin: 0;
	margin-bottom: 24px;
}
.highlight{
	background-color: var(--accent, #FFF06B) !important;
	display: inline-block;
}
.underline{
	border-bottom: 2px solid;

}
h2 {
	margin: 0;
	font-weight: 400;
	font-size: 26px;
	line-height: 1.5;
	margin-right:5%;
	padding-bottom:48px;
}
h3 {
	margin: 0;
	font-weight: 400;
	font-size: 20px;
	line-height: 1.5;
	margin-right:6%;
	padding-bottom:48px;
	color: #A6AFB8;
	opacity: 0;
	animation: fadeSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: 0.35s;
}

@media only screen and (min-width: 1880px) {
	
	h1 {
		font-size: 22px;
		margin-bottom: 4%;
	}

	h2 {
		font-size: 1.5vw;
	}

	.list-item {
		display: flex;
		margin-bottom: 0.8%;
	}

/*	.list-label {
		font-size: 0.8vw;
	}
	*/
	.list-value {
		font-size: 0.9vw;
		margin-top: 3px;
	}

}

@media only screen and (max-width: 1200px) {
	
	.container {
		position: relative;
		top: 100px;
		transform: none;
	}

	.list-value {
		flex: 2;
	}

}

@media only screen and (max-width: 1024px) {
	
	.container {
		flex-direction: column;
	}

	.item {
		width:100%;
	}

	.intro {
		margin-top: 100px;
	}

	h2 {
		font-size: 26px;
	}

}

@media only screen and (max-height: 940px) {
	
	.container {
		position: relative;
		top: 100px;
		transform: none;
	}

}

@media only screen and (max-width: 768px) {
	
	/* .list-item {
		flex-direction: column;
	} */
	
	.list-value {
		flex: 2;
	}

	h2 {
		font-size: 22px;
	}
	
	.intro {
		margin-top: 60px;
	}

}

@media only screen and (max-width: 480px) {
	
	.list-item {
		flex-direction: column;
		margin-top: 24px;
	}

	.container {
		top: 60px;
		margin-left: 16px;
		margin-right: 16px;
	}	

	h1 {
		padding-bottom: 24px;
		font-size: 16px;
	}

	h2 {
		font-size: 22px;
		margin-right: 0;
	}
	
	.intro {
		margin-top: 60px;
	}

/*	.list-label {
		font-size: 16px;
	}*/

	.list-value {
		font-size: 16px;
	}


}

/* ── Entrance animations ────────────────────────────── */
@keyframes fadeSlideUp {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes charIn {
	0%   { opacity: 0; transform: translateY(20px); }
	55%  { opacity: 1; transform: translateY(-4px); }
	75%  { transform: translateY(1px); }
	100% { opacity: 1; transform: translateY(0); }
}

/* ── Character-level animation (right-side bio) ─────── */
.word {
	display: inline-block;
	white-space: nowrap;
}

.char {
	display: inline-block;
}

@keyframes charWave {
	0%   { transform: translateY(0px);  color: inherit; }
	30%  { transform: translateY(-9px); color: var(--accent); }
	60%  { transform: translateY(1px);  }
	80%  { transform: translateY(-2px); }
	100% { transform: translateY(0px);  color: inherit; }
}

.char.waving {
	animation: charWave 0.55s ease-in-out both;
}