/* Allgemeines Styling für die gesamte Seite */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
    transition: all 0.3s ease-in-out;
    -webkit-text-size-adjust: 100%; /* Verhindert Zoom auf iOS */
}

/* Styling des Containers für die Inhalte */
.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 700px;
    text-align: center;
    transition: padding 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.container:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Header-Styling */
.container h1 {
    margin-bottom: 20px;
    font-family: 'Lobster', cursive;
    font-size: 2.5em;
    color: #007BFF;
}

/* Formularelemente */
.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Textareas */
textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    font-size: 16px; /* Verhindert Zoom auf iOS */
    resize: vertical;
    transition: all 0.3s ease-in-out;
    background: #f9f9f9;
}

textarea:focus {
    border-color: #007BFF;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
    outline: none;
    background: #fff;
}

/* Button */
button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s, box-shadow 0.3s;
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 91, 187, 0.3);
}

button:active {
    transform: translateY(1px);
}

/* Output-Gruppe */
.output-group {
    margin-top: 20px;
}

/* Responsive Styling */
@media (max-width: 1200px) {
    .container {
        padding: 25px;
        border-radius: 12px;
    }
    textarea, button {
        font-size: 16px; /* Mindestens 16px, um Zoom zu verhindern */
        padding: 12px;
    }
    .container h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 20px;
        border-radius: 10px;
    }
    textarea, button {
        font-size: 16px; /* Mindestens 16px, um Zoom zu verhindern */
        padding: 10px;
    }
    .container h1 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
        border-radius: 8px;
    }
    textarea, button {
        font-size: 16px; /* Mindestens 16px, um Zoom zu verhindern */
        padding: 8px;
    }
    .container h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 10px;
        border-radius: 5px;
    }
    textarea, button {
        font-size: 16px; /* Mindestens 16px, um Zoom zu verhindern */
        padding: 6px;
    }
    .container h1 {
        font-size: 1.5em;
    }
}
