/* Haupt-Styling für die Matrix-Willkommensseite */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background-color: #000;
    color: #e0e0e0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Video-Hintergrund */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    filter: hue-rotate(280deg); /* Ändert Grün zu Lila */
}

/* Container für die Matrix-Anzeige */
#matrix-container {
    width: 80%;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #9370db;
    border-radius: 5px;
    padding: 20px;
    margin: auto;
    box-shadow: 0 0 15px #9370db;
    overflow-y: auto;
    max-height: 80vh;
    backdrop-filter: blur(5px);
    z-index: 10;
    user-select: none; /* Verhindern, dass Text ausgewählt werden kann */
}

#user-info {
    padding: 10px;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

#themeButton {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#themeButton:hover {
    opacity: 1;
    transform: scale(1.1);
}

#themeIcon {
    width: 30px;
    height: 30px;
    filter: invert(1);
}

/* Scrollbar-Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: #9370db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b39ddb;
}

/* Responsive Design */
@media (max-width: 768px) {
    #matrix-container {
        width: 90%;
        padding: 15px;
    }

    .matrix-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #matrix-container {
        width: 95%;
        padding: 10px;
    }

    .matrix-text {
        font-size: 12px;
    }
}