body {
	margin: 0;
	background-color: var(--green-1);
	font-family: "Comic Fixed", sans-serif;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	align-items: center;
	min-height: 100vh;
	transition: background-color 1.5s;
	/* Smooth transition */
}
::selection {
  background-color: #3c6e40;
  color: white;
  text-shadow: 1px 1px 3px rgba(183, 228, 199, 0.5);
}

@font-face {
    font-family: 'Comic Fixed'; /* Choose a name for your font */
    src: url('./ComicFixed-Regular.otf') format('opentype'); /* Specify the path and format */
    font-weight: normal; /* Define weight and style if needed */
    font-style: normal;
}


/* autum theme:root{
      --green-1:#030303;
      --green-2:#fbb854;
      --green-3:#a25910;
      --panel:#ffa724;
      --panel-2:#e68200;
    } */
:root {
	--green-1: #b7e4c7;
	--green-2: #5a9e67;
	--green-3: #3c6e40;
	--green-4: #8fb79a;
	--panel: #ffffff;
	--panel-2: #e3f3e8;
}


/*:root{
      --green-1:#b7e4d8; 
      --green-2:#90D5FF;
      --green-3:#0468a5;
      --panel:#ffffff;
      --panel-2:#e3f3e8;
    }*/

/*:root{
      --green-1:#0f1724;
      --green-2:#60a5fa;
      --green-3:#60a5fa;
      --panel:#0b1220;
      --panel-2:#60a5fa;
    }
    */

* {
	box-sizing: border-box
}
/* Header */
#header {
	width: 100%;
	background-color: var(--green-2);
	color: white;
	padding: 12px 16px;
	font-size: 18px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	user-select: none;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	position: sticky;
	top: 0;
	z-index: 10;
}

#header a {
	color: inherit;
	text-decoration: none;
}

#header-right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
}


/* The loading screen covers the entire page */
#loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.9);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
#loading-screen-text {
	font-size: 25px;
	padding-top: 10px;
	position: absolute;
}




/* style the image ( can set the size) */
#loading-image {
	width: 850px;
	/*     size of the image */
	height: auto;
}


.loading {
	font-size: 1.2em;
	color: #007BFF;
}

footerimage {
	height: 50px;
	width: 50px;
	float: left;
	margin-left: 100px;
}

footer {
	height: 400px;
	background: var(--green-3);
	width: 100%;
	color: white;
	text-align: center;
	padding: 30px;
}



button {
	display: inline-block;
	background: var(--green-2);
	color: #fff;
	padding: 6px 12px;
	border-radius: 8px;
	cursor: wait;
	font-size: 14px;
	font-family: "Comic Fixed"; // Comic Fixed
	transition: background 0.2s;
}

/* Fancy text */
.rainbow-text {
	background-image: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet, red);
	background-size: 400% 100%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: rainbowShift 6s linear infinite;
}

@keyframes rainbowShift {
	0% {
		background-position: 0% 50%
	}

	100% {
		background-position: 100% 50%
	}
}

.gold-text {
	background-image: linear-gradient(90deg, #b8860b, #ffd700, #fffacd, #ffd700, #b8860b);
	background-size: 300% 100%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: goldShift 4s ease-in-out infinite;
}

@keyframes goldShift {
	0% {
		background-position: 0% 50%
	}

	50% {
		background-position: 100% 50%
	}

	100% {
		background-position: 0% 50%
	}
}
 #panel {
      width: 550px;
      margin: 12px 0 30px;
      padding: 15px 20px;
      background: var(--panel);
      border-radius: 12px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      display: flex; flex-direction: column; align-items: center;
      transition: background-color 1.5s;
    }
.gren-text {
	background-image: linear-gradient(90deg, #0bb80b, #00ff11, #cdffd4, #09ff00, #1fb80b);
	background-size: 300% 100%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: grenShift 4s ease-in-out infinite;
}

@keyframes grenShift {
	0% {
		background-position: 0% 50%
	}

	50% {
		background-position: 100% 50%
	}

	100% {
		background-position: 0% 50%
	}
}
