/* Grundlegende Einstellungen */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container-Styling */
.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

/* Textbereich und Buttons */
.input-output {
    margin-bottom: 20px;
}

.output-text {
    width: 100%;
    height: 200px;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 18px;
    color: #555;
    background-color: #fafafa;
    resize: none;
}

button {
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.2s, transform 0.2s;
}

#downloadBtn {
    background-color: #28a745;
    color: #fff;
    margin-right: 10px;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button:active {
    background-color: #ddd;
}

/* Mikrofon-Button */
.microphone-btn {
    background-color: #ff4757;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.microphone-icon {
    width: 50%;
    height: auto;
}

/* Responsives Verhalten */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }

    .output-text {
        height: 150px;
    }

    button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .microphone-btn {
        width: 60px;
        height: 60px;
    }
}

/* Zurück-Button Stil */
.back-btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s, transform 0.2s;
}

.back-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.back-btn:active {
    transform: translateY(1px);
}
