.flappy-game
{
	position: relative;
	
	width: 300px;
	height: 300px;
	
	.flappy-pre-game
	{
		/* border: 2px solid #eeeeee; */
		
		width: 100%;
		height: 100%;
		
		img
		{
			width: 100%;
			
			position: absolute;
			
			top: 50%;
			left: 50%;
			
			transform: translate(-50%, -50%);
		}
	}
	
	.flappy-in-game
	{
		position: relative;
		
		border: 2px solid black;
		
		width: 100%;
		height: 100%;
		
		overflow: hidden;
		
		.flappy-character
		{
			position: absolute;
			
			top: 0%;
			left: 0%;
			
			width: 10%;
			height: 10%;
			
			background-color: transparent;
			
			z-index: 50;
			
			.logo
			{
				width: 100%;
				height: 100%;
				
				position: absolute;
				
				top: 50%;
				left: 50%;
				
				transform: translate(-50%, -50%);
				
				user-select: none;
			}
			
			.wing-right
			{
				width: 80%;
				height: 80%;
				
				position: absolute;
				
				top: 30%;
				left: 105%;
				
				transform: translate(-50%, -50%);
				
				opacity: 15%;
				
				transform-origin: -10% 25%;
			}
			
			.wing-left
			{
				width: 80%;
				height: 80%;
				
				position: absolute;
				
				top: 30%;
				left: -5%;
				
				transform: translate(-50%, -50%);
				
				opacity: 15%;
				
				transform-origin: 10% 25%;
			}
			
			.flappy-character-hitbox
			{
				position: absolute;
				
				top: 50%;
				left: 50%;
				
				transform: translate(-50%, -50%);
				
				width: 60%;
				height: 100%;
			}
		}
		
		.wall
		{
			position: absolute;
			
			border: 2px solid black;
			background-color: white;
			
			&.wall-top
			{
				border-top: none;
			}
			
			&.wall-btm
			{
				border-bottom: none;
			}
			
			z-index: 25;
		}
		
		.building
		{
			position: absolute;
			
			background-color: #eeeeee;
			
			z-index: 5;
		}
		
		.flappy-game-over
		{
			position: absolute;
			
			top: 50%;
			left: 50%;
			
			transform: translate(-50%, -50%);
			
			margin: 0px;
			
			user-select: none;
			
			font-family: "Lucida Console", monospace;
			
			z-index: 60;
		}
		
		.flappy-leaderboard
		{
			position: absolute;
			
			top: 50%;
			left: 50%;
			
			padding: 6px;
			
			transform: translate(-50%, -50%);
			
			margin: 0px;
			
			user-select: none;
			
			width: 200px;
			
			font-family: "Lucida Console", monospace;
			font-size: 12px;
			
			background-color: rgba(255, 255, 255, 0.9);
			border: 1px solid #acacac;
			
			z-index: 100;
		}
		
		.flappy-score
		{
			position: absolute;
			
			top: 10px;
			right: 10px;
			
			margin: 0px;
			
			user-select: none;
			
			font-family: "Lucida Console", monospace;
			
			z-index: 60;
		}
	}
}