* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: white;
    color: teal;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    margin-bottom: 80px; /* provides some white space on the  bottom*/
}

header {
    font-size: 1.5rem;
}

header, form {
    min-height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

h2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

form input, form button {
    padding: 0.5rem;
    font-size: 2rem;
    border: none;
    background: white;
    border: 1px solid teal;
}

form button {
    color: teal;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

form button:hover{
    background: teal;
    color: white;
}

.income-container, .expense-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.income-list, .expense-list {
    min-width: 30%;
    list-style: none;
}

.income, .expense {
    margin: 0.5rem;
    background: white;
    color: black;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s ease;
}

.income-input-value, .expense-input-value {
    max-width: 15%;
}

.income li, .expense li {
    flex: 1; /* will make the complete and trash buttons be side by side */
}

.income-item, .expense-item {
    padding: 0rem 0.5rem;
}

@media screen and (max-width: 800px) {
    body {
        background-color: white;
        color: teal;
        font-family: 'Poppins', sans-serif;
        min-height: 100vh;
        margin-bottom: 40px; /* provides some white space on the  bottom*/
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    form input, form button {
        padding: 0.5rem;
        font-size: 1rem;
        border: none;
        background: white;
        border: 1px solid teal;
    }
}