*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	height: 100%;
	overflow: hidden;
}

body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: #0a0a0a;
	color: #111;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.rainbow {
	position: fixed;
	inset: -25%;
	overflow: hidden;
	background: #f5f5f5;
	animation: rainbow-shift 90s ease-in-out infinite;
}

.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.85;
	will-change: transform;
}

.blob-1 {
	width: 55vw;
	height: 55vw;
	top: -10%;
	left: -5%;
	background: radial-gradient(circle, #ff6b6b 0%, transparent 70%);
	animation: drift-1 68s ease-in-out infinite;
}

.blob-2 {
	width: 50vw;
	height: 50vw;
	top: 20%;
	right: -10%;
	background: radial-gradient(circle, #ffd93d 0%, transparent 70%);
	animation: drift-2 74s ease-in-out infinite;
}

.blob-3 {
	width: 60vw;
	height: 60vw;
	bottom: -15%;
	left: 15%;
	background: radial-gradient(circle, #6bcb77 0%, transparent 70%);
	animation: drift-3 80s ease-in-out infinite;
}

.blob-4 {
	width: 45vw;
	height: 45vw;
	top: 35%;
	left: 30%;
	background: radial-gradient(circle, #4d96ff 0%, transparent 70%);
	animation: drift-4 86s ease-in-out infinite;
}

.blob-5 {
	width: 52vw;
	height: 52vw;
	bottom: 5%;
	right: 10%;
	background: radial-gradient(circle, #c77dff 0%, transparent 70%);
	animation: drift-5 92s ease-in-out infinite;
}

@keyframes rainbow-shift {
	0%, 100% { transform: scale(1) rotate(0deg); }
	50% { transform: scale(1.06) rotate(2deg); }
}

@keyframes drift-1 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(12vw, 8vh) scale(1.08); }
	66% { transform: translate(-6vw, 14vh) scale(0.94); }
}

@keyframes drift-2 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(-14vw, 10vh) scale(1.1); }
	66% { transform: translate(8vw, -8vh) scale(0.92); }
}

@keyframes drift-3 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(10vw, -12vh) scale(0.96); }
	66% { transform: translate(-10vw, 6vh) scale(1.06); }
}

@keyframes drift-4 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(-8vw, -10vh) scale(1.04); }
	66% { transform: translate(14vw, 8vh) scale(0.98); }
}

@keyframes drift-5 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(-12vw, 6vh) scale(1.08); }
	66% { transform: translate(6vw, -14vh) scale(0.9); }
}

main {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 2rem;
}

.name {
	line-height: 0;
	text-align: center;
	cursor: default;
	touch-action: none;
}

#name-canvas {
	display: block;
	touch-action: none;
}

@media (prefers-reduced-motion: reduce) {
	.rainbow,
	.blob {
		animation: none;
	}
}
