body {
    background-image: url(./src/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.container, header, body, .main-space {
display: flex;
align-items: center;
justify-content: center;
align-content: center;
}

.container {
    width: 50vw;
    max-width: 1000px;
    min-width: 500px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

img {
    max-width: 135px;
    max-height: 135px;
    margin: 20px;
    border-radius: 50%;
}

header {
    flex-basis: 100%;
    margin: 100px auto 20px auto;
    display: flex;
    flex-direction: column;
}

#available-budget {
    background-color: white;
    font-size: large;
    font-weight: bold;
    padding: 10px;
    border: solid 2px;
}

.main-space {
flex-wrap: wrap;
}

.income, .outcome {
    width: 25vw;
    max-width: 500px;
    min-width: 250px;
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    border: 2px solid;
    flex-basis: 50%;
}
.income {
    background-color: rgb(64, 255, 47);
    border-right: 1px solid;
    border-bottom: 1px solid;
}
.outcome {
    background-color: rgb(243, 72, 72);
    border-left: 1px solid;
    border-bottom: 1px solid;
}

.income-list-div, .outcome-list-div {
    width: 25vw;
    max-width: 500px;
    min-width: 250px;
    border: 2px solid;
    flex-basis: 50%;
    min-height: 50vh;

}

.income-list-div { 
    background-color: greenyellow;
    border-right: 1px solid;
    border-top: 1px solid;
    display: flex;
    justify-content: space-between;
    flex-direction: column
}
.outcome-list-div {
    background-color: lightcoral;
    border-left: 1px solid;
    border-top: 1px solid;
    display: flex;
    justify-content: space-between;
    flex-direction: column
}

.sum-area-income {
    background-color: rgb(42, 165, 108);
    align-items: center;
    display: flex;
    border-top: 2px solid;
}

.sum-area-outcome {
    background-color: brown;
    align-items: center;
    display: flex;
    border-top: 2px solid;
}


p {
    margin: 20px;
    font-weight: bold;
    font-size: medium;
}

.item-class {
    margin-top: 10px;
    margin-left: 25px;
    position: relative;
}

.positions-button {
    margin-left: 20px;
    position: absolute;
    right: 70px;
}

.delete-button {
    margin-left: 20px;
    position: absolute;
    right: 10px;
}

.save-button {
    margin-left: 6px;
}

.edit-text-field, .edit-value-field {
    max-width: 155px;
}
.edit-value-field{
    margin-left: 6px;
}

.edit-form {
    display: inline-block;
}

#income-total {
    font-weight: bolder;
}

#outcome-total {
    font-weight: bolder;
}

.income-positions, .outcome-positions {
    min-height: 50vh;
    max-height: 50vh;
    overflow-y: scroll;
}