.page-title {
    color: #ffcf00; /* Yellow color */
    text-align: center; /* Center the title */
    font-size: 2.5em; /* Adjust font size as needed */
    margin: 20px 0; /* Add some spacing above and below the title */
    font-weight: bold; /* Make the title bold for emphasis */
}

/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2c2f3b; /* Dark theme */
    color: #fff;
}

/* Navbar Styling */
.navbar {
    background-color: #1a1f29; /* Darker header */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Remove the logo styling as it's not needed */
.logo img {
    display: none; /* Ensures the logo isn't shown */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav ul li {
    text-align: center; /* Centers text within the list items */
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s, transform 0.3s, box-shadow 0.3s;
    padding: 10px 15px; /* Add padding for better clickability */
}

/* Hero Section */
.hero {
    background: url('../images/background.jpg') no-repeat center center/cover;
    padding: 30px 20px; /* Adjust padding to move content up */
    text-align: center;
    color: #fff;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.7);
}

.hero h1 {
    color: #ffcf00; /* Accent color */
    font-size: 2.5em;
    margin-top: -20px; /* Move the heading up */
    animation: fadeIn 1s ease-in-out;
}

.hero p {
    font-size: 1.2em;
    animation: slideIn 1s ease-out;
}

/* Table Styling */
.mods-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #1a1f29;
    border-radius: 8px;
    overflow: hidden;
}

.mods-table th, .mods-table td {
    border: 1px solid #444;
    padding: 10px;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
}

.mods-table th {
    background-color: #252c3a; /* Darker header */
    font-size: 1.1em;
}

.mods-table td {
    font-size: 1em;
}

.mods-table tr:nth-child(even) {
    background-color: #2e3642; /* Slightly lighter for contrast */
}

/* Table row hover effect */
.mods-table tr:hover {
    background-color: white; /* White background on hover */
    color: black; /* Black text on hover */
    transform: translateY(-2px); /* Lift effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
    transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s ease; /* Smooth transition */
}

/* Ensure the td and th elements change color as well */
.mods-table tr:hover td,
.mods-table tr:hover th {
    background-color: grey; /* White background for td and th */
    color: black; /* Black text for td and th */
}


/* Button Styling */
button {
    background-color: #ffcf00; /* Bright accent */
    color: #1a1f29;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    font-size: 1em;
    display: inline-block;
}

button:hover {
    background-color: #e6b800; /* Darker accent */
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

button:active {
    transform: scale(1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Footer Styling */
.footer {
    background-color: #1a1f29;
    padding: 10px 20px;
    text-align: center;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
}

.footer img.footer-image {
    width: auto; /* Maintain original aspect ratio */
    height: auto; /* Maintain original aspect ratio */
    max-width: 100%; /* Ensure it doesn't exceed the footer's width */
    max-height: 100%; /* Ensure it doesn't exceed the footer's height */
    display: block;
    margin: 10px auto; /* Center image and add spacing */
}


/* Media Queries */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2em;
        margin-top: -10px; /* Adjust for smaller screens */
    }

    .hero p {
        font-size: 1em;
    }

    .mods-table {
        font-size: 0.9em;
    }

    nav a {
        font-size: 0.9em;
    }

    button {
        font-size: 0.9em;
    }
}

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

.mods h1 {
    text-align: center;
    margin-bottom: 20px; /* Adjust spacing as needed */
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Additional Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Center the intro section */
.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.server-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Style for the server status */
.server-status h2 {
    font-size: 2em;
    margin-bottom: 5px; /* Decrease the margin-bottom to move it up */
    margin-top: -5px; /* Add negative margin-top to move it up */
    color: #ffcf00; /* Accent color */
}

.status {
    font-size: 1.5em; /* Larger font for the status */
    font-weight: bold;
    color: #00ff00; /* Green for online */
    margin-bottom: 5px;
    animation: fadeIn 2s ease-in-out;
}

.status.offline {
    color: #ff0000; /* Red for offline */
    animation: fadeIn 5s ease-in-out;
}

#time-status {
    font-size: 1.2em; /* Larger font for uptime/downtime */
    color: #fff; /* White text */
    animation: fadeIn 5s ease-in-out;
}

/* Header styling for the table */
.header {
    color: #ffcf00; /* Yellow color matching index.php */
    font-size: 1.2em; /* Adjust font size for readability */
}

/* Table styling */
.mods-table {
    width: 100%; /* Full width for better mobile display */
    border-collapse: collapse;
    margin-top: 20px;
}

.mods-table th, .mods-table td {
    padding: 10px;
    text-align: left;
    word-wrap: break-word; /* Ensures long text wraps */
}

.mods-table th {
    background-color: #333; /* Dark header background */
    color: #ffcf00; /* Yellow text */
}

.mods-table td {
    background-color: #222; /* Dark cell background */
    color: #fff; /* White text for contrast */
}

/* Responsive design */
@media (max-width: 768px) {
    .mods-table {
        font-size: 0.9em; /* Reduce font size for small screens */
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }

    .mods-table th, .mods-table td {
        padding: 8px; /* Adjust padding for smaller screens */
    }
}
.update-block {
    background-color: #1a1f29;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.update-block h2 {
    color: #ffcf00; /* Accent color for title */
    font-size: 1.8em;
    margin-bottom: 10px;
}

.update-date {
    color: #00ff00; /* Green color for the date */
    font-size: 1.1em;
    margin-bottom: 10px;
}

.update-block p {
    font-size: 1em;
    margin-bottom: 10px;
}

.update-block img {
    max-width: 100%; /* Responsive image */
    height: auto;
    display: block;
    margin-top: 10px;
}

/* General Form Styling */
.admin-form-container {
    background-color: #1a1f29;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.admin-form h2 {
    color: #ffcf00; /* Accent color */
    margin-bottom: 10px;
}

.admin-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 1em;
}

.admin-form input, .admin-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #2e3642;
    color: #fff;
    font-size: 1em;
}

.admin-form button {
    background-color: #ffcf00; /* Bright accent */
    color: #1a1f29;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.admin-form button:hover {
    background-color: #e6b800; /* Darker accent */
    transform: scale(1.05);
}

.admin-form button:active {
    transform: scale(1);
}
/* Center the server status and status message */
.server-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.status-message {
    font-weight: bold;
    font-size: 5.5em;
    margin-top: 10px;
}

.status-message {
    font-weight: bold;
    font-size: 1.2em;
}

.status-online {
    color: red;
}

.status-offline {
    color: red;
}

.status-error {
    color: red;
}
.navbar {
    text-align: center; /* Center content inside the navbar */
    background-color: #333; /* Optional: Navbar background */
    padding: 10px 0; /* Optional: Add some vertical padding */
}

.navbar ul {
    list-style: none; /* Remove bullet points */
    margin: 0 auto; /* Center the list */
    padding: 0; /* Reset padding */
    display: inline-block; /* Inline block for proper centering */
}

.navbar li {
    display: inline; /* Display list items in a row */
    margin: 0 15px; /* Add spacing between items */
}

.navbar a {
    text-decoration: none; /* Remove underline from links */
    color: white; /* Make the text white */
    font-weight: bold; /* Bold font for links */
    transition: color 0.3s; /* Smooth hover effect */
}

.navbar a:hover {
    color: #ff6347; /* Change color on hover */
}
.green {
    color: green;
}

.red {
    color: red;
}

.large-text {
    font-size: 2em; /* Adjust size as needed */
    font-weight: bold; /* Optional for emphasis */
}
.green {
    color: green;
}

.red {
    color: red;
}

.large-text {
    font-size: 2em;
    font-weight: bold;
}

.intro {
    margin: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.hero {
    text-align: center;
    padding: 50px 20px;
    background-color: #222;
    color: #fff;
}

.hero h1 {
    font-size: 3em;
    margin: 0 0 10px;
}

.hero p {
    font-size: 1.2em;
    line-height: 1.6;
}

.server-status {
    margin-top: 20px;
}

#status {
    margin-top: 10px;
}

.test {
    color: green; /* Text color */
    font-size: 80.2em; /* Large font size */
}

.red {
    color: red; /* Text color for errors */
}
#status {
    background-color: transparent; /* Remove any background */
}
.server-status-box {
    background-color: #2c2f3b;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 1px solid #1e2a36; /* Optional: adds a subtle border */
    text-align: center;
}
/* General styles for the navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
    color: white;
}

/* Hamburger menu */
.hamburger {
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 25px;
    cursor: pointer;
    margin-right: auto; /* Aligns the hamburger menu to the left */
}

.hamburger div {
    width: 100%;
    height: 4px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}
/* Leaderboard tables */
.mods-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    font-family: Arial, sans-serif;
}

.mods-table th.header {
    background-color: #333;
    color: yellow;
    padding: 8px;
    text-align: left;
    border-bottom: 2px solid #000;
}

.mods-table td {
    border-bottom: 1px solid #ccc;
    padding: 8px;
    transition: color 1.5s ease;
    color: white;
}

.mods-table tr:nth-child(even) {
    background-color: #f9f9f9;
    color: black;
}

.mods-table tr:hover {
    background-color: #f1f1f1;
    color: black;
}

/* Online / Offline status text */
.online {
    color: green !important;
    font-weight: bold;
}

.offline {
    color: red !important;
    font-weight: bold;
}

/* Crown icon for first place */
.crown {
    color: gold;
    font-weight: bold;
    margin-left: 5px;
}

/* Warning box styling */
.warning-box {
    background-color: #333333;
    color: red;
    border-radius: 8px;
    padding: 10px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Refresh timer styling */
#refresh-timer {
    font-weight: bold;
    color: #ffcf00;
    font-size: 1.2em;
    margin-top: 5px;
    text-align: center;
    font-family: monospace;
    user-select: none;
}

/* Highlight colors for currency changes */
.value-up {
    color: #00cc00 !important; /* bright green */
    font-weight: bold;
    transition: color 1.5s ease;
}

.value-down {
    color: #cc0000 !important; /* bright red */
    font-weight: bold;
    transition: color 1.5s ease;
}
