* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;  /* erlaubt Y-Scroll und fixe Elemente */
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}


#particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #0d0d0d;
}

.overlay {
    position: relative;
    z-index: 0; /* war vorher 1, das ist zu hoch */
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 60px; /* Platz für die fixe Navbar */
    min-height: 100vh;
}

.main-content {
    background: rgba(20, 20, 20, 0.85);
    border: 2px solid #ff1a1a;
    padding: 40px 60px;
    border-radius: 12px;
    text-align: center;
    max-width: 600px;
    width: 90%;
}

.main-content h1 {
    font-size: 2.5em;
    color: #ff1a1a;
    margin-bottom: 20px;
}

.main-content p {
    font-size: 1.2em;
    color: #ccc;
    margin-bottom: 30px;
}

/* Button-Style (sichtbar, modern, lesbar) */
.btn {
    background: #444; /* dunkles Grau */
    color: #fff;       /* weißer Text */
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    display: inline-block;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    color: #ff1a1a; /* Text wird rot beim Hover */
    background: #555; /* etwas helleres Grau für Button */
    box-shadow: 0 0 15px rgba(255, 26, 26, 0.4);
}


/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* höher als overlay */
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.top-nav a {
    color: #ff1a1a;
    font-weight: bold;
    font-size: 1em;
    text-decoration: none;
    padding: 6px 12px;
    transition: color 0.3s;
}

.top-nav a:hover {
    color: #ffffff;
}


/* List & Code Styling */
.main-content ul {
    text-align: left;
    color: #ccc;
    margin-top: 20px;
    padding-left: 20px;
}

.main-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.main-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: #ff5555;
    font-family: monospace;
}

/* Textlinks in Content */
.main-content a {
    color: #ff1a1a;
    text-decoration: none;
}

.main-content a:hover {
    text-decoration: none;
}

/* Button im Content Wrapper */
.main-content .btn {
    display: inline-block;
    margin: 10px auto;
    font-size: 1em;
}

.watermark {
    position: fixed;
    bottom: 10px;
    left: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9em;
    z-index: 5;
    pointer-events: auto;
    user-select: none;
}

.watermark a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.watermark a:hover {
    color: #ff1a1a;
    text-decoration: none;
}

@media (max-width: 768px) {
    .top-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 10px 0 20px 0;
    }

    .top-nav a {
        margin: 5px 10px;
        font-size: 0.95em;
    }

    .main-content {
        padding: 20px 20px;
        max-width: 90%;
    }

    .main-content h1 {
        font-size: 1.8em;
    }

    .main-content p {
        font-size: 1em;
    }

    .main-content .btn {
        width: 100%;
        font-size: 1em;
        padding: 14px;
    }

    .watermark {
        font-size: 0.8em;
        left: 10px;
        bottom: 10px;
        text-align: left;
        max-width: 90vw;
    }
}
/* Tabelle: Serverübersicht */
.main-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    text-align: left;
    font-size: 1em;
}

.main-content table thead {
    background-color: rgba(255, 26, 26, 0.1);
}

.main-content th, .main-content td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-content th {
    color: #ff1a1a;
    font-weight: bold;
}

.main-content td {
    color: #ccc;
}

/* Tabelle: Responsive */
@media screen and (max-width: 768px) {
    .main-content table,
    .main-content thead,
    .main-content tbody,
    .main-content th,
    .main-content td,
    .main-content tr {
        display: block;
        width: 100%;
    }

    .main-content thead {
        display: none;
    }

    .main-content tr {
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background-color: rgba(255, 255, 255, 0.02);
        border-radius: 8px;
        overflow: hidden;
    }

    .main-content td {
        padding: 12px;
        text-align: right;
        position: relative;
    }

    .main-content td::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        color: #ff1a1a;
        font-weight: bold;
        text-align: left;
    }
}

/* Iframe-Banner-Styling */
iframe {
    display: block;
    margin: 20px auto;
    border: 2px solid rgba(255, 26, 26, 0.3);
    border-radius: 8px;
    background-color: #111;
    width: 750px;
    height: 120px;
}

