

        :root {
            --primary-color: #ffbf00; /* Gelb für den Text */
            --background-color: #000000; /* Schwarz für den Hintergrund */
            --button-bg: var(--primary-color);
            --button-text: #000000;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: var(--background-color);
            color: var(--primary-color);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            padding: 20px;
            box-sizing: border-box;
            text-align: center;
        }

        .container {
            width: 100%;
            max-width: 600px;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 40px rgba(255, 255, 255, 0.5); 
    	transition: box-shadow 0.5s ease; 
        }
        
.container.is-recording {
    box-shadow: 0 0 40px 10px rgba(255, 0, 0, 0.7);
}        

        h1 {
            font-size: 2.5em;
            margin-bottom: 0.5em;
        }

        p {
            font-size: 1.1em;
            line-height: 1.5;
            margin-bottom: 2em;
        }

        .recorder-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        #mic-gif {
            width: 100%;
            max-width: 250px;
            height: auto;
	margin-bottom: 30px; 
            transition: opacity 0.3s ease;
        }
        
/* Styling für die gesamte Label-Zeile */
.consent-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1em;
    gap: 10px; /* Abstand zwischen Kästchen und Text */
}

/* Versteckt die native Checkbox */
.consent-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Erstellt das sichtbare, individuelle Kästchen */
.custom-checkbox {
    height: 25px; /* Größe des Kästchens */
    width: 25px; /* Größe des Kästchens */
    background-color: #333; /* Hintergrundfarbe des Kästchens */
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Visualisiert das Häkchen, wenn die Checkbox gecheckt ist */
.consent-label input[type="checkbox"]:checked ~ .custom-checkbox {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Erstellt das Häkchen-Symbol */
.custom-checkbox:after {
    content: "";
    position: absolute;
    display: none;
    width: 5px;
    height: 10px;
    border: solid #000; /* Farbe des Häkchens */
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Zeigt das Häkchen, wenn die Checkbox gecheckt ist */
.consent-label input[type="checkbox"]:checked ~ .custom-checkbox:after {
    display: block;
}        

        
.mic-inactive {
    opacity: 0.5; /* Leicht gedämpft, wenn nicht aufgenommen wird */
    transition: opacity 0.3s ease-in-out;
}

/* Zustand des GIFs, wenn die Aufnahme aktiv ist */
.mic-active {
    opacity: 1; /* Volle Sichtbarkeit */
    /* Füge hier Animationen hinzu, wenn das GIF nicht schon animiert ist, z.B. ein leichter Skalierungseffekt */
    animation: pulse 1s infinite alternate; /* Beispiel: Pulsierende Animation */
}

/* Beispiel für eine Puls-Animation (optional) */
@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}        

        #volume-meter-container {
            width: 80%;
            height: 15px;
            background-color: #333;
            border-radius: 8px;
            overflow: hidden;
        }

        #volume-meter-bar {
            height: 100%;
            width: 0%;
            background-color: var(--primary-color);
            transition: width 0.1s ease;
        }

        button {
            background-color: var(--button-bg);
            color: var(--button-text);
            padding: 15px 30px;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1.1em;
            font-weight: bold;
            transition: transform 0.2s, background-color 0.2s;
            text-transform: uppercase;
        }

        button:hover {
            transform: scale(1.05);
        }

        button:disabled {
            background-color: #555;
            color: #aaa;
            cursor: not-allowed;
        }
        
        #status {
            margin-top: 15px;
            font-size: 0.9em;
            color: var(--primary-color);
        }

        #audio-playback {
            width: 100%;
            max-width: 400px;
            margin: 20px 0;
        }

        #additional-fields {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 15px;
            text-align: left;
        }

        label {
            font-size: 1em;
            margin-bottom: 5px;
        }

        input, textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #555;
            background-color: #222;
            color: var(--primary-color);
            border-radius: 5px;
            box-sizing: border-box;
            font-size: 1em;
        }

        input:focus, textarea:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        /* Responsive Anpassungen für kleine Bildschirme */
        @media (max-width: 480px) {
            h1 {
                font-size: 2em;
            }
            p {
                font-size: 1em;
            }
            button {
                padding: 12px 24px;
                font-size: 1em;
            }
        }
