/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Apply font and colors */
body {
    font-family: Arial, sans-serif;
    background-color: black; /* Solid black background */
    color: white;
}

/* Header styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7); /* Darker shadow for depth */
}

.logo {
    flex: 1;
}

.banner {
    flex: 2;
    text-align: right;
}

/* Menu Bar styles */
.menu-bar {
    background-color: #10065A; /* Solid blue */
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); /* Subtle shadow */
}

.menu-bar ul {
    list-style-type: none;
}

.menu-bar li {
    display: inline-block;
    margin: 0 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.menu-bar a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.menu-bar a:hover {
    color: #FFD700; /* Gold */
    transform: scale(1.1); /* Slight zoom effect */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.menu-bar li:nth-child(1) {
    animation-delay: 0.1s;
}
.menu-bar li:nth-child(2) {
    animation-delay: 0.2s;
}
.menu-bar li:nth-child(3) {
    animation-delay: 0.3s;
}
.menu-bar li:nth-child(4) {
    animation-delay: 0.4s;
}

/* Main Body Layout */
.main-body {
    display: grid;
    grid-template-columns: 18% 1fr 18%;
    gap: 20px;
    padding: 20px;
}

.news { color: #999; font-style: italic; font-weight: bold; margin-bottom: 10px; }
.newssubject { font-weight: bold; margin-bottom: 5px; }
#chatronews { margin: 10px 0 0 15px; padding-left: 15px; }

/* Left and Right Columns */
.left-column,
.right-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.left-section, .right-section {
    background-color: #333;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.left-section:not(:last-child), .right-section:not(:last-child) {
    border-bottom: 2px solid #444;
}

#ad300 {margin-left: 6px; }

/* Main Content Area */
.main-section {
    background-color: #222;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Footer Section */
.footer {
    text-align: center;
    padding: 20px;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    position: relative;
    padding-bottom: 3px;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #FFD700;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.footer-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.footer-copyright {
    margin-top: 10px;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        margin-bottom: 10px;
    }

    .banner {
        text-align: center;
    }

    .menu-bar ul {
        padding: 0;
    }

    .menu-bar li {
        display: block;
        margin: 10px 0;
    }

    .main-body {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .left-column, .right-column {
        flex-direction: row;
        gap: 10px;
    }

    .left-section, .right-section {
        flex: 1;
    }
}

.top10 {
	font-weight: bold;
}
.top10, #hour, {
	text-align: center;
	margin-bottom: 5px;
}

p { padding-top: 10px; }
.rightmember { padding-bottom: 10px; }


.center {
	text-align: center;
}

.custom-table {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0px;
	margin-left: auto;
	margin-right: auto;
	width: 30%;
	text-align: center;
}
.custom-table div {
	padding: 5px;
	border: 1px solid #ccc;
	text-align: center;
}
.custom-header {
	font--family: Arial;
	font-weight: bold;
	background-color: #f4f4f4;
	color: #000;
}

.server-container {
	margin-top: 10px;
	width: 250px;
	height: 250px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 5px;
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.server-row {
	display: flex;
	justify-content: space-between;
	font-size: 16px;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.server-name {
	font-weight: bold;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.status {
	font-weight: bold;
}

.active {
	color: green;
}

.inactive {
	color: red;
}