body {
    background-image: url(bgExpenses.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    margin: 0;
}

.container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

.bgContainer {
    width: 50%;
    height: 80%;
    background-color: rgba(32, 75, 56, 0.296);
    padding: 20px;
    border-radius: 3px;
    font-family: 'Jura', sans-serif;
    margin: 0;
}

.header {
    display: flex;
    justify-content: center;
}

h1 {
    color: rgba(16, 37, 27, 0.981);
    font-weight: bold;
    font-size: 40px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

.inputContainerOne, .inputContainerTwo {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px;
}

label {
    padding-bottom: 10px;
}

input {
    padding: 5px;
    font-size: 20px;
    border-radius: 3px;
    border: 1px solid  rgba(16, 37, 27, 0.981);
    background-color:  rgba(185, 246, 216, 0);
}

::placeholder {
    color: rgba(20, 52, 37, 0.472);
}

.peopleContainer {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.item, .itemPeople {
    display: flex;
    flex-direction: column;
    font-size: 25px;
    font-weight: bold;
    margin: 5px;
    color: rgba(20, 52, 37, 0.981);
}

.calculete {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.btn {
    width: 100%;
    padding: 10px;
    font-family: 'Jura', sans-serif;
    margin: 5px;
    font-size: 25px;
    font-weight: bold;
    color: rgba(20, 52, 37, 0.981);
    padding: .8em 1em calc(.8em + 3px);
    border: none;
    border-radius: 3px;
    background: rgb(64,199,129);
    box-shadow: 0 -3px rgb(53,167,110) inset;
    transition: 0.2s;
}

.btn:hover {
    background: rgb(53, 167, 110);
}

.btn:active {
    background: rgb(33,147,90);
    box-shadow: 0 3px rgb(33,147,90) inset;
}

.result {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px;
}

.resultAmount, .resultPerPerson {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    background-color:rgba(240, 101, 2, 0.8);
    font-size: 25px;
    font-weight: bold;
    color: rgba(20, 52, 37, 0.981);
    margin: 5px;
    padding: 10px;
    border-radius: 3px;

}

p {
    margin: 5px;
    text-align: center;
}

@media all and (max-width: 1450px) {
    form {
        display: flex;
        flex-direction: row;
    }
    .inputContainerOne, .inputContainerTwo {
        display: flex;
        justify-content: space-around;
    }
    .itemPeople, .item {
        display: flex;
        flex: 1;
    }
}

@media all and (max-width: 950px) {
    form {
        display: flex;
        flex-direction: column;
    }
    .inputContainerOne, .inputContainerTwo {
        display: flex;
        justify-content: start;
    }
    .itemPeople, .item {
        display: flex;
        flex: 1;
        font-size: 20px;
    }

    h1 {
        font-size: 30px;
    }

    .resultAmount, .resultPerPerson, .btn {
        font-size: 20px;
        padding: 5px;
    }
}

@media all and (max-width: 500px) {
    .itemPeople, .item {
        display: flex;
        flex: 1;
        font-size: 10px;
    }

    h1 {
        font-size: 20px;
    }

    .resultAmount, .resultPerPerson, .btn, input {
        font-size: 10px;
        padding: 3px;
    }

    p {
        margin: 1px;
    }

    label {
        padding-bottom: 2px;
    }

    .bgContainer, .peopleContainer, .result, .calculete,  .inputContainerOne, .inputContainerTwo {
        padding: 3px;
    }
}



