/* Allgemeines Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #1e1e2e;
    color: #ffffff;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #282a36;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

h1 {
    text-align: center;
    color: #50fa7b;
    font-size: 32px;
    margin-bottom: 30px;
}

.server-section {
    margin-bottom: 40px;
}

.server-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.server-card {
    background-color: #333744;
    border-radius: 8px;
    padding: 20px;
    width: calc(33.333% - 20px);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
}

.server-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    margin-right: 20px;
}

.server-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.server-info {
    flex-grow: 1;
}

.server-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.server-header h3 {
    margin: 0;
    color: #f8f8f2;
    font-size: 20px;
    margin-left: 10px;
}

.server-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #bbbbbb;
}

/* Server-Status */
.server-status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* Online Status */
.server-status-indicator.online {
    background-color: #50fa7b;
    animation: pulse-green 1.5s infinite;
}

/* Offline Status */
.server-status-indicator.offline {
    background-color: #ff5555;
    animation: pulse-red 1.5s infinite;
}

/* Pulsieren Animationen */
@keyframes pulse-green {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Links */
a {
    color: #8be9fd;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .server-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .server-card {
        width: 100%;
    }
}
