/* Allgemeine Seite */
body {
    background-color: black;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Header und Überschrift */
header {
    background-color: #222;
    padding: 20px;
    border-bottom: 2px solid #444;
}

h1 {
    font-size: 3em;
    font-family: 'Press Start 2P', cursive;
    background-image: linear-gradient(to right, #ff6600, #ff0000, #ffff00);
    -webkit-background-clip: text;
    color: transparent;
    animation: gradient 3s infinite alternate;
}

@keyframes gradient {
    from {
        background-position: 0%;
    }
    to {
        background-position: 100%;
    }
}

main {
    padding: 20px;
}

/* Passwortscreen zentrieren */
#password-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #222;
    padding: 20px;
    border: 2px solid #00ff00;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px #00ff00;
}

#password-screen input {
    padding: 10px;
    font-size: 1.2em;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 80%;
    text-align: center;
    border: 2px solid #00ff00;
    background-color: black;
    color: #00ff00;
    outline: none;
    border-radius: 5px;
}

#password-screen button {
    font-family: 'Press Start 2P', cursive;
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 10px;
    background-color: #00ff00;
    color: black;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#password-screen button:hover {
    background-color: #00aa00;
}

#password-error {
    margin-top: 10px;
}

/* Upload-Bereich */
#upload-area {
    border: 2px dashed #00ff00;
    padding: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    text-align: center;
}

#upload-area p {
    margin: 0;
    font-size: 1.2em;
}

/* Fortschrittsanzeige */
#progress-container {
    margin: 10px auto;
    text-align: center;
    color: #00ff00;
}

progress {
    appearance: none; /* Browser-Standardstil zurücksetzen */
    height: 20px;
    margin-top: 5px;
}

progress::-webkit-progress-bar {
    background-color: #444;
}

progress::-webkit-progress-value {
    background-color: #00ff00;
}

/* Tabelle */
#file-list {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
    color: #00ff00;
}

#file-list th, #file-list td {
    border: 1px solid #00ff00;
    padding: 10px;
}

/* Download-Link */
a {
    color: #00ff88;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Allgemeiner Button */
button {
    background-color: #ff0000;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}