body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    text-align: center;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-controls {
    display: flex;
    align-items: center;
}

input[type="number"] {
    width: 100%;
    text-align: center;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f0f0f0;
    pointer-events: none;
    margin: 0 10px;
}

input[type="number"]:focus {
    outline: none;  /* Entfernt den Standard-Fokus-Stil */
}

button {
    padding: 5px 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 33px !important;
    height: 33px !important;
}

button:hover {
    background-color: #0056b3;
}

#result {
    margin-top: 20px;
    text-align: center;
}

#totalPfand {
    font-size: 24px;
    font-weight: bold;
    color: #007BFF;
}

h1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 img {
    height: 37px;
    width: auto;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        height: 100vh; /* Setzt die Höhe auf die Höhe des Viewports */
        box-sizing: border-box; /* Verhindert, dass Padding die Gesamtbreite und -höhe überschreitet */
    }

    form {
        padding: 10px; /* Etwas kleineres Padding auf mobilen Geräten */
    }

    input[type="number"] {
        width: 100%; /* Stellt sicher, dass das Input-Feld die volle Breite einnimmt */
    }
}

@media (max-height: 680px) {
    h1, h2 {
        margin: 5px 0;
    }
}