@keyframes pulse {
	0% {
		rotate: 6deg
		width: fit-content ;
		height: fit-content;
	}
	10% {
		rotate: 4deg;		
		width: fit-content;
		height: fit-content;
	}
	11% {
		rotate: 5deg;
		width: fit-content;
		height: fit-content;
	}
	40% {
		rotate: 7deg	
		width: fit-content;
		height: fit-content;
	}
	41% {
		rotate: 5deg;
		width: fit-content;
		height: fit-content:;
	}
	70% {
		rotate: 3deg;
		width: fit-content;
		height: fit-content;
	}
	71% {
		rotate: 5deg;
		width: fit-content;
		height: fit-content;
	}
	100% {
		rotate: 5deg;
		width: fit-content;
		height: fit-content;
	}
}

@keyframes bg {
	0% {
		background-size: 100%;
	}
	50% {
		background-size: 120%;
	}
	100% {
		background-size: 100%;
	}
}

html {
	color: black;
	font-weight: 700;
	animation: bg 9s infinite linear;
	background-image: url(./media/cavemouth.png);
	background-position: center;
	background-size: ;
	background-attachment: fixed;
	text-align: center;
	margin: auto;
	font-family: 'Courier New', Courier, monospace;
}

body {
	width: 40vw;
	position: absolute;
	margin: auto;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

main {
	rotate: 5deg;
	animation: pulse .5s infinite linear;
	padding: 15px;
	height: fit-content;
	margin: 7vh auto;
}

p {
	color: rgba(200, 0, 0, 1.0);
	font-size: 22px;
	padding: 20px;
	border-radius: 3vw;
	rotate: -16deg;
	--shadow-color: black;
	text-shadow: 2px 0 var(--shadow-color), -2px 0 var(--shadow-color), 0 2px var(--shadow-color), 0 -2px var(--shadow-color),
             1px 1px var(--shadow-color), -1px -1px var(--shadow-color), 1px -1px var(--shadow-color), -1px 1px var(--shadow-color);
}

h1 {
	color: rgba(200, 0, 0, 1.0);
	font-size: 36px;
	padding: 20px;
	border-radius: 3vw;
	rotate: -12deg;
	--shadow-color: black;
	text-shadow: 2px 0 var(--shadow-color), -2px 0 var(--shadow-color), 0 2px var(--shadow-color), 0 -2px var(--shadow-color),
             1px 1px var(--shadow-color), -1px -1px var(--shadow-color), 1px -1px var(--shadow-color), -1px 1px var(--shadow-color);
}

#bottom {
	font-size: 24px;
	padding: 20px;
	border-radius: 3vw;
	rotate: -12deg;
	color: rgba(200, 0, 0, 1.0);
	--shadow-color: black;
	text-shadow: 2px 0 var(--shadow-color), -2px 0 var(--shadow-color), 0 2px var(--shadow-color), 0 -2px var(--shadow-color),
             1px 1px var(--shadow-color), -1px -1px var(--shadow-color), 1px -1px var(--shadow-color), -1px 1px var(--shadow-color);
}

img {
	width: 200px;
	margin: 30px 0px;
}
