/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    transition: background 0.3s, color 0.3s;
}

/* Container */
.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
}

/* Header */
h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

/* Logo */
.logo-container {
    text-align: center;
}

.logo {
    max-width: 150px;
    height: auto;
}

/* Tagline */
.tagline {
    font-size: 18px;
    margin-top: 10px;
    font-weight: normal;
    color: #555;
}

/* Links */
.links {
    margin-top: 20px;
}

.link {
    display: block;
    padding: 15px;
    margin: 10px auto;
    width: 250px;
    background: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: 0.3s;
}

.link:hover {
    background: #005bb5;
    transform: scale(1.05);
}

/* Server Status Section */
.server-status {
    margin-top: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.server-status h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.server-status ul {
    list-style: none;
    padding: 0;
}

.server-status li {
    font-size: 18px;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.status-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.5s;
}

.status-text {
    font-size: 18px;
    font-weight: bold;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Server Status Progress Bars */
.progress-bar {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background-color: #ddd;
    position: relative;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s;
}

/* Completion Message Styling */
.completion-message {
    margin-top: 20px;
    padding: 10px;
    background-color: #28a745;
    color: white;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
}


/* Dynamic Colors */
.online {
    background-color: #4caf50; /* Green */
}

.offline {
    background-color: #f44336; /* Red */
}

.checking {
    background-color: #ffa500; /* Orange */
    animation: progressAnimation 2s linear infinite;
}

/* Animation for progress bar while checking */
@keyframes progressAnimation {
    0% {
        width: 0;
    }
    50% {
        width: 50%;
    }
    100% {
        width: 100%;
    }
}
