/* Grunddesign */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #0f172a url('https://www.transparenttextures.com/patterns/stardust.png');
    background-size: 800px 800px;
    animation: stars 90s linear infinite;
    color: #e1e1e1;
    min-height: 100vh;
}

/* Sternen-Animation */
@keyframes stars {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 1000px; }
}

/* Container – Menü zentriert und etwas oben */
.centered-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

/* Menüleiste */
.menu-bar {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(30, 41, 59, 0.6);
    padding: 12px 40px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(46, 58, 82, 0.4);
    height: 100px;  /* Menüleiste auf 100px setzen */
}

/* Logo */
.logo {
    height: 130px;
    width: auto;
    object-fit: contain;
    transition: none;
    margin-top: -10px;
    margin: 0 -40px;
}

/* Allgemeine Link-Stile */
.menu-bar a {
    text-decoration: none;
    font-size: 1.1em;
    color: #e1e1e1;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 400;
    transition: all 0.3s ease;
    text-transform: capitalize;
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Hover-Effekte für alle außer das Logo */
.menu-bar a:not(.logo-link):hover {
    background: #38bdf8;
    color: #0f172a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-bar a:not(.logo-link)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 2px;
    width: 0%;
    background: #38bdf8;
    transition: width 0.3s ease;
}

.menu-bar a:not(.logo-link):hover::after {
    width: 100%;
}

/* Logo-Link – ohne Hover-Stile */
.logo-link {
    padding: 0;
    border-radius: 0;
    transition: none;
}

.logo-link:hover {
    background: none;
    color: inherit;
    box-shadow: none;
}

.logo-link::after {
    display: none;
}




/* Grunddesign */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #121212;
    color: #e1e1e1;
    line-height: 1.6;
    min-height: 100vh;
    padding: 0 20px;
}

/* Container für die ganze Seite */
.server-info-container {
    max-width: 1200px;
    margin: 40px auto;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 3rem;
    color: #38bdf8;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    color: #b0b0b0;
}

/* Info-Boxen */
.server-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.info-box {
    background: #1e293b;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}


.info-box h2 {
    font-size: 1.8rem;
    color: #38bdf8;
    margin-bottom: 15px;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 10px;
}

.info-box li strong {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 900px) {
    .server-info {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .server-info {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 2.2rem;
    }
}



/* Standardstil der Überschrift */
.info-box h2 {
    font-size: 1.6em;
    color: #38bdf8;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Wenn die Maus über das ganze Info-Feld geht */
.info-box:hover h2 {
    color: #ffffff;
    background: #38bdf8;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.5);
}

/* Allgemeiner Stil für die Info-Box */
.info-box {
    background: rgba(30, 41, 59, 0.4);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Hover-Effekt fürs ganze Info-Feld */
.info-box:hover {
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.4); /* Leuchteffekt außen */
    transform: translateY(-4px); /* Leichtes "Vorkommen" beim Hover */
}

/* Spezifische Farben für jedes Info-Feld */

/* Über uns - Blau */
.info-box.about {
    background: rgba(56, 189, 248, 0.1); /* Blau */
}

.info-box.about:hover {
    background: rgba(56, 189, 248, 0.3); /* Helleres Blau beim Hover */
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.7); /* Blaues Leuchten */
}

/* Support - Grün */
.info-box.Support {
    background: rgba(34, 197, 94, 0.1); /* Grün */
}

.info-box.Support:hover {
    background: rgba(34, 197, 94, 0.3); /* Helleres Grün beim Hover */
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.7); /* Grünes Leuchten */
}

/* Sicherheit - Rot */
.info-box.security {
    background: rgba(244, 63, 94, 0.1); /* Rot */
}

.info-box.security:hover {
    background: rgba(244, 63, 94, 0.3); /* Helleres Rot beim Hover */
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.7); /* Rotes Leuchten */
}





/* Farbthemen pro Info-Box */

/* Über uns - Blau */
.info-box.about {
    background: rgba(56, 189, 248, 0.1);
}
.info-box.about:hover {
    background: rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.7);
}

/* Support - Grün */
.info-box.support {
    background: rgba(34, 197, 94, 0.1);
}
.info-box.support:hover {
    background: rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.7);
}

/* Sicherheit - Rot */
.info-box.security {
    background: rgba(244, 63, 94, 0.1);
}
.info-box.security:hover {
    background: rgba(244, 63, 94, 0.3);
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.7);
}

/* Netzwerkstatus - Lila */
.info-box.network {
    background: rgba(168, 85, 247, 0.1);
}
.info-box.network:hover {
    background: rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.7);
}

/* Server-Verbindungen - Gelb */
.info-box.connections {
    background: rgba(253, 224, 71, 0.1);
}
.info-box.connections:hover {
    background: rgba(253, 224, 71, 0.3);
    box-shadow: 0 0 25px rgba(253, 224, 71, 0.7);
}





/* --- Blau - Über uns --- */
.info-box.about h2 {
    background: rgba(56, 189, 248, 0.8);
    color: #fff;
}
.info-box.about:hover h2 {
    background: rgba(56, 189, 248, 1);
}

/* --- Grün - Support --- */
.info-box.support h2 {
    background: rgba(34, 197, 94, 0.8);
    color: #fff;
}
.info-box.support:hover h2 {
    background: rgba(34, 197, 94, 1);
}

/* --- Rot - Sicherheit --- */
.info-box.security h2 {
    background: rgba(244, 63, 94, 0.8);
    color: #fff;
}
.info-box.security:hover h2 {
    background: rgba(244, 63, 94, 1);
}

/* --- Lila - Netzwerk --- */
.info-box.network h2 {
    background: rgba(168, 85, 247, 0.8);
    color: #fff;
}
.info-box.network:hover h2 {
    background: rgba(168, 85, 247, 1);
}

/* --- Gelb - Verbindungen --- */
.info-box.connections h2 {
    background: rgba(253, 224, 71, 0.8);
    color: #000; /* besserer Kontrast bei hellen Farben */
}
.info-box.connections:hover h2 {
    background: rgba(253, 224, 71, 1);
}




/* --- Blau - Über uns --- */
.info-box.about:hover h2 {
    background: rgba(56, 189, 248, 1);
    color: #fff;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.5);
}

/* --- Grün - Support --- */
.info-box.support:hover h2 {
    background: rgba(34, 197, 94, 1);
    color: #fff;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.5);
}

/* --- Rot - Sicherheit --- */
.info-box.security:hover h2 {
    background: rgba(244, 63, 94, 1);
    color: #fff;
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.5);
}

/* --- Lila - Netzwerkstatus --- */
.info-box.network:hover h2 {
    background: rgba(168, 85, 247, 1);
    color: #fff;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.5);
}

/* --- Gelb - Verbindungen --- */
.info-box.connections:hover h2 {
    background: rgba(253, 224, 71, 1);
    color: #000;
    box-shadow: 0 8px 20px rgba(253, 224, 71, 0.5);
}
