/* Allgemeine Styles für den Body */
body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0a0a; /* Dunkler, fast schwarzer Hintergrund */
    color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
}

#fireflies {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.firefly {
    position: absolute;
    border-radius: 50%;
    background-color: #00bcd4;
    opacity: 0.6;
    animation: blink 10s ease-in-out infinite, move 12s linear infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 0.1;
    }
    10%, 30%, 50%, 70%, 90% {
        opacity: 1;
    }
    20%, 40%, 60%, 80% {
        opacity: 0.4;
    }
}

@keyframes move {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(var(--y)) translateX(var(--x));
    }
}

/* Dunkles, schweres Formular */
.form-container {
    background: linear-gradient(135deg, #111, #222); /* Dunkler Verlauf für den mystischen Look */
    padding: 50px;
    border-radius: 25px; /* Etwas abgerundete Ecken */
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.8); /* Tiefe Schatten für ein schwereres Gefühl */
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
    z-index: 2;
}

h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: #00bcd4;
    text-shadow: 0 0 15px #00bcd4, 0 0 30px #00bcd4; /* Starker Leuchteffekt */
}

label {
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
    color: #ddd;
    text-shadow: 0 0 8px #fff, 0 0 20px #00bcd4;
}

input {
    outline: none;
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #222;
    border: 1px solid #444;
    border-radius: 15px; /* Ecken für den mystischen Touch */
    color: #ddd;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.8); /* Intensives Leuchten */
}

input:focus {
    outline: none;
    border-color: #00bcd4;
    box-shadow: 0 0 25px #00bcd4;
}

button {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    margin-left: 15px;
    background-color: #00bcd4;
    border: none;
    border-radius: 15px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px #00bcd4; /* Starkes Leuchten */
}

button:hover {
    background-color: #008c9e;
    box-shadow: 0 0 30px #00bcd4;
    animation: pulse 1.5s infinite;
}

a {
    color: #00bcd4;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
    text-shadow: 0 0 10px #00bcd4;
}

#error {
    margin: 10px;
    color: orangered;
    font-size: 15px;
}

/* Pulsierende Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Für den mobilen Bereich */
@media (max-width: 600px) {
    .form-container {
        padding: 30px;
    }

    h2 {
        font-size: 24px;
    }
}

