body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.container-main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px; /* Abstand zwischen den beiden Containern */
        margin-top: 3rem;
}

.container {
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow: 5px 5px 15px #aaaaaa, -5px -5px 15px #ffffff;
    max-width: 600px;
    padding: 20px;
    border-radius: 8px;
}

.optional-checklist {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 300px;
}

button {
    background: linear-gradient(145deg, #007bff, #0056b3);
    box-shadow: 3px 3px 8px #aaaaaa, -3px -3px 8px #ffffff;
    transition: all 0.3s ease;
}

button:hover {
    background: linear-gradient(145deg, #0056b3, #003c7a);
}

.btn-danger {
    background: linear-gradient(145deg, #dc3545, #b02a37);
    box-shadow: 3px 3px 8px #aaaaaa, -3px -3px 8px #ffffff;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: linear-gradient(145deg, #b02a37, #871f2a);
}

.ergebnisse p {
    font-size: 18px;
    color: #555;
}

.ergebnisse {
    margin-top: 10px;
    width: auto;
    align-items: center;
}

.input-small {
    width: 100%;
}

.form-control-range {
    width: 100%;
}

.form-label {
    display: block;
    text-align: center;
    margin-bottom: 5px;
    font-weight: bold;
}

.results-box {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

@media only screen and (max-width: 767px) {
    body {
        padding-top: 0px;
        margin-top: 0px;
        height: auto;
        flex-direction: column;
    }

    .btn-danger {
        margin-bottom: 10px;
    }

    .container {
        margin-top: 0;
        max-width: 90%; /* Anpassung der Breite für mobile Geräte */
    }

    .container-main {
        flex-direction: column;
        align-items: center;
    }

    .optional-checklist {
        max-width: 90%;
        margin-top: 20px; /* Abstand zwischen dem Hauptrechner und den Beilagen */
    }
}
