/* CSS */
@import url('https://fonts.googleapis.com/css2?family=Annie+Use+Your+Telescope&family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Covered+By+Your+Grace&family=Kalam:wght@300;400;700&family=Kaushan+Script&family=Loved+by+the+King&family=Merienda:wght@300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Permanent+Marker&family=Rock+Salt&display=swap');
* {margin: 0; padding: 0; box-sizing: border=box;}

/*
Google fonts
	Annie Use Your Telescope
	Chakra Petch
	Covered By Your Grace
	Kalam
	Kaushan Script
	Loved by the King
	Merienda
	Montserrat
	Permanent Marker
	Rock Salt
*/

html
{
	--color-main: maroon;
	--color-main-hue-95: #ffe6e6;
	--color-main-hue-85: #ffb3b3;
	--color-main-hue-35: #b30000;
	--color-main-hue-30: #990000;
	--color-main-hue-15: #4d0000;

	--color-main-hover: #DCD8F3;
	--color-main-hue-30: #2f2475;
	--color-main-splt-comp-1: #CCAF5A;
	--color-main-splt-comp-1-hover: #E1D09D;
	--color-main-splt-comp-1-hue-90: #F3ECD8;
	--font-family-stand-out: "Kaushan Script", cursive;

}

body 
{
	max-width: 1300px;
}
body.level01
{
	background-color: var(--color-main);
	border: 20px outset var(--color-main-hue-85);
	box-sizing: border-box;

}

div.level02
{
	background-color: var(--color-main-hue-85);
	display: block;
	justify-content: center;
	border: 5px outset var(--color-main-hue-95);

}

div.level03
{
	background-image: linear-gradient(to bottom, var(--color-main-hue-85), var(--color-main-hue-95));
	border: 5px ridge var(--color-main-hue-85);
	height: 100%;
	box-sizing: border-box;
	width: 100%;
	position: relative;
}

div.grid-content
{
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* function repeat */
	grid-auto-rows: minmax(200px, auto);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	grid-gap: 10px; /* same as grid-column-gap and grid-row-gap */
}

div.grid-content div
{
	width: 100%;
	font-size: 26px;
	box-sizing: border-box;
	padding-top: 20px;
	text-align: center;
}

.level03-1-img, .level03-2-img
{
	display: inline-block;
	width: 80%;
}

.message, .balloons01-1
{
	font-family:"Permanent Marker", cursive;
}

.balloons
{
	position: relative;
	z-index: 110;
}

.balloons01-1
{
	display: block;
	width: 150px;
	height:200px;
	background-image: linear-gradient(to bottom, #ff3333, #cc0000);
	border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
	position: absolute;
	text-align: bottom;
	justify-content: center;
	top: 25%;
	left: 30%;
	z-index: 100;
	animation: move-stuff-1 4s ease-in-out infinite;
	
	color: white;
	font-size: 36px;
}

.balloons01-2
{
	display: block;
	width: 142px;
	height: 190px;
	background-image: linear-gradient(to bottom, #ff99cc, #ff0080);
	border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
	position: absolute;
	text-align: center;
	justify-content: center;
	top: 20%;
	left: 45%;
	transform: rotate(12deg);
	z-index: 90;
	animation: move-stuff-2 6s ease-in-out infinite;
}

.balloons01-3
{
	display: block;
	width: 135px;
	height:180px;
	background-image: linear-gradient(to bottom, #d966ff, #ac00e6);
	border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
	position: absolute;
	text-align: center;
	justify-content: center;
	top: 15%;
	left: 15%;
	transform: rotate(-10deg);
	z-index: 80;
	animation: move-stuff-3 5s ease-in-out infinite;

}

.balloons01-1b
{
	width: 17px;
	border: 15px solid transparent;
	border-left-color: none;
	border-top-color: none;
	border-right-color: none;
	border-bottom-color: purple;
	position: absolute;
	top: 65%;
	left: 30%;
	z-index: 120;
}


.level01, .level02, .level03, .grid-content, .level03-1, .level03-1-img, .message, .level03-2, .level03-1-img, .balloons, .balloons01, .balloons01b, .balloons02, .balloons03
{
	border: 3px solid transparent;
}

@keyframes move-stuff-1
{
	0%, 100% {transform: translateY(0px) rotate(-6deg);}
	50%      {transform: translateY(20px) rotate(8deg);}
}
@keyframes move-stuff-2
{
	0%, 100% {transform: translateY(0px) rotate(7deg);}
	50%      {transform: translateY(17px) rotate(-9deg);}
}
@keyframes move-stuff-3
{
	0%, 100% {transform: translateY(0px) rotate(-8deg);}
	50%      {transform: translateY(23px) rotate(5deg);}
}

@media (max-width: 1200px)
{
	div.grid-content div
	{
		font-size: 23px;
	}
}

@media (max-width: 1050px)
{
	div.grid-content div
	{
		font-size: 20px;
	}
}

@media (max-width: 900px)
{
	div.grid-content div
	{
		font-size: 16px;
	}
}

@media (max-width: 750px)
{
	div.grid-content div
	{
		font-size: 13px;
		padding-top: 15px;
	}
}


@media (max-width: 600px)
{
	div.grid-content
	{
		display: grid;
		grid-template-columns: repeat(1, 1fr); /* function repeat */
		grid-auto-rows: minmax(50px, auto);
		grid-template-rows: repeat(6, 1fr);
		grid-column-gap: 5px;
		grid-row-gap: 5px;
		grid-gap: 5px; /* same as grid-column-gap and grid-row-gap */
	}
	
	div.grid-content div
	{
		font-size: 26px;
		padding-top: 5px;
	}
	
	.level03-1-img, .level03-2-img
	{
		display: inline-block;
		width: 50%;
	}
	
}
