/* Allgemeine Body-Stile */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7fc;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    flex-direction: column;
    color: #333;
}
header{
    text-align: center;
    margin-bottom: 50px;
}
/* Container für den Inhalt */
.container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 650px;
    text-align: center;
    box-sizing: border-box;
}

/* Überschrift */
h1 {
    font-size: 28px;
    font-weight: bold;
    color: #2a2a2a;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* Datei-Upload Eingabefeld */
input[type="file"] {
    padding: 15px;
    margin: 15px 0;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: #f8f8f8;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease;
}

input[type="file"]:hover {
    border-color: #4CAF50; /* Hover-Farbe für die Eingabe */
}

/* Auswahlfeld und Buttons */
select, button {
    padding: 15px 25px;
    margin: 15px 0;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f8f8f8;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Hover-Effekte für Auswahl und Buttons */
select:hover, button:hover {
    border-color: #4CAF50;
    background-color: #f1f1f1;
}

/* Stil für den Konvertieren-Button */
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
}

/* Hover-Effekt für den Konvertieren-Button */
button:hover {
    background-color: #45a049;
}

/* Stil für den Download All Button */
#downloadAllBtn {
    background-color: #2196F3;
    color: white;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
}

/* Hover-Effekt für den Download-Button */
#downloadAllBtn:hover {
    background-color: #1e88e5;
}

/* Stil für Links */
a {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

/* Hover-Effekt für Links */
a:hover {
    background-color: #45a049;
}

/* Vorschau von Bildern */
#preview img {
    max-width: 100%;
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Responsives Design */
@media (max-width: 768px) {
    .container {
        padding: 30px;
        width: 90%;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    button, select, input[type="file"] {
        width: 100%;
    }

    input[type="file"] {
        font-size: 14px;
    }

    a {
        padding: 12px 25px;
    }
}