@keyframes changeColor {
	0% { background-color: hsl(0, 85%, 73%); }
	25% { background-color: hsl(72, 85%, 73%); }
	50% { background-color: hsl(144, 85%, 73%); }
	75% { background-color: hsl(216, 85%, 73%); }
	100% { background-color: hsl(359, 85%, 73%); }
}

@keyframes changeTextColor {
	0% { color: hsl(0, 100%, 60%); }
	25% { color: hsl(72, 100%, 60%); }
	50% { color: hsl(144, 100%, 60%); }
	75% { color: hsl(216, 100%, 60%); }
	100% { color: hsl(359, 100%, 60%); }
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

html,body { margin: 0; padding: 0; }
p, small { margin: 0; user-select: none; }
.later { opacity: 0; animation: fadeIn 500ms 6s both; }

body.over { animation: changeColor 1s linear infinite; }
body.over h1 { animation: changeTextColor 1s infinite linear; }

body {
	background-image: url('/img/white_dot_full.webp');
	background-size: 100% auto;
	background-repeat: repeat;
	background-position: 50%;
	background-color: #afafaf;
	background-blend-mode: color-dodge;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	flex-direction: column;
	font-family: Tomorrow;
}

h1 {
	font-size: 5rem;
	user-select: none;
	pointer-events: none;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
	font-family: Tomorrow;
	margin: 0;
}

.floating {
	position: absolute;
	bottom: 30%;
	text-align: center;
}

span.code {
	padding: 4px;
	margin: 2px;
	background: black;
	color: white;
	font-family: monospace;
	font-weight: bold;
	border-radius: 4px;
}

@media screen and (max-width: 767px)
{
	h1 { font-size: 3rem; }
	
	.floating {
		position: relative;
		margin-top: 2rem;
	}
}

#hoverme {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 1px;
	height: 1px;
	background: transparent;
}