/* Allgemeine Stile */
* {
    font-family: "Montserrat", sans-serif;
    font-weight: 200;
}

body {
    background-color: #1e1e1e;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    overflow-y: scroll;
    padding: 0;
}

h1, h2, h3 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #45a049;
    text-decoration: underline;
}

/* Header */
header {
    background-color: transparent;
    padding: 20px;
    text-align: center;
}

.header-image {
    height: auto;
    max-width: 100%;
    opacity: 0.9;
}

/* Navigation */
nav {
    background: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

nav a {
    color: white;
    font-size: 18px;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #4CAF50;
}

/* Hintergrundbilder für verschiedene Seiten */
body.about-page {
    background-attachment: fixed;
    background-image: url('media/main2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

body.contact-page {
    background-attachment: fixed;
    background-image: url('media/main.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

body.error-page {
    background-attachment: fixed;
    background-image: url('media/main2.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

body.index-page {
    background-attachment: fixed;
    background-image: url('media/main.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

body.regeln-page {
    background-attachment: fixed;
    background-image: url('media/main3.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Allgemeine Container */
.container {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 40px auto;
    margin-bottom: 100px;
    max-width: 800px;
    padding: 20px;
}

.container-background {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    padding: 20px;
}

.hidden {
    display: none;
}

/* Topic Boxen */
.topic {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
}

.topic h4 {
    color: #4CAF50;
    margin-top: 0;
}

.topic p {
    color: #ccc;
}

.topic button {
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    margin-right: 10px;
    padding: 5px 10px;
}

.topic button:hover {
    background-color: #45a049;
}

/* Kommentarbereich */
.comment-box {
    background: #333;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 600px;
    padding: 20px;
    text-align: center;
    width: 80%;
}

.comment-box input,
.comment-box textarea {
    background: #444;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    margin-top: 10px;
    padding: 10px;
    resize: vertical;
    width: 90%;
}

.comment-box textarea {
    height: 100px;
}

.comment-box button {
    background: #8A2BE2;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    padding: 10px 20px;
    transition: background 0.3s ease;
}

.comment-box button:hover {
    background: #6A1B9A;
}

.char-counter {
    color: #888;
    font-size: 14px;
    margin-top: 5px;
    text-align: right;
}

/* Kommentarliste */
.comments-list {
    background: #444;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    margin-top: 20px;
    max-width: 600px;
    padding: 15px;
    text-align: left;
    width: 80%;
}

.comments-list h3 {
    color: #ffffff;
    margin-top: 0;
}

.comments-list div {
    background: #555;
    border-radius: 5px;
    color: #ffffff;
    margin-bottom: 10px;
    padding: 10px;
}

.comments-list div p {
    margin: 0;
}

.comments-list div p strong {
    color: #4CAF50;
}

.delete-button {
    background: #ff4444;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    padding: 5px 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.delete-button:hover {
    background: #cc0000;
}

/* Modals (Allgemein) */
.modal {
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.modal-content {
    background-color: #1e1e1e;
    border: 2px solid #00FFFF;
    border-radius: 10px;
    color: white;
    margin: 15% auto;
    padding: 20px;
    text-align: center;
    width: 300px;
    position: relative; /* Für absolute Positionierung des Close-Buttons */
}

.modal-content h3 {
    margin-top: 0;
}

.modal-content input {
    background-color: #333;
    border: 1px solid #00FFFF;
    border-radius: 5px;
    color: white;
    margin-top: 10px;
    padding: 10px;
    width: 100%;
}

.modal-content textarea {
    background-color: #333;
    border: 1px solid #4CAF50;
    border-radius: 5px;
    color: white;
    height: 100px;
    margin-top: 10px;
    padding: 10px;
    resize: vertical;
    width: 100%;
}

.modal-content button {
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #45a049;
}

.close {
    color: #aaa;
    cursor: pointer;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.password-input-container {
    align-items: center;
    display: flex;
    position: relative;
}

.password-input-container input {
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid #00FFFF;
    border-radius: 5px;
    box-sizing: border-box;
    color: white;
    font-size: 16px;
    outline: none;
    padding: 10px;
    padding-right: 40px;
    width: 100%;
}

.password-input-container input::placeholder {
    color: #888;
}

.password-input-container input:focus {
    border-color: #00b3b3;
}

.password-input-container button {
    background: none;
    border: none;
    color: #00FFFF;
    cursor: pointer;
    font-size: 16px;
    height: 40px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.password-input-container button:hover {
    color: #00b3b3;
}

/* Footer-Stile */
footer {
    align-items: center;
    background: #222;
    bottom: 0;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    color: white;
    display: flex;
    font-size: 14px;
    justify-content: center;
    left: 0;
    padding: 10px;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.footer-box {
    display: flex;
    gap: 20px;
}

.footer-box a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.footer-content {
    align-items: center;
    display: flex;
    gap: 60px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
    white-space: nowrap;
}

.footer-left {
    flex: 1;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.footer-right a {
    color: white;
    font-size: 16px;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #4CAF50;
}

/* Bilder */
.server-image {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin-top: 20px;
}

/* Transparenter Hintergrund mit animierten Punkten */
#backgroundCanvas {
    height: 100vh;
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: -1;
}

/* Team-Sektion */
.team-section {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    margin-bottom: 100px;
    max-width: 800px;
    padding: 20px;
}

.team-section h1 {
    margin: 0;
    text-align: center;
}

.team-section h2 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.team-member {
    margin-bottom: 40px;
    opacity: 0;
    text-align: center;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.team-member.visible {
    opacity: 1;
    transform: translateY(0);
}

.skin-head {
    border: 3px solid #4CAF50;
    border-radius: 8px;
    height: 64px;
    image-rendering: pixelated;
    margin-bottom: 10px;
    width: 64px;
}

.team-member h3 {
    color: #4CAF50;
    font-size: 24px;
    margin: 10px 0;
    text-shadow: 1px 0px 1px #CCCCCC, 0px 1px 1px #EEEEEE, 2px 1px 1px #CCCCCC, 1px 2px 1px #EEEEEE, 3px 2px 1px #CCCCCC, 2px 3px 1px #EEEEEE, 40px -23px 8px rgba(76, 175, 80, 0.34);
}

.team-member p {
    color: #ccc;
    font-size: 16px;
}

.element {
    transition: opacity 1s ease;
}

/* Welcome-Message */
.welcome-message {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.text-box {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    max-width: 1750px;
    padding: 20px;
    text-align: center;
    width: 100%;
}

#typing-text {
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    border-right: 2px solid #4CAF50;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    letter-spacing: 0.15em;
    margin: 0 auto;
    overflow: visible;
    white-space: normal;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    50% {
        border-color: #4CAF50;
    }
    from, to {
        border-color: transparent;
    }
}

/* Container für Ludari Netzwerk, Server-Eröffnung und Discord Members */
.content-container {
    align-items: flex-start;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px auto;
    max-width: 1500px;
}

.status-box {
    background-color: rgba(42, 42, 42, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 300px;
    padding: 20px;
    text-align: center;
    width: 300px;
}

#server-status {
    color: #00FF00;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

#player-count {
    color: #00FF00;
    font-size: 18px;
    font-weight: bold;
}

#server-version {
    color: #00FFFF;
    font-size: 18px;
    font-weight: bold;
}

.info-box {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: auto;
    padding: 10px;
    text-align: center;
    width: 1300px;
}

/* Stil für die Changelog-Box */
.changelog-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
}

/* Titel des Changelogs */
.changelog-box h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Beschreibung des Changelogs */
.changelog-box p {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Datum des Changelogs */
.changelog-box .created-at {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 10px;
}

/* Hover-Effekt für die Changelog-Box */
.changelog-box:hover {
    background-color: #f1f1f1;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Stil für den Titel des Changelogs */
.changelog-title {
    color: #FFD700;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Styling für die Anzeige des Autors und des Minecraft-Skin-Bildes */
.changelog-author {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 10px;
}

.changelog-author span {
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
}

.author-image {
    border-radius: 50%;
    height: 30px;
    object-fit: cover;
    width: 30px;
}

/* IP- und Discord-Boxen */
.ip-discord-section {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.ip-discord-section p {
    font-weight: bold;
    margin-bottom: 10px;
}

.ip-box,
.discord-box {
    align-items: center;
    background-color: #333;
    border-radius: 5px;
    color: #00FFFF;
    cursor: pointer;
    display: flex;
    height: 30px;
    justify-content: center;
    max-width: 75px;
    padding: 10px 20px;
    text-align: center;
    width: 20%;
}

.ip-box:hover,
.discord-box:hover {
    background-color: #555;
}

.discord-members-box {
    background-color: rgba(42, 42, 42, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 300px;
    margin: 0px auto;
    padding: 20px;
    text-align: center;
    width: 300px;
}

/* Titeln ein wenig mehr Platz geben */
.discord-members-box h2,
.discord-members-box h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    margin: 15px 0;
}

/* Mitgliederzahlen anpassen */
#discord-members-total,
#discord-members-online {
    color: #00FFFF;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Countdown */
.countdown-section {
    color: white;
    margin: 40px 0 20px;
    text-align: center;
}

#countdown {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
}

#countdown span {
    color: #00FFFF;
    font-weight: bold;
}

/* IP-Sektion */
.ip-section {
    margin-top: 20px;
}

.ip-section p {
    font-size: 18px;
    margin-bottom: 10px;
}

/* IP-Box */
.ip-box {
    animation: pulse 2s infinite;
    background: #333;
    border-radius: 5px;
    color: #00FFFF;
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    padding: 15px;
}

/* Pulsierende Animation für die IP-Box */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.copy-message {
    animation: slideIn 0.5s ease-out, fadeOut 0.5s ease-out 1.5s;
    background: rgba(173, 216, 230, 0.9);
    border-radius: 5px;
    bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #333;
    display: none;
    padding: 15px 25px;
    position: fixed;
    right: 20px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Hamburger-Menü Styling */
.menu-container {
    position: relative;
    z-index: 1000;
}

.hamburger {
    background-color: rgba(51, 51, 51, 0.8);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    font-size: 30px;
    left: 10px;
    padding: 15px;
    position: fixed;
    text-align: center;
    top: 10px;
    width: 50px;
    z-index: 1001;
}

@keyframes flipIn {
    from {
        opacity: 0;
        transform: rotateY(-90deg);
    }
    to {
        opacity: 1;
        transform: rotateY(0);
    }
}

@keyframes flipOut {
    from {
        opacity: 1;
        transform: rotateY(0);
    }
    to {
        opacity: 0;
        transform: rotateY(90deg);
    }
}

.menu {
    animation: flipIn 0.3s ease-out;
    background-color: rgba(51, 51, 51, 0.9);
    border-radius: 10px;
    display: none;
    left: 10px;
    position: fixed;
    top: 100px;
    width: 400px;
    z-index: 1000;
}

.menu.closing {
    animation: flipOut 0.3s ease-out;
}

.menu.active {
    display: block;
}

#confetti {
    height: 100%;
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.confetti {
    animation: fall 2s ease-in infinite;
    background-color: #ff0;
    border-radius: 50%;
    height: 10px;
    position: absolute;
    width: 10px;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
    }
}

/* Container für das gesamte Regel-Layout */
.rules-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
}

/* Stil für jede Spalte */
.rules-column {
    flex: 1;
    max-width: 48%;
}

/* Stil für die Überschriften der Spalten */
.rules-column h2 {
    color: #00FFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Stil für jede Regel-Box */
.rule-box {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
}

/* Stil für die Überschriften der Regeln */
.rule-box h3 {
    color: #4CAF50;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin-top: 0;
}

/* Stil für die Listen in den Regel-Boxen */
.rule-box ul {
    color: #ccc;
    list-style-type: disc;
    padding-left: 20px;
}

.rule-box ul li {
    margin-bottom: 10px;
}

.rule-box ul li strong {
    color: #4CAF50;
}

/* Container für das Schwarze Brett */
.blackboard-container {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    padding: 20px;
    position: relative;
}

/* Stil für den "Add Message"-Button */
.add-message-button {
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 20px;
    position: absolute;
    right: 20px;
    top: 20px;
}

.add-message-button:hover {
    background-color: #45a049;
}

/* Stil für die Nachrichtenliste */
.messages-list {
    margin-top: 20px;
}

/* Stil für jede Nachricht */
.message {
    background: rgba(51, 51, 51, 0.9);
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 15px;
    position: relative;
}

/* Stil für den Löschen-Button */
.remove-button {
    background-color: #ff4444;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    position: absolute;
    right: 10px;
    top: 10px;
}

.remove-button:hover {
    background-color: #cc0000;
}

/* Stil für Spoiler */
.spoiler {
    background-color: #333;
    color: transparent;
    cursor: pointer;
}

.spoiler:hover {
    background-color: #444;
    color: white;
}

/* Partner Formular */
.partner-form-container {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    box-sizing: border-box;
    color: white;
    display: none;
    left: 50%;
    padding: 20px;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    z-index: 10;
}

.partner-form-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.partner-form-container label {
    font-weight: bold;
}

.partner-form-container input,
.partner-form-container textarea {
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 8px;
    width: 100%;
}

.partner-form-container button {
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    padding: 10px;
}

.partner-form-container button:hover {
    background-color: #45a049;
}

#partner-list {
    margin-top: 30px;
    padding: 10px 20px;
}

#partner-list li {
    background-color: rgba(50, 50, 50, 0.8);
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
    color: #f1f1f1;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 12px;
    padding: 10px 0 10px 12px;
}

#partner-list li:hover {
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.add-partner-button {
    margin-top: 20px;
}

/* NEUE STILE FÜR LUDARI SERVER MAPS */
.ludari-maps-section {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #fff;
    margin: 20px auto;
    max-width: 900px;
    padding: 30px;
    text-align: center;
}

.ludari-maps-section h2 {
    color: #4CAF50;
    margin-bottom: 20px;
}

.ludari-maps-section p {
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Liste der Map Downloads */
.ludari-map-downloads-list {
    margin-top: 30px;
}

.ludari-map-item {
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    padding: 20px;
    text-align: left;
}

.ludari-map-item h4 {
    color: #FFF;
    font-size: 1.3em;
    margin-bottom: 10px;
    margin-top: 0;
}

.ludari-map-item p {
    color: #DDD;
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 15px;
}

.ludari-map-item button {
    align-self: center;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 1.1em;
    min-width: 120px;
    padding: 10px 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.ludari-map-item button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

/* Modal Overlay Styling */
.ludari-modal-overlay {
    animation: fadeIn 0.3s ease-out;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    height: 100%;
    left: 0;
    overflow: auto;
    padding-top: 60px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Modal Content Box */
.ludari-modal-content {
    animation: slideIn 0.3s ease-out;
    background-color: #2c2c2c;
    border: 1px solid #555;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    color: #eee;
    margin: 5% auto;
    max-width: 550px;
    padding: 30px;
    position: relative;
    width: 90%;
}

.ludari-modal-content h3 {
    color: #4CAF50;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.ludari-modal-content p {
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

.ludari-modal-content input[type="email"] {
    background-color: #3a3a3a;
    border: 1px solid #666;
    border-radius: 5px;
    box-sizing: border-box;
    color: #eee;
    font-size: 1em;
    margin-bottom: 20px;
    padding: 12px;
    width: calc(100% - 20px);
}

.ludari-modal-content button {
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 10px;
    padding: 12px 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.ludari-modal-content button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

/* Close Button für das Modal */
.ludari-modal-close {
    color: #aaa;
    cursor: pointer;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    right: 25px;
    top: 15px;
    transition: color 0.3s ease;
}

.ludari-modal-close:hover,
.ludari-modal-close:focus {
    color: #eee;
    text-decoration: none;
}

/* Text für Nachrichten im Modal (Erfolg/Fehler) */
.ludari-message-text {
    font-size: 1em;
    font-weight: bold;
    margin-top: 15px;
}

/* Design der 404-Inhalte - MIT ZENTRIERUNG */
.not-found-content {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 50px auto;
    max-width: 800px;
    padding: 50px 20px;
    text-align: center;
}

.not-found-content h1 {
    color: #e44d26;
    font-size: 3.0em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.not-found-content p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 25px;
}

.not-found-image {
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: block;
    height: auto;
    margin: 20px auto 30px auto;
    max-width: 90%;
}

.not-found-button {
    background-color: #e44d26;
    border-radius: 8px;
    color: white;
    display: inline-block;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    padding: 15px 30px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.not-found-button:hover {
    background-color: #c93b1d;
    transform: translateY(-2px);
}

/* Animationen */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Media Queries für Responsive Design */

/* Desktop / Große Tablets (1200px und kleiner) */
@media (max-width: 1200px) {
    .content-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .info-box {
        margin-top: 20px;
        width: 90%;
    }

    .rules-container {
        padding: 15px;
    }
}

/* Tablets / Kleine Laptops (768px und kleiner) */
@media (max-width: 768px) {
    /* Navigation und Header */
    nav {
        padding: 10px;
    }

    nav a {
        font-size: 16px;
        margin: 0 10px;
    }

    /* Layout-Anpassungen */
    .content-container {
        align-items: center;
        flex-direction: column;
    }

    .status-box,
    .discord-members-box {
        height: auto;
        margin-bottom: 20px;
        width: 90%;
    }

    /* Regeln-Sektion */
    .rules-container {
        flex-direction: column;
    }

    .rules-column {
        max-width: 100%;
    }

    .rules-column h2 {
        font-size: 24px;
    }

    .rule-box h3 {
        font-size: 18px;
    }

    /* Team-Sektion */
    .team-section {
        margin-bottom: 80px;
        padding: 15px;
    }

    /* Footer */
    footer {
        padding: 15px; /* Etwas mehr Padding für bessere Berührbarkeit */
        position: relative; /* Nicht fixed, um Inhalt nicht zu überlappen */
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }

    /* Menü */
    .menu {
        left: 5%;
        top: 70px;
        width: 90%;
    }

    .ludari-maps-section,
    .ludari-modal-content {
        margin: 10px;
        padding: 20px;
    }

    .ludari-modal-content h3 {
        font-size: 1.5em;
    }

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

    .ludari-map-item button,
    .ludari-modal-content button {
        font-size: 1em;
        padding: 10px 20px;
    }

    .info-box {
        height: auto;
        min-height: 300px;
    }
}

/* Mobile Geräte (480px und kleiner) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1, h2, h3 {
        font-size: 1.5em;
    }

    .container,
    .team-section,
    .blackboard-container {
        margin: 15px auto;
        padding: 15px;
    }

    .ip-discord-section {
        flex-direction: column;
    }

    .ip-box,
    .discord-box {
        max-width: none;
        margin-bottom: 10px;
        width: 80%;
    }

    /* Modal-Anpassungen */
    .modal-content {
        width: 90%;
    }

    .partner-form-container {
        width: 90%;
    }

    /* Countdown */
    #countdown {
        font-size: 18px;
    }

    /* Text-Box */
    .text-box {
        padding: 15px;
    }

    #typing-text {
        font-size: 18px;
    }
}

/* Hochformat-Anpassungen (Portrait) */
@media (orientation: portrait) {
    .header-image {
        max-height: 200px;
    }

    .content-container {
        margin: 20px auto;
    }
}

/* Querformat-Anpassungen (Landscape) für kleinere Bildschirme */
@media (orientation: landscape) and (max-width: 900px) {
    .content-container {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .status-box,
    .discord-members-box {
        width: 45%;
    }

    .info-box {
        width: 100%;
    }
}
