body {
    font-family: Arial, sans-serif;
    margin: 20px 0 0 0;
    padding: 0;
    background-color: #000; /* Black background color */
	background-repeat: repeat; 
}

.background1 { 	background-image:url(background1.png); }
.background2 { 	background-image:url(background2.png); }

.menu-bar {
	height: 20px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
}

.menu-bar a {
	color: white;
	text-decoration: none;
	margin-left: 10px;
        }
		
.menu-bar button {
	height: 100%;
	margin: 0 6px 0 6px;
	background-color: white;
	color: black;
	border: 1px solid black;
	border-top-width: 0;
	padding: 0 10px 0 10px;
	border-radius: 0;
	cursor: pointer;
	width: 120px;
}

.menu-bar .widebutton{ width: 177px; }
.red { background-color: #990000; }
.yellow { background-color: #edb85e; }
.black{ background-color: #07080a; }
.brown{ background-color: #28241f; }

.menu-bar .off{ color: #aaaaaa; }

.results {
	display: none;
}

.login-container {
    position: fixed;
    top: 20px; /* Adjust the distance from the top based on your preference */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
	flex-direction: column;
    width: 222px;
    align-items: center;
    margin: 0 auto;
}

.login-container form{
	margin-top: 15px;
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}

.login-container input {
    margin: 0 0 15px 0; /* Adjust the margin as needed */
    box-sizing: border-box;
	border: 1px solid black;
	border-radius: 0;
	width: 177px;
	height: 20px;
	text-align: center;
	color: black;
	outline: none;
}

input::placeholder {
    color: #990000; /* Set the placeholder text color to black */
}

input:focus::placeholder {
    color: transparent;
}
	  
.login-container button {
    margin: 0 0 15px 0; /* Adjust the margin as needed */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
	height: 20px;
	background-color: white;
	color: black;
	border: 1px solid black;
	padding: 0 10px 0 10px;
	border-radius: 0;
	cursor: pointer;
	width: 177px;
}

.gallery {
	position:relative;
    display: flex;
	max-width: 666px;
    flex-wrap: wrap;
    gap: 5px; /* Reduce the gap between images to 5px in both horizontal and vertical directions */
    padding: 10px 10px 30px 10px;
    /* justify-content: space-between; /* Distribute images evenly */
	justify-content: center;
	margin: 0 auto;
	color: white;
}

.image {
    flex-basis: auto; /* Allow images to occupy their actual width */
    position: relative; /* Add this to allow for text positioning */
}

.image img {
    width: auto; /* Display images at their actual size */
    height: auto; /* Maintain aspect ratio */
    cursor: pointer;
    opacity: 0.75; /* Start with a slightly darker opacity */
    transition: opacity 0.3s; /* Add a smooth transition for the opacity change */
}

.image img:hover {
    opacity: 1; /* Change opacity to 1 when hovered to restore normal color */
}

.image span {
    position: absolute;
    bottom: 5px; /* Adjust as needed to position the text */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-weight: bold;
    padding: 5px;
    border-radius: 5px;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    /* Remove display: flex; property to center horizontally only */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    overflow: auto;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    background: #000; /* Set the same background color as the main page */
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.lightbox-text {
    color: #fff;
    font-weight: bold;
    margin-top: 10px;
	white-space: nowrap;
	display: inline;
}

.buttons-container {
	margin-top: 10px;
}

.buttons-container button {
	margin: 6px 16px 6px 16px;
	padding: 8px 16px;
	font-size: 12px;
	background-color: #007BFF;
	color: #fff;
	border: none;
	cursor: pointer;
	width: 110px;
}

.botSaver {
	position: fixed;
	background-color: black; /* Set the background color to black */
	border: 2px solid gold; /* Set the border to a solid gold color */
	display: none; /* Initially hide the div */
	z-index: 2;
	background-image:url(background-mini.png);
	background-repeat: repeat; 
}

.botSaver button{
	margin:30px;
	padding:15px;
	width:150px;
	background-color: black;
	color: gold;
	border: 1px solid black;
	border-radius: 0;
	cursor: pointer;
}

.mydemons {
	width: 100%;
	margin: 2px 0 10px 0;
	justify-content: center;
	text-align: center;
	font-size: 10pt;
}

.leaderboard {
	font-size: 10pt;
	line-height: 14pt;
}

.leaderboard b { color: #edb85e; }