html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: repeating-linear-gradient(-45deg, #540a00 15px, #660d01 22px, #851101 10px, #330601 11px);
}

body {
	font-family: 'Fira Sans', sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.container {
	background-color: white;
	border: 4px solid #2e2e2e;
	border-radius: 0;
	padding: 30px 40px;
	margin-top: 0px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	max-width: 900px;
	min-height: 100vh;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
	min-height: 90vh; /* Slightly less than 100vh */
}

	.container::-webkit-scrollbar {
		display: none;
	}

.mobile-spacer {
	display: none;
}

@media only screen and (max-width: 768px) {
	.mobile-spacer {
		display: block;
		height: 10px;
	}

	body {
		justify-content: center;
		margin-top: 10px; /* Add some space at the very top */
	}
}

h1 {
	font-size: 2.75rem;
	margin-bottom: -10px;
	color: #333333;
}

p {
	font-size: 1.25rem;
	color: #444444;
	margin-bottom: 15px;
}

.education-info {
	font-size: 0.9rem;
	color: #666666;
	margin-bottom: -15px;
	margin-top: 10px;
}

@media (max-width: 768px) {
	.education-info {
		margin-top: -10px;
	}
}

.links {
	margin-top: 30px;
	display: flex;
	justify-content: center;
	gap: 20px;
}

	.links a {
		display: inline-block;
		padding: 8px 15px;
		background-color: #666666;
		color: white;
		text-decoration: none;
		border-radius: 5px;
		font-weight: 500;
		transition: all 0.2s ease;
	}

		.links a:hover {
			transform: translateY(-2px);
		}

.linkedin {
	background-color: #666666;
	display: flex;
	justify-content: flex-start;
	gap: 20px;
}

	.linkedin:hover {
		background-color: #0077B5; /* LinkedIn Blue */
	}

.itch {
	background-color: #666666;
	display: flex;
	justify-content: flex-start;
	gap: 20px;
}

	.itch:hover {
		background-color: #FA5C5C; /* Itch.io's 'Itchy Carnation' */
	}

/* Typewriter container */
#name-typewriter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	position: relative;
	min-height: 8rem;
	text-align: center;
	margin: 1rem 0;
}

/* Text container */
.typed-text {
	display: inline-block;
	font-size: clamp(3rem, 8vw, 6rem); /* Increased minimum size */
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
}

@media (max-width: 768px) {
	#name-typewriter {
		padding-top: -30px;
		padding-bottom: -30px;
		margin-top: -30px;
		margin-bottom: -30px;
	}
}

/* Cursor */
.cursor {
	display: inline-block;
	width: 3px;
	background-color: #333;
	animation: blink 1s infinite;
	vertical-align: middle;
	height: 0.8em; /* Match text height better */
}

	.cursor.blink {
		opacity: 0;
	}

@keyframes blink {
	0%, 49% {
		opacity: 1;
	}

	50%, 100% {
		opacity: 0;
	}
}

/* Font Attribution Styles */
.font-attribution {
	font-size: 0.85em;
	margin-top: 10px;
	opacity: 0.8;
}

	.font-attribution a {
		color: inherit;
		text-decoration: underline;
		margin: 0 2px;
	}

		.font-attribution a:hover {
			opacity: 0.7;
		}

/* Add this media query for better mobile spacing */
@media (max-width: 768px) {
	.container {
		margin-top: 30px;
	}
}

/* Tab Styles */
.tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
	margin-bottom: 30px;
}

.tab-btn {
	padding: 10px 15px;
	border: none;
	background-color: #666666;
	color: white;
	border-radius: 5px;
	cursor: pointer;
	font-family: 'Fira Sans', sans-serif;
	font-weight: 500;
	transition: all 0.2s ease;
}

	.tab-btn:hover {
		transform: translateY(-2px);
	}

	.tab-btn.active {
		background-color: #851101;
	}

.tab-content {
	display: none;
	text-align: left;
}

	.tab-content.active {
		display: block;
	}

/* Headshot Styles */
.about-header {
	display: flex;
	justify-content: flex-start;
}

.headshot {
	width: 200px;
	height: 300px;
	border-radius: 16px;
	object-fit: cover;
	border: 3px solid #2e2e2e;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* About Me Section Styles */
.about-content {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 30px;
	width: 100%;
	gap: 30px;
}

.resources-section {
	background-color: white;
	border: 3px solid #2e2e2e;
	border-radius: 16px;
	padding: 15px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
	margin-left: 20px;
	width: auto;
	max-width: 60%;
}

	.resources-section h4 {
		color: #851101;
		margin-top: 0;
		margin-bottom: 15px;
		font-size: 1.1rem;
		text-align: center;
	}

.resource-list {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

	.resource-list li {
		display: flex;
		align-items: center;
		margin-bottom: 10px;
		font-size: 0.9rem;
		color: #444;
	}

		.resource-list li:last-child {
			margin-bottom: 0;
		}

	.resource-list i {
		color: #851101;
		margin-right: 10px;
		font-size: 1rem;
		width: 20px;
		text-align: center;
	}

.about-tagline {
	font-style: italic;
	color: #851101;
	text-align: center;
	margin-bottom: 20px;
	font-size: 1.2rem;
	clear: both;
}

.highlight {
	font-weight: 500;
	color: #851101;
}

/* Photo Gallery for About Me Section */
.photo-gallery {
	margin-top: 30px;
	text-align: center;
}

	.photo-gallery h3 {
		margin-bottom: 20px;
		color: #333333;
	}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 15px;
}

.gallery-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.gallery-image {
	width: 100%;
	height: 150px;
	object-fit: contain;
	background-color: #f0f0f0;
	border-radius: 10px;
	border: 2px solid #2e2e2e;
	transition: transform 0.2s ease;
	cursor: pointer;
}

	.gallery-image:hover {
		transform: scale(1.05);
	}

.image-caption {
	margin-top: 8px;
	font-size: 0.9rem;
	color: #555555;
	text-align: center;
}

/* Make the gallery responsive */
@media (max-width: 600px) {
	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.gallery-item {
		max-width: 300px;
		margin: 0 auto;
	}
}

/* Expandable Image Styles */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

	.overlay.active {
		opacity: 1;
		pointer-events: auto;
	}

.overlay-image {
	max-width: 90%;
	max-height: 90%;
	border-radius: 8px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

.overlay.active .overlay-image {
	transform: scale(1);
}

.close-overlay {
	position: absolute;
	top: 20px;
	right: 20px;
	color: white;
	font-size: 30px;
	cursor: pointer;
}

/* Enhanced Project Card Styles */
.project-card {
	display: flex;
	border: 2px solid #2e2e2e;
	border-radius: 10px;
	padding: 0;
	margin-bottom: 20px;
	background-color: #f9f9f9;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
	overflow: hidden;
}

	.project-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	}

.project-card-image {
	flex: 1;
	max-width: 200px;
	min-width: 150px;
}

.project-card-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-card-content {
	flex: 2;
	padding: 15px;
}

.project-date {
	font-size: 0.85rem;
	color: #666666;
	margin-top: 5px;
	margin-bottom: 10px;
}

.view-project {
	display: inline-block;
	margin-top: 5px;
	color: #851101;
	font-weight: 500;
}

.project-card:hover .view-project {
	text-decoration: underline;
}

/* Responsive Project Cards */
@media (max-width: 600px) {
	.project-card {
		flex-direction: column;
	}

	.project-card-image {
		max-width: 100%;
		height: 180px;
	}
}

/* Video Section Styles */
.project-video {
	margin: 30px 0;
}

	.project-video h2 {
		color: #333333;
		margin-bottom: 15px;
	}

	.project-video video {
		width: 100%;
		border-radius: 10px;
		border: 2px solid #2e2e2e;
		background-color: #000;
	}

.video-caption {
	margin-top: 10px;
	font-size: 0.9rem;
	color: #666666;
	text-align: center;
}

/* Skills Section Styles */
.skills-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 30px;
}

.skill-item {
	border: 2px solid #2e2e2e;
	border-radius: 10px;
	overflow: hidden;
	background-color: #f9f9f9;
	transition: all 0.3s ease;
}

.skill-header {
	display: flex;
	align-items: center;
	padding: 15px;
	cursor: pointer;
	background-color: white;
	transition: background-color 0.2s ease;
}

	.skill-header:hover {
		background-color: #f0f0f0;
	}

.skill-name {
	font-size: 1.2rem;
	font-weight: 500;
	color: #333;
	margin-left: 15px;
	flex-grow: 1;
}

.skill-header i {
	font-size: 2rem;
	color: #851101;
}

.details-control {
	display: flex;
	align-items: center;
	gap: 5px;
}

.view-details-text {
	color: #851101;
	font-weight: 500;
	font-size: 0.9rem;
}

.arrow-icon {
	color: #851101;
	font-size: 0.8rem;
	transition: transform 0.3s ease;
}

.skill-details {
	padding: 0 15px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
	padding-top: 0;
	padding-bottom: 0;
}

.skill-item.active .skill-details {
	/* Remove the fixed max-height - the JS will handle this dynamically */
	padding: 0 15px 15px 15px;
}

.skill-item.active {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

	.skill-item.active .arrow-icon {
		transform: rotate(180deg);
	}

.skill-details h4 {
	color: #851101;
	margin-top: 15px;
	margin-bottom: 10px;
	font-size: 1rem;
}

.skill-details ul {
	list-style-type: disc;
	padding-left: 20px;
	margin-top: 5px;
	margin-bottom: 15px;
}

.skill-details li {
	font-size: 0.9rem;
	margin-bottom: 5px;
	color: #444;
}

/* Responsive Skills Section */
@media (max-width: 768px) {
	.skill-header {
		padding: 12px;
	}

	.skill-name {
		font-size: 1.1rem;
	}

	.skill-header i {
		font-size: 1.8rem;
	}
}

@media (max-width: 480px) {
	.skill-header {
		padding: 10px;
	}

	.skill-name {
		font-size: 1rem;
	}

	.skill-header i {
		font-size: 1.6rem;
	}

	.view-details-text {
		font-size: 0.8rem;
	}
}

	/* Devicon Icons */
	.skill i {
		font-size: 2rem;
		color: #851101;
	}

#skills {
	padding-bottom: 100px;
}

/* Resume & Contact Styles */
.resume-section {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
}

.resume-preview {
	width: 231px;
	height: 300px;
	border: 4px solid #2e2e2e;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
	object-fit: cover;
}

.resume-info {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.download-button {
	background-color: #851101;
	color: white;
	padding: 10px 15px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	font-family: 'Fira Sans', sans-serif;
	font-weight: 500;
	transition: all 0.2s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

	.download-button:hover {
		transform: translateY(-2px);
	}

.last-updated {
	font-size: 0.8rem;
	color: #777;
	margin-top: 5px;
}

/* Add responsive design for smaller screens */
@media (max-width: 600px) {
	.resume-section {
		flex-direction: column;
		align-items: center;
	}

	.resume-info {
		align-items: center;
	}
}

/* Contact Form */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

	.contact-form input,
	.contact-form textarea {
		padding: 10px;
		border: 1px solid #ccc;
		border-radius: 5px;
		padding: 10px 15px;
		display: flex;
		justify-content: center;
		padding: 12px;
		font-size: 16px;
		font-family: 'Fira Sans', sans-serif;
		font-weight: 500;
	}

	.contact-form button {
		background-color: #851101;
		color: white;
		padding: 10px 15px;
		border: none;
		border-radius: 5px;
		cursor: pointer;
		font-size: 16px;
		font-family: 'Fira Sans', sans-serif;
		font-weight: 500;
		transition: all 0.2s ease;
	}

		.contact-form button:hover {
			transform: translateY(-2px);
		}

.center-button {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

/* Professional Profiles */
.links a {
	display: inline-flex;
	align-items: center;
	justify-content: left;
	background-color: #666666;
	color: white;
	text-decoration: none;
	font-size: 16px;
	font-family: 'Fira Sans', sans-serif;
	font-weight: 500;
}

#links a {
	padding-bottom: 100px;
}

/* Icons */
.fas, .fab {
	font-size: 18px;
}

/* Footer Styles */
.site-footer {
	margin-top: 60px;
	padding-top: 15px;
	padding-bottom: 50px;
	border-top: 1px solid #2e2e2e;
	text-align: center;
}

.footer-text {
	font-size: 0.85rem;
	color: #666666;
	margin: 0;
}

.footer-link {
	color: #851101;
	text-decoration: none;
	transition: all 0.2s ease;
}

	.footer-link:hover {
		text-decoration: underline;
	}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
	.container {
		width: 100%;
		padding: 20px;
	}

	.tabs {
		flex-wrap: wrap;
	}

	h1 {
		font-size: 2.2rem;
	}

	p {
		font-size: 1.1rem;
	}
}

@media (max-width: 480px) {
	.container {
		width: 95%;
		padding: 15px;
	}

	.headshot {
		width: 150px;
		height: 200px;
	}
}
/* Responsive Design for About me */
@media (max-width: 768px) {
	.about-content {
		flex-direction: column;
		align-items: center;
	}

	.resources-section {
		margin-left: 0;
		margin-top: 20px;
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.about-tagline {
		font-size: 1rem;
	}

	.resource-list li {
		font-size: 0.8rem;
	}
}
