@import url("https://fonts.googleapis.com/css2?family=Geist+Pixel&display=swap");

body {
	margin: 0;
	display: flex;

	justify-content: center;
	flex-direction: column;
	align-items: center;

	background-color: hsl(209, 40%, 31%);
	font-family: "Comic Sans MS", "Comic Sans";
}
.container {
	display: flex;

	height: 100vh;
	width: 40vw;

	justify-content: center;
	flex-direction: column;
	align-items: center;
}

h1 {
	color: rgb(149, 183, 235);
	font-size: 4rem;
	margin: 0;
	margin-bottom: 1rem;
}

.cold {
	align-self: flex-start;
	color: rgb(149, 183, 235);
	margin: 0;
	font-size: 1.1rem;
}

.image {
	position: relative;
	display: block;

	height: 20rem;
	margin-block: 5rem;
}

.image img {
	position: absolute;
	top: 0;
	left: 0;

	transform: translateX(-10rem);

	width: 20rem;
	height: 20rem;
	animation: wobodobo2 2s ease-in-out;
	animation-iteration-count: infinite;
}

.image .arctic {
	opacity: 0.5;
	z-index: 2;
}

.image .monkey {
	z-index: 1;
}

.construction {
	font-family: "Geist Pixel";
	color: rgb(153, 176, 211);
	font-weight: bold;
	font-size: 1.4rem;
}

@keyframes wobodobo {
	0% {
		transform: translateX(-10rem) scaleX(1) scaleY(1);
	}
	25% {
		transform: translateX(-10rem) scaleX(0.5) scaleY(1.5);
	}
	75% {
		transform: translateX(-10rem) scaleX(1.5) scaleY(0.5);
	}
	100% {
		transform: translateX(-10rem) scaleX(1) scaleY(1);
	}
}

@keyframes wobodobo2 {
	0% {
		transform: translateX(-10rem) scaleX(0.5) scaleY(1.5);
	}
	50% {
		transform: translateX(-10rem) scaleX(1.5) scaleY(0.5);
	}
	100% {
		transform: translateX(-10rem) scaleX(0.5) scaleY(1.5);
	}
}
