:root {
    --theme-color: #00AEEF;  /* A nice blue */
    --accent-color: yellow; /* Orange for accents */
}

body {
	margin: 0;
	background-image: url('../images/bg_tetris_light.gif');
	background-blend-mode: multiply;
	background-color: rgba(0, 0, 0, 0); /* Adjust the opacity as needed */
}

.exo-2-navigation {
  font-family: "Exo 2", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.gameTitle {
	font-family: "Exo 2", serif;
	font-size: 48px;
	font-weight: bold;
	color: var(--theme-color);
	text-shadow: 1px 1px White;
	padding: 14px;
}

.swf-container {
	color: Black;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	margin: 0px 0px 40px 0px;
}

ul.topnav {
	list-style-type: none;
	padding: 0;
	overflow: hidden;
	box-shadow: 0px 5px var(--theme-color);
	background-color: black;
}

ul.topnav li {
	margin: 10px 0px 0px 0px;
	font-family: "Exo 2", serif;
	float: right;
}

ul.topnav li a {
	display: block;
	border-radius: 6px 6px 0px 0px;
	color: #CCCCCC;
	text-align: center;
	padding: 10px 16px;
	margin: 0px 2px 0px 2px;
	text-decoration: none;
}

ul.topnav li:not(.logo) a:hover {
	color: white;
	background-color: #3B3B3B;
}

#gold_yard .gold_yard, #pharaohs_tomb .pharaohs_tomb, #piranhas .piranhas, #alphattack .alphattack, #acid_factory .acid_factory, #candy_and_clyde .candy_and_clyde, #g_4444 .g_4444
{
	background-color: var(--theme-color);
	color: white;
}

ul.topnav li.logo {
	transform: translate(0px, -5px);
	float: left;
}

.image-nav {
	background-color: rgba(0, 0, 0, 1);
	border-top: 5px solid var(--theme-color);
	border-bottom: 5px solid var(--theme-color);
	padding: 20px 1% 40px;
}

.image-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
}

.image-nav ul li {
	margin: 0 1%;
}

.image-nav ul li a {
	width: 66%;
	height: 66%;
	align-items: center;
	position: relative; /* Ensure the tooltip aligns with the image */
}

.image-nav ul li a img {
	width: 100%;
	height: auto;
	border: 3px solid DarkGray;
	border-radius: 8px;
	filter: brightness(0.8);
	transition: transform 0.3s ease;
}

.image-nav img {
	transition: filter 0.3s ease;
}

.image-nav ul li a:hover img {
	border: 3px solid White;
	filter: brightness(1);
	transform: scale(1.1);
}

#gold_yard .b_goldyard, #pharaohs_tomb .b_pharaohs, #piranhas .b_piranhas, #alphattack .b_alphattack, #acid_factory .b_acid, #candy_and_clyde .b_candy, #g_4444 .b_4444
{
	border: 4px solid var(--theme-color);
	filter: brightness(1.2);
	transform: scale(1.1);
	box-shadow: 0 0 10px rgba(0, 255, 255, 1);
}

.image-nav ul li .tooltip { 
	visibility: hidden;
	font-family: "Exo 2", serif;
	font-size: 18px;
	font-weight: bold;
	color: var(--theme-color);
	position: absolute;
	opacity: 0;
	top: 7px;
	left: 50%;
	transform: translate(-50%, 0%);
	transition: opacity 0.3s ease;
	transition: top 0.3s ease;
}

.image-nav ul li:hover .tooltip {
	visibility: visible;
	opacity: 1;
	top: 25px;
}

@media screen and (max-width: 600px) {
  ul.topnav li.logo, 
  ul.topnav li {float: none;}
}
.Image_IconButton {
	vertical-align:middle;
	margin:0px 0px 0px 20px;
	width: 30px;
	height: 30px;
}

.button {
	background-color: #d91a1a;
	border: 3px solid #ff6105;
	border-radius: 8px;
	color: white;
	padding: 6px 24px 6px 24px;
	font-family: "Exo 2", serif;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 24px;
	margin: -14px 0px 24px 0px;
	cursor: pointer;
	transition-duration: 0.15s;
	box-shadow: 0 5px #333333;
}
.button:hover {
	background-color: #ff6105;
	border: 3px solid white;
	box-shadow: 0 5px #555555;
}

.button:active {
	box-shadow: 0 0px #555555;
	transform: translateY(4px);
}