.server-ip {
    font-weight: bold;
}
      .cards-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Abstand zwischen den Karten */
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

/* Karten-Stil */
.server-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c2c2c; /* Dunkler Hintergrund */
    border: 2px solid #4CAF50; /* Grüne Umrandung */
    color: #4CAF50; /* Grüne Schrift */
    padding: 12px 30px;
    border-radius: 8px; /* Abgerundete Ecken */
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    min-width: 250px; /* Einheitliche Breite */
    text-align: center;
}

/* Hover-Effekt */
.server-card:hover {
    background-color: #4CAF50; /* Grün bei Hover */
    color: white; /* Weiße Schrift bei Hover */
}

.material-icons {
    margin-right: 10px;
    font-size: 1.5em; /* Icon-Größe */
}

.card-text {
    display: inline-block; /* Ermöglicht volles Margin */
    margin: 0 5px;
    font-weight: bold;
}
 .quotes-section {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 30px 0;
        flex-wrap: wrap;
    }       
 .quote-card {
        background-color: #f9f9f9;
        border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 20px;
        width: 300px;
        text-align: center;
        font-family: 'Dancing Script', cursive;
        font-size: 1.4em;
        transition: transform 0.3s ease;
    }

    .quote-card:hover {
        transform: translateY(-5px);
    }

     /* Styling für das Modal */
     #player-list-modal {
         display: none;
         position: fixed;
         top: 50%;
         left: 50%;
         transform: translate(-50%, -50%);
         z-index: 1000;
         width: 90%;
         max-width: 800px;
         background-color: #2d2d2d;
         border-radius: 10px;
         padding: 20px;
         box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
         color: #fff;
     }
     #server-data-modal {
         display: none;
         position: fixed;
            margin: 20px;
         top: 50%;
         left: 50%;
         transform: translate(-50%, -50%);
         z-index: 1000;
         width: 90%;
         max-width: 800px;
         background-color: #2d2d2d;
         border-radius: 10px;
         padding: 20px;
         box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
         color: #fff;
     }
     
     /* Styling für den Header des Modals */
     .modal-content h2 {
         font-size: 1.8em;
         color: #4CAF50; /* Grün für den Titel */
         text-align: center;
         margin-bottom: 20px;
         font-family: 'Arial', sans-serif;
     }
     
     /* Styling für die Spieler-Liste */
     .player-list {
         margin: 20px;
         max-height: 300px;
         overflow-y: auto;
         margin-top: 20px;
         font-family: 'Arial', sans-serif;
            gap: 15px;
     }
     
     .player-list div {
        margin-bottom: 15px; /* Abstand zwischen den Spielern erhöhen */
        padding: 10px 20px; /* Innenabstand hinzufügen */
        display: flex;
        align-items: center;
        justify-content: flex-start; /* Spielername links, Symbol rechts */
        background-color: #2c2c2c; /* Dunkler Hintergrund */
        border: 2px solid #4CAF50; /* Grüne Umrandung */
        color: #4CAF50; /* Grüne Schrift */
        padding: 12px 30px;
        border-radius: 8px; /* Abgerundete Ecken */
        font-size: 1.2em;
        cursor: pointer;
        transition: background-color 0.3s, color 0.3s;
        min-width: 250px; /* Einheitliche Breite */
        text-align: center;
     }
     
     .player-list div:hover {
         background-color: #4CAF50; /* Hover-Effekt mit grünem Hintergrund */
         color: #fff;
         
     }
     
     /* Styling für den Schließen-Button */
     button.server-card {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #2c2c2c; /* Dunkler Hintergrund */
        border: 2px solid #4CAF50; /* Grüne Umrandung */
        color: #4CAF50; /* Grüne Schrift */
        padding: 12px 30px;
        border-radius: 8px; /* Abgerundete Ecken */
        font-size: 1.2em;
        cursor: pointer;
        transition: background-color 0.3s, color 0.3s;
        min-width: 250px; /* Einheitliche Breite */
        text-align: center;
     }
     
     button.server-card:hover {
         background-color: #45a049; /* Dunklerer Grünton bei Hover */
         
     }
     
     /* Styling für das Overlay */
     #overlay {
         display: none;
         position: fixed;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background: rgba(0, 0, 0, 0.7);
         z-index: 999;
     }
    .material-symbols-outlined {
         margin-left: auto; /* Schiebt das Symbol nach rechts */
     }
    @media (max-width: 768px) { /* Für mobile Geräte mit maximaler Breite von 768px */
        .cards-container {
            flex-direction: column; /* Ändert die Richtung der Karten auf Spalten */
            align-items: center; /* Zentriert die Karten */
        }
    
        .server-card {
            width: 90%; /* Breite der Karten auf mobilen Geräten */
            margin-bottom: 10px; /* Abstand zwischen den Karten */
        }
    }

     .card-textzwei {
         display: inline-block; /* Ermöglicht volles Margin */
         margin: 0 5px;
         font-weight: bold;
         
     }
     

     @media (max-width: 768px) { /* Für mobile Geräte */
     .card-textzwei {
         display: none; /* Versteckt den Text auf mobilen Geräten */
     }
}
        /* Popup Styling */
    .popup-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        justify-content: center;        
        align-items: center;
    }

    .popup-content {
                margin-bottom: 15px; /* Abstand zwischen den Spielern erhöhen */
                padding: 10px 20px; /* Innenabstand hinzufügen */
                display: flex;
                align-items: center;
                justify-content: flex-start; /* Spielername links, Symbol rechts */
                background-color: #2c2c2c; /* Dunkler Hintergrund */
                border: 2px solid #4CAF50; /* Grüne Umrandung */
                color: #4CAF50; /* Grüne Schrift */
                padding: 12px 30px;
                border-radius: 8px; /* Abgerundete Ecken */
                font-size: 1.2em;
                cursor: pointer;
                transition: background-color 0.3s, color 0.3s;
                min-width: 250px; /* Einheitliche Breite */
                text-align: center;
    }

    .popup-content h2 {
        margin-top: 0;
    }


    .server-stat-item {
                margin: 20px;
                max-height: 300px;
                overflow-y: auto;
                margin-top: 20px;
                font-family: 'Arial', sans-serif;
                gap: 15px;
    }

    .server-stat-item span {
                    margin-bottom: 15px; /* Abstand zwischen den Spielern erhöhen */
                padding: 10px 20px; /* Innenabstand hinzufügen */
                display: flex;
                align-items: center;
                justify-content: flex-start; /* Spielername links, Symbol rechts */
                background-color: #2c2c2c; /* Dunkler Hintergrund */
                border: 2px solid #4CAF50; /* Grüne Umrandung */
                color: #4CAF50; /* Grüne Schrift */
                padding: 12px 30px;
                border-radius: 8px; /* Abgerundete Ecken */
                font-size: 1.2em;
                cursor: pointer;
                transition: background-color 0.3s, color 0.3s;
                min-width: 250px; /* Einheitliche Breite */
                text-align: center;
    }

    .server-stat-item .material-symbols-outlined {
        font-size: 24px;
        margin-right: 10px;
        color: #4CAF50;
    }

    .server-stat-item span:nth-child(2) {
        font-weight: bold;
    }

    .server-stat-item span:nth-child(3) {
        color: #555;
    }
    /* Status-Indikator */
    /* Gemeinsame Styles für den Status-Indikator */
    .status-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin-right: 8px; /* Abstand zwischen Punkt und Text */
        animation: pulse 1.5s infinite; /* Pulsier-Animation */
    }
    
    @keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.2);
            opacity: 0.7;
        }
        100% {
            transform: scale(1);
            opacity: 1;
        }
    }
    
    .green {
        background-color: green;
    }
    
    .red {
        background-color: red;
    }
    
    .orange {
        background-color: orange;
    }
    
    
