/* Font: Chewy by Sideshow under Apache License 2.0 (https://shiroko.cloud/fonts/Chewy/LICENSE.txt) */
@font-face {
	font-family: 'Chewy';
	src: url('fonts/Chewy/Chewy-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

body {
	font-family: "Chewy", system-ui;
	font-size: 1.5rem;
	overflow-x: hidden;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	text-shadow: 0 0 1rem #87CEEB;
	background: linear-gradient(to bottom, #B0E2FF, #87CEEB);
}
body, a {
	color: white;
}

main {
	text-align: center;
}

.logo {
	width: 13rem;
	height: 13rem;
	object-fit: cover;
	object-position: top;
	border-radius: 25%;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	border: 5px solid white;
	animation: bounce 7s ease-in-out infinite;
}

h1 {
	font-size: 4rem;
	color: #1E90FF;
	text-shadow:
		3px 3px 0 #B0E2FF,
		6px 6px 0 rgba(0, 0, 0, 0.1);
	margin-bottom: 10px;
	letter-spacing: 2px;
	animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-1rem); }
}

.contact-items {
	margin-top: 1rem;
}

.contact-item {
	display: inline-block;
	font-size: 1.5rem;
	text-decoration: none;
	padding: 1rem;
	animation: float-text 4s ease-in-out infinite;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-item:hover {
	/*transform: scale(1.15) !important;*/
	text-shadow: 0 0 1rem #44829B;
}

.redirect-icon {
	display: inline;
	width: 1rem;
	height: 1rem;
	filter: invert(1);
	margin-left: 0.1rem;
}

.contact-item:nth-child(2) { animation-delay: 0.5s; }
.contact-item:nth-child(3) { animation-delay: 1s; }
.contact-item:nth-child(4) { animation-delay: 1.5s; }
.contact-item:nth-child(5) { animation-delay: 2s; }

@keyframes float-text {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

.friend-label {
	position: relative;
	display: inline-block;
	top: -1.2rem;
	left: -2rem;
	width: 0;
	white-space: nowrap;
	font-size: 2.5rem;
	transform: rotate(-20deg);
}

.friend-section {
	margin-top: 3rem;
}
.friend-section div {
	display: inline-block;
}

.floating-text span {
	display: inline-block;
	animation: float-letter 6s ease-in-out infinite;
}

@keyframes float-letter {
	0%, 100% {
		transform: translateY(0) rotate(0deg);
	}
	33% {
		transform: translateY(0.3rem) rotate(-4deg);
	}
	66% {
		transform: translateY(-0.2rem) rotate(5deg);
	}
}

/* Stagger the letter animations */
.floating-text span:nth-child(1) { animation-delay: 0s; }
.floating-text span:nth-child(2) { animation-delay: 0.7s; }
.floating-text span:nth-child(3) { animation-delay: 0.3s; }
.floating-text span:nth-child(4) { animation-delay: 1s; }
.floating-text span:nth-child(5) { animation-delay: 0.2s; }
.floating-text span:nth-child(6) { animation-delay: 1.4s; }
.floating-text span:nth-child(7) { animation-delay: 0.5s; }
.floating-text span:nth-child(8) { animation-delay: 0s; }
.floating-text span:nth-child(9) { animation-delay: 0.8s; }
.floating-text span:nth-child(10) { animation-delay: 0s; }
.floating-text span:nth-child(11) { animation-delay: 0.7s; }
.floating-text span:nth-child(12) { animation-delay: 0.3s; }
.floating-text span:nth-child(13) { animation-delay: 1s; }
.floating-text span:nth-child(14) { animation-delay: 0.2s; }
.floating-text span:nth-child(15) { animation-delay: 1.9s; }
.floating-text span:nth-child(16) { animation-delay: 0.5s; }
.floating-text span:nth-child(17) { animation-delay: 0s; }
.floating-text span:nth-child(18) { animation-delay: 0.8s; }
.floating-text span:nth-child(18) { animation-delay: 0; }
.floating-text span:nth-child(20) { animation-delay: 0.4s; }
