.field-container {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    cursor: move;
}
.field-label {
    width: 60px;
}
.field-input {
    margin-right: 8px;
    flex-grow: 1;
}
.field-buttons button {
    margin-left: 4px;
}


.input-box {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px;
    cursor: move;
}
.input-label {
    width: 60px;
}
.input-text {
    margin-right: 8px;
    flex-grow: 1;
}
.delete-button button {
    margin-left: 4px;
}



/* übernommenes: */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    /*background-color: rgba(90, 187, 243, 0.493);*/
    background-color: rgba(240, 244, 246, 0.91);
}
.section {
    margin-bottom: 20px;
}

#argumentSection { /* div Element mit Argument */
    background-color: #cfdee0;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    /*
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;*/
}

#resultSection { /* div Element mit Argument */
    background-color: #cfdee0;
    padding: 10px;
    border-radius: 20px;
    justify-content: space-between;
    text-align: left;
}

.input-box {
    margin-bottom: 10px;
}

.upperHalf {
}

.lowerHalf {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.left-column {
    width: 100%;
}

.right-column {
    width: 25%; /* Beide Spalten haben jeweils 48% der Breite */
}
.delete-btn {
    margin-left: 10px;
    color: red;
    cursor: pointer;
}
.sum-section {
    margin-top: 20px;
}
button {
    display: inline-flex;
    margin: 10px 0;
    font-size: 18px;
    padding: 10px 10px;
    border-radius: 10px;
    background-color: rgb(207, 110, 129);
    color: black;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
button:hover {
    background-color: rgb(194, 38, 68);
}

button[type="submit"] { /*Check Validity-Button*/
    display: inline-flex;
    background-color: rgb(85, 177, 120);
}
button[type="submit"]:hover { /*Check Validity-Button*/
    display: inline-flex;
    background-color: rgb(12, 157, 67);
}

button[type="menu"] {
    display: inline-flex;
    background-color: rgb(90, 160, 240);
}
button[type="menu"]:hover {
    background-color: rgb(36, 129, 239);
}

input[type="text"] {
    width: 75%;
    height: 100%;
    padding: 5px;
    font-size: 16px;
    margin-top: 3px;
    white-space: normal;  /* Ermöglicht Zeilenumbrüche im Text */
    word-wrap: break-word; /* Bricht lange Wörter um */
}


hr {
    width: 85%;
    border: 0;
    border-top: 1px solid #303030;
    margin: 20px 0;
}

.right-column {
    padding-left: 20px;
}

.output-box {
    margin-bottom: 10px;
    padding: 5px;
    background-color: #cfdee0;
    border: none;
}





/* Modal-Fenster für Help button*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #cfdee0;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: black;
}

a {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
}

table {
    border-collapse: collapse;
    width: 80%;
    margin: 20px auto;
}

th, td {
    border: 1px solid #999;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #c9c9c9;
}
td {
    background-color: #eee;
}

/* Box für die Validity-Definition */
.centered-box {
    display: inline-block;          /* Nur so breit wie der Inhalt */
    background-color: #eee;      /* Hintergrund nur hinter dem Text */
    padding: 10px 15px;             /* Optional: Abstand innen */
    text-align: center;             /* Text im Kasten zentriert */
    margin: 0 auto;                 /* Block horizontal zentrieren */
    border-radius: 8px;             /* Optional: abgerundete Ecken */
    font-family: 'Cambria Math', Cambria, serif;
}




/* Colors for structure */
.color1 {
    color: red;
}
.color2 {
    color: green;
}
.color3 {
    color: blue;
}
.color4 {
    color: GoldenRod;
}
.color5 {
    color: DarkMagenta;
}
.color6 {
    color: DarkOrange;
}
.color7 {
    color: teal;
}
.color8 {
    color: MediumSlateBlue;
}
.color9 {
    color: Violet;
}
.color10 {
    color: SaddleBrown;
}
.color11 {
    color: Crimson;
}
.color12 {
    color: DarkOliveGreen;
}
.color13 {
    color: DarkSalmon;
}
.color14 {
    color: LightSkyBlue;
}
.color15 {
    color: Olive;
}