/* 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: #6a5acd;
	--color-main-hue-95: #edebf9;
	--color-main-hue-85: #cac4ed;
	--color-main-hue-35: #372a89;
	--color-main-hue-30: #2f2475;
	--color-main-hue-15: #17123b;

	--font-family-stand-out: "Kaushan Script", cursive;

}

body 
{
	font-family:"Kalam", cursive;
	font-size: 36px;
}

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);
	height: 700px;
}

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(auto, auto);
	grid-template-rows: repeat(1, 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%;
	box-sizing: border-box;
	padding-top: 20px;
	text-align: center;
}

.level03-1-img, .level03-2-img
{
	display: inline-block;
	width: 80%;
}

.message
{
	border: 5px outset var(--color-main-hue-15);
}

.circles01, .circles02 .circles03
{
	position: relative;
	z-index: 110;
	color: black;
	font-size: 72px;
}

.circles01-1
{
	width: 75px;
	height: 75px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 75px;
	left: 125px;
	transform: rotate(70deg);
	z-index: 100;
	animation: move-stuff-1 14s ease-in-out infinite;
}

.circles01-2
{
	width: 85px;
	height: 85px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 150px;
	left: 250px;
	transform: rotate(180deg);
	z-index: 90;
	animation: move-stuff-2 16s ease-in-out infinite;
}

.circles01-3
{
	width: 65px;
	height: 65px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 225px;
	left: 15px;
	transform: rotate(-90deg);
	z-index: 80;
	animation: move-stuff-3 15s ease-in-out infinite;
}

.circles01-4
{
	width: 75px;
	height: 75px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 375px;
	left: 135px;
	transform: rotate(70deg);
	z-index: 100;
	animation: move-stuff-1 14s ease-in-out infinite;
}

.circles01-5
{
	width: 85px;
	height: 85px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 450px;
	left: 260px;
	transform: rotate(180deg);
	z-index: 90;
	animation: move-stuff-2 16s ease-in-out infinite;
}

.circles01-6
{
	width: 65px;
	height: 65px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 525px;
	left: 25px;
	transform: rotate(-90deg);
	z-index: 80;
	animation: move-stuff-3 15s ease-in-out infinite;
}


.circles02-1
{
	width: 120px;
	height: 120px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 250px;
	left: 625px;
	transform: rotate(70deg);
	z-index: 100;
	animation: move-stuff-1 14s ease-in-out infinite;
}

.circles02-2
{
	width: 110px;
	height: 110px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 225px;
	left: 800px;
	transform: rotate(180deg);
	z-index: 90;
	animation: move-stuff-2 16s ease-in-out infinite;
}

.circles02-3
{
	width: 95px;
	height: 95px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 200px;
	left: 500px;
	transform: rotate(-90deg);
	z-index: 80;
	animation: move-stuff-3 15s ease-in-out infinite;
}

.circles02-4
{
	width: 105px;
	height: 105px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 525px;
	left: 500px;
	transform: rotate(70deg);
	z-index: 100;
	animation: move-stuff-1 14s ease-in-out infinite;
}

.circles02-5
{
	width: 115px;
	height: 115px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 450px;
	left: 760px;
	transform: rotate(180deg);
	z-index: 90;
	animation: move-stuff-2 16s ease-in-out infinite;
}

.circles02-6
{
	width: 65px;
	height: 65px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 375px;
	left: 525px;
	transform: rotate(-90deg);
	z-index: 80;
	animation: move-stuff-3 15s ease-in-out infinite;
}


.circles03-1
{
	width: 90px;
	height: 90px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 75px;
	left: 1325px;
	transform: rotate(70deg);
	z-index: 100;
	animation: move-stuff-1 14s ease-in-out infinite;
}

.circles03-2
{
	width: 100px;
	height: 100px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 150px;
	left: 1250px;
	transform: rotate(180deg);
	z-index: 90;
	animation: move-stuff-2 16s ease-in-out infinite;
}

.circles03-3
{
	width: 80px;
	height: 80px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 225px;
	left: 1015px;
	transform: rotate(-90deg);
	z-index: 80;
	animation: move-stuff-3 15s ease-in-out infinite;
}

.circles03-4
{
	width: 90px;
	height: 90px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 375px;
	left: 1135px;
	transform: rotate(70deg);
	z-index: 100;
	animation: move-stuff-1 14s ease-in-out infinite;
}

.circles03-5
{
	width: 100px;
	height: 100px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 450px;
	left: 1260px;
	transform: rotate(180deg);
	z-index: 90;
	animation: move-stuff-2 16s ease-in-out infinite;
}

.circles03-6
{
	width: 80px;
	height: 80px;
	background-image: linear-gradient(to bottom, #fffbe6, #ffd700);
	border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
	position: absolute;
	top: 525px;
	left: 1025px;
	transform: rotate(-90deg);
	z-index: 80;
	animation: move-stuff-3 15s ease-in-out infinite;
}


.level01, .level02, .level03, .grid-content, .level03-1, .level03-1-img, .level03-2, .level03-1-img, .circles, .circles01, .circles01b, .circles02, .circles03
{
	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
	{
	}
}

@media (max-width: 1050px)
{
	div.grid-content div
	{
	}
}

@media (max-width: 900px)
{
	div.grid-content div
	{
	}
}

@media (max-width: 750px)
{
	div.grid-content div
	{
		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
	{
		padding-top: 5px;
	}
	
	.level03-1-img, .level03-2-img
	{
		display: inline-block;
		width: 50%;
	}
	
}
