/* Profile (header) */
:root {
	--font-1: "Inter Tight";
	--font-fallback: sans-serif;
	--light-grey-bg: #ececec;
	--color-primary: #2a2a2a;
	--color-secondary: #636363;
	--color-tertiary: #959595;
	--color-text-white: #dadada;
	--color-blue-prime: #2f68b9;
	--color-blue-second: #377cdd;
	--color-blue-tert: #3c88f3;
	--border-radius-small: 8px;
	--font-light: 300;
	--font-normal: 400;
	--font-bold: 600;
	--text-size-small: 11px;
	--text-size-normal: 14px;
	--text-size-medium: 18px;
	--text-size-large: 22px;
}

body {
	margin: 0;
}

html {
	scroll-behavior: smooth;
}

/* Profile (header) */
.ingress_header {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 445px;
	padding: 2rem;
	background-color: var(--light-grey-bg);
	position: relative;
	overflow: hidden;
}

.ingress_container {
	display: flex;
	align-items: center;
	gap: 2rem;
	max-width: 900px;
	margin: 0 auto;
	margin-top: 100px;
	transition: transform 0.4s ease;
}

.ingress_header img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
	cursor: pointer;
}

.ingress_header img:hover {
	box-shadow: 0 0 15px var(--color-blue-tert);
}

.header_text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1;
}

.header_text h1 {
	margin: 0;
	font-family: var(--font-1), var(--font-fallback);
	color: var(--color-primary);
	font-size: 2rem;
	text-transform: uppercase;
}

.header_text p {
	margin: 0.5rem 0;
	font-size: var(--text-size-normal);
	color: var(--color-secondary);
	font-family: var(--font-1), var(--font-fallback);
}

.cta-buttons {
	margin-top: 1.5rem;
}

.cta-buttons a {
	margin-right: 1rem;
	padding: 0.5rem 1.2rem;
	background-color: var(--color-blue-prime);
	color: var(--color-text-white);
	border-radius: var(--border-radius-small);
	text-decoration: none;
	font-family: var(--font-1), var(--font-fallback);
	transition: background-color 0.3s;
}

.cta-buttons a:hover {
	background-color: var(--color-blue-tert);
}

.ingress_container.slide-up {
	transform: translateY(-40px);
}

/* Bio (header) */
.bio-box {
	background-color: var(--color-secondary);
	padding: 0.5rem 1.5rem;
	border-radius: var(--border-radius-small);
	max-width: 470px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.4s ease;
	font-size: var(--text-size-normal);
	color: var(--color-text-white);
	font-family: var(--font-1), var(--font-fallback);
	text-align: left;
}

/* Contact info (header) */
#contactBox,
.bio-box.hidden {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
	display: none;
}

#contactBox.show,
.bio-box.show {
	opacity: 1;
	display: block;
	pointer-events: auto;
}

#contactBox {
	background: var(--color-secondary);
	color: var(--color-text-white);
	padding: 0.5rem 1.5rem;
	border-radius: 10px;
	max-width: 470px;
	font-family: var(--font-1), var(--font-fallback);
}

#contactBox a {
	text-decoration: none;
	margin-left: 10px;
	color: var(--color-text-white);
}

#contactBox a:hover {
	color: var(--color-primary);
}

/* Project cards */
.projects {
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem;
}

.project_card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	border: 1px solid var(--color-tertiary);
	border-radius: var(--border-radius-small);
	padding: 1.5rem;
	margin-bottom: 2rem;
	background-color: var(--light-grey-bg);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.project_card img {
	max-width: 100%;
	height: auto;
	max-height: 450px;
	border-radius: 15px;
	opacity: 0.7;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
	transition: opacity 0.5s ease;
	border: 5px solid var(--color-secondary);
	margin: auto;
}

.project_card img:hover {
	opacity: 0.9;
}

.projects h2 {
	font-family: var(--font-1), var(--font-fallback);
	color: var(--color-primary);
	font-size: 2rem;
	text-transform: uppercase;
}

.project_card h3 {
	margin: 0.5rem 0;
	font-family: var(--font-1), var(--font-fallback);
	font-size: var(--text-size-large);
	color: var(--color-primary);
}

.project_card p {
	margin: 0.5rem 0;
	color: var(--color-secondary);
	font-family: var(--font-1), var(--font-fallback);
	font-size: var(--text-size-medium);
}

.project_card a {
	margin-right: 1rem;
	text-decoration: none;
	color: var(--color-blue-prime);
	font-family: var(--font-1), var(--font-fallback);
	font-weight: var(--font-bold);
	font-size: var(--text-size-medium);
}

.project_card a:hover {
	text-decoration: underline;
	color: var(--color-blue-tert);
}

/* Footer */
.footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 445px;
	padding: 2rem;
	background-color: var(--light-grey-bg);
}

.footer h3 {
	font-family: var(--font-1), var(--font-fallback);
	text-transform: uppercase;
	text-align: center;
}

.connect_footer {
	margin-top: 40px;
}

.connect_footer a {
	display: flex;
	gap: 2rem;
	padding: 1.5rem;
	text-decoration: none;
	font-family: var(--font-1), var(--font-fallback);
	color: var(--color-secondary);
}

.connect_footer i {
	font-size: var(--text-size-large);
	color: var(--color-primary);
}

.connect_footer a:hover {
	color: var(--color-primary);
}

.footer_button {
	margin-top: 35px;
}

.footer_button a {
	padding: 0.5rem 1.2rem;
	background-color: var(--color-blue-prime);
	color: var(--color-text-white);
	border-radius: var(--border-radius-small);
	text-decoration: none;
	font-family: var(--font-1), var(--font-fallback);
	transition: background-color 0.3s;
}

.footer_button a:hover {
	background-color: var(--color-blue-tert);
}

@media (max-width: 768px) {
	.ingress_container {
		flex-direction: column;
		text-align: center;
	}

	.ingress_container img {
		margin-bottom: 1rem;
	}

	.header_text h1 {
		font-size: 1.5rem;
	}

	.header_text p {
		font-size: 14px;
	}

	.cta-buttons {
		margin-top: 1rem;
	}

	.cta-buttons a {
		display: block;
		margin: 0.5rem auto;
		width: fit-content;
	}

	.bio-box {
		padding: 1rem;
		font-size: 14px;
	}
}
