body {
    background-image: url(bgImage.jpg);
    background-color: rgb(37, 37, 37);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    margin: 0;

}

body::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.377);
    min-height: 100%;
    background-size: cover;
    width: 100%;
    z-index: 0;
}


.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    background-color: rgba(0, 0, 0, 0.382);
    border-radius: 20px;
    width: 40%;
    height: 50%;
    padding: 30px;
    font-family: 'Play', sans-serif;
    z-index: 3;
}



h1 {
    color: #FABB51;
    font-size: 40px;
}

h3 {
    color: white;
    font-size: 20px;
}


.balance {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    font-size: 20px;
    text-align: center;
    
}

.balanceMoney, .balanceSave {
    flex: 1;
    background-color:  rgba(0, 0, 0, 0.367);
    border-radius: 10px;
    margin-bottom: 5px;
}


.balanceMoney_amt {
    color: #FABB51;
}

.balanceSave_amt {
    color: #4a8ea9;
}

.incomeExpense {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    font-size: 20px;
    text-align: center;
}

.income, .expense {
    flex: 1;
    background-color:  rgba(0, 0, 0, 0.367);
    border-radius: 10px;
}


.income_amt {
    color: #4AA96C;
}

.expense_amt {
    color:  #F05454;
}

.history {
    width: 100%;
    text-align: center;
}


.income_history {
    background-color: #4AA96C;
    color: white;
    border-radius: 3px;
    padding: 3px;
    margin: 0;
}

.expense_history {
    background-color:  #F05454;
    color: white;
    border-radius: 3px;
    padding: 3px;
    margin: 0;
}

.save {
    background-color: #4a8ea9;
    color: white;
    border-radius: 3px;
    padding: 3px;
    margin: 0;
}

.item {
    margin: 0;
    padding: 0;
    overflow-y: auto;
    height: 130px;
    scroll-margin-bottom: 0;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #FABB51;
    border-radius: 3px;
    
}

::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}


.item_li {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 18px;
    padding: 10px;
    margin-bottom: 5px;
    color: white;
    list-style: none;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.537);
    border-radius: 10px;
}

.par_li {
    margin: 0;
}

.container-form {
    width: 100%;
}


.addNew {
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 15px;
}

.addNew label {
    margin-bottom: 5px;
}

.addNew input {
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 10px;
    border: none;
}



.btn {
    padding: 10px;
    width: 100%;
    margin-bottom: 5px;
    font-size: 20px;
    font-family: 'Play', sans-serif;
    border-radius: 10px;
}


.addIncome {
    color: white;
    background-color: #4AA96C;
    border: none;
}

.addExpense {
    color: white;
    background-color: #F05454;
    border: none;
}

.addSave {
    color: white;
    background-color:  #4a8ea9;
    border: none;
}

@media all and (max-width: 1400px) {

.app {
    width: 50%;
    border-radius: 15px;
    padding: 15px;
}

h1 {
    font-size: 25px;
}

h3 {
    font-size: 15px;
}

.balance {
    font-size: 15px;
}

.incomeExpense {
    font-size: 15px;
}

.item {
    height: 70px;
}

.item_li {
    font-size: 13px;
    padding: 5px;
    border-radius: 5px;
}

.addNew {
    font-size: 10px;
}

.btn {
    font-size: 15px;
}
}

@media all and (max-width: 750px) {
    .app {
        width: 60%;
        border-radius: 10px;
        padding: 10px;
    }
        
    h1 {
        font-size: 20px;
    }
        
    h3 {
        font-size: 10px;
    }
        
    .balance {
        font-size: 10px;
    }
        
    .incomeExpense {
        font-size: 10px;
    }
        
    .item {
        height: 50px;
    }
        
    .item_li {
        font-size: 7px;
    }
        
    .addNew {
        font-size: 10px;
    }
    
    .addNew input {
        padding: 7px;
    }
        
        .btn {
        font-size: 10px;
        padding: 10px;
    }
    }

@media all and (max-width: 350px) {

.app {
    padding: 5px;
}
    
h1 {
    font-size: 15px;
}
    
h3 {
    font-size: 7px;
}
    
.balance {
    font-size: 7px;
}
    
.incomeExpense {
    font-size: 7px;
}
    
.item {
    height: 30px;
}
    
.item_li {
    font-size: 5px;
}
    
.addNew {
    font-size: 7px;
}

.addNew input {
    padding: 5px;
    border-radius: 5px;
    font-size: 7px;
}
    
    .btn {
    font-size: 10px;
    padding: 5px;
}
}

