@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/lato-v24-latin-regular.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: italic;
	font-weight: 400;
	src: url('fonts/lato-v24-latin-italic.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Lato';
	font-style: normal;
	font-weight: 700;
	src: url('fonts/lato-v24-latin-700.woff2') format('woff2');
}

body {
	font-family: 'Lato', sans-serif;
	margin: 0;
	padding: 0;
}

img {
	max-width: 100%;
	height: auto;
}

h2 {
filter: drop-shadow(0px 1px 1px #000000);
margin-top: 0;
}
.resume-button {
    display: inline-block;
    padding: 12px 25px;
    margin: 20px auto;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    color: #ffffff;
    text-align: center;
    text-decoration: none;

    background: linear-gradient(135deg, #544d5d, #303143);
    border-radius: 8px;
    border: 2px solid #ffffff44;

    filter: drop-shadow(0px 3px 4px #000000);
    transition: transform 0.25s ease, background 0.3s ease, border 0.3s ease;

    width: 80%;
    max-width: 300px;
}

.resume-button:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, #4e4e4e, #2a2a2a);
    border: 2px solid #ffffffaa;
}

.profile-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

.profile-links .resume-button {
    box-sizing: border-box;
    flex: 0 0 auto;
    margin: 0;
    max-width: 300px;
    width: 80%;
}


#main-container {
width: 100%;
display: flex;
justify-content: center;
}

main {
	width: 100%;
	max-width: 720px;
	background-color: rgba(0, 0, 0, 0.25); /* Adds a slight overlay for contrast */
	border-radius: 10px;
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
	padding:40px 40px 0px 40px;
}

.art {
position: relative;
text-align: center;
max-width: 100%;
}

.art-main {
width: 90%;
margin: 20px;
filter: drop-shadow(0px 0px 4px #ffffff);
}

.art-main2 {
position: absolute;
left: 0;
top: 0;
width: 90%; /* Match the width of .art-main if needed */
margin: 20px; /* Match the margin of .art-main for perfect overlay */
filter: drop-shadow(0px 0px 4px #ffffff);
opacity: 1.0; /* Adjust transparency for blending effect */
animation: tilt 7s infinite alternate ease-in-out;
transform-origin: 50% 50%;
will-change: transform;
}

.art-main:hover {
}

@keyframes tilt {
	from {
		transform: rotate(-2deg);
	}
	to {
		transform: rotate(2deg);
	}
}




.text {
width: 95%;
font-size: 22px;
line-height: 1.5;
color: #ffffff;
filter: drop-shadow(0px 3px 3px #000000);
text-align: center;
margin: auto;
margin-top: 2%;
}

.text-2 {
width: 95%;
font-size: 15px;
line-height: 1.2;
color: #FFFFFF;
filter: drop-shadow(0px 3px 3px #000000);
text-align: center;
margin: auto;
margin-top: -5%;
margin-bottom: 5%;
}

.text-3 {
	width: 95%;
	font-size: 15px;
	line-height: 1.2;
	color: #FFFFFF;
	text-align: center;
	margin: auto;
	margin-top: -5%;
	margin-bottom: 5%;
}

.apps-section {
	width: 100%;
	margin: 5% auto 0;
}

.apps-section .text {
	margin-top: 0;
}

.app-grid {
	display: grid;
	gap: 18px;
	margin: 0 auto 30px;
	width: 95%;
}

.app-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 155px;
	gap: 16px;
	align-items: stretch;
	box-sizing: border-box;
	min-height: 230px;
	overflow: hidden;
	padding: 16px;
	color: #ffffff;
	text-align: left;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 8px;
	box-shadow: 0px 10px 22px rgba(0, 0, 0, 0.32);
	filter: drop-shadow(0px 3px 3px #000000);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.2));
	pointer-events: none;
}

.app-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.58);
	box-shadow: 0px 14px 26px rgba(0, 0, 0, 0.38);
}

.app-card-frog {
	background: linear-gradient(135deg, #16392f 0%, #20351d 54%, #382814 100%);
}

.app-card-muse {
	background: linear-gradient(135deg, #172034 0%, #292238 55%, #43201d 100%);
}

.app-card-content,
.phone-preview {
	position: relative;
	z-index: 1;
}

.app-card-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.app-card-header {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	margin-bottom: 12px;
}

.app-icon {
	width: 58px;
	height: 58px;
	border-radius: 13px;
	box-shadow: 0px 5px 14px rgba(0, 0, 0, 0.4);
}

.app-label {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.1;
	color: rgba(255, 255, 255, 0.72);
}

.app-card h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.05;
	overflow-wrap: break-word;
}

.app-card p {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.9);
}

.app-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	margin-bottom: 14px;
}

.app-tags span {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0 9px;
	font-size: 12px;
	font-weight: 700;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
}

.app-store-button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	box-sizing: border-box;
	width: 176px;
	min-height: 50px;
	padding: 7px 15px 8px;
	color: #ffffff;
	background: #050505;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 8px;
	box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.18), 0px 5px 12px rgba(0, 0, 0, 0.3);
}

.app-store-icon {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	margin-left: auto;
	fill: currentColor;
}

.app-store-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-width: 0;
}

.app-store-copy span {
	font-size: 10px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.78);
}

.app-store-copy strong {
	margin-top: 3px;
	font-size: 20px;
	line-height: 1;
}

.phone-preview {
	align-self: center;
	justify-self: end;
	width: 145px;
	height: 215px;
	overflow: hidden;
	border: 3px solid rgba(255, 255, 255, 0.42);
	border-radius: 18px;
	background: rgba(0, 0, 0, 0.45);
	box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.5);
}

.screenshot-track {
	display: flex;
	width: 500%;
	height: 100%;
	animation: screenshot-reel 45s infinite;
	will-change: transform;
}

.screenshot-track img {
	display: block;
	flex: 0 0 20%;
	width: 20%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.app-card-muse .screenshot-track img {
	object-position: top center;
}

@keyframes screenshot-reel {
	0%, 16% {
		transform: translateX(0);
	}
	20%, 36% {
		transform: translateX(-20%);
	}
	40%, 56% {
		transform: translateX(-40%);
	}
	60%, 76% {
		transform: translateX(-60%);
	}
	80%, 100% {
		transform: translateX(-80%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.screenshot-track {
		animation: none;
	}
}

.button {
position: relative;
text-align: center;
max-width: 560px;
margin: auto;
margin-top: 5%;
display: block;
align-items: center;
justify-content: center;
gap: 0.4em;
}

.button-link {
	width: 100%;
	filter: drop-shadow(0px 3px 3px #000000);
	transition: 0.2s;
	display: block;
	margin-bottom: 10%;
}

.button-link:hover {
	transform: scale(1.03);
	transition: 0.2s;
}



.section-title {
	position: relative;
    width: 250px;          /* Set to 100% to fill the main content area */
    height: 100px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 24px;
    margin: auto;
	margin-bottom:20px;
    border-radius: 5px;    /* Optional: smooth the edges slightly */
    overflow: hidden;
	background-color: #171717;
	transform: translateZ(0);
	backface-visibility: hidden;
	isolation: isolate;
}

.section-title::before {
	content: "";
	position: absolute;
	inset: -2px;
	background-image: url("images/earthboundbattlesquiggle-soft.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.5;
	transform: scale(1.03);
	z-index: -1;
}

/* Responsive Design */
@media (max-width: 600px) {
	main {
		box-sizing: border-box;
		overflow-x: hidden;
		padding: 34px 14px 0px 14px;
	}

	.profile-links .resume-button {
		max-width: 275px;
	}

	.section-title {
		width: 250px;          /* Set to 100% to fill the main content area */
		height: 50px;
		color: white;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		font-size: 24px;
		margin: auto;
		margin-top:40px;
		margin-bottom:20px;
		border-radius: 5px;    /* Optional: smooth the edges slightly */
		overflow: hidden;
	}


	main > .art {
	position: relative;
	text-align: center;
	max-width: 100%;
	margin-bottom:-20px;
	transform:scale(1.2)
	}

	.app-grid {
		width: 100%;
		gap: 14px;
	}

	.app-card {
		grid-template-columns: 1fr;
		gap: 12px;
		min-height: 0;
		padding: 14px;
	}

	.app-card-header {
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 11px;
		margin-bottom: 10px;
	}

	.app-icon {
		width: 54px;
		height: 54px;
		border-radius: 12px;
	}

	.app-card h2 {
		font-size: 21px;
	}

	.app-card p {
		margin-bottom: 12px;
		font-size: 13px;
		line-height: 1.3;
	}

	.app-tags {
		gap: 7px;
		margin-bottom: 12px;
	}

	.app-tags span {
		min-height: 24px;
		padding: 0 9px;
		font-size: 11px;
	}

	.app-store-button {
		justify-content: space-between;
		width: 100%;
		min-height: 50px;
		padding: 7px 18px 8px;
	}

	.app-store-icon {
		width: 30px;
		height: 30px;
	}

	.app-store-copy strong {
		font-size: 18px;
	}

	.phone-preview {
		justify-self: center;
		width: 100%;
		height: 220px;
		max-height: none;
		border-width: 2px;
		border-radius: 10px;
	}

	.app-card-frog .screenshot-track img {
		object-position: center center;
	}

	.app-card-muse .phone-preview {
		height: 330px;
		background: rgba(0, 0, 0, 0.58);
	}


}
