* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    background-color: rgb(246, 247, 251);
}

.container {
    display: flex;
    flex-direction: column;
    width: 700px;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    flex-direction: row;
    width: 100%;
    margin-bottom: 15px;
}

.budget,
.expense {
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    background-color: white;
    display: flex;
    flex-direction: column;
    width: 48%;
    height: 220px;
    border-radius: 5px;
}

h1 {
    font-size: 20px;
    color: rgb(70, 70, 70);
    margin: 0;
    margin-bottom: 10px;
    font-weight: bolder;
}

input {
    color: rgb(155, 155, 155);
    border: 1px solid rgb(155, 155, 155);
    border-radius: 5px;
    outline: none;
    font-size: 14px;
    padding: 7px 5px;
    margin-bottom: 10px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: lighter;
}

input::placeholder {
    color: rgb(155, 155, 155);
    font-weight: lighter;
}

button {
    background-color: rgb(84, 126, 247);
    border: none;
    outline: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 120px;
    font-weight: bolder;
    margin-top: 5px;
    cursor: pointer;
}

.row2-cover {
    padding: 15px 10px;
    background-color: rgb(84, 126, 247);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    border-radius: 5px;
    color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: max-height 1s ease-in-out;
}

h2 {
    font-size: 16px;
    font-weight: bolder;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    font-weight: lighter;
}

.balance,
.total,
.expenses {
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.expense-list {
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    background-color: white;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 5px;
}
.expense-list h1{
    margin: 0;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.list-item{
    display: flex;
    padding: 10px 7px;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    border-left: 5px solid rgb(84, 126, 247);
    padding-left: 10px;
    margin-bottom: 10px;
}
h3{
    font-size: 16px;
}
p i{
    color: rgb(84, 126, 247);
    font-size: 18px;
    cursor: pointer;
}
.showStats{
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    opacity: 0.6;
    display: none;
}
@media screen and (max-width:710px) {
    .row1{
        flex-direction: column;
        gap: 20px;
    }
    .expense,.budget{
        width: 100%;
    }
}
@media screen and (max-width:370px) {
    .row2-cover{
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 50%;
        position: absolute;
        bottom: 10px;
        right: 10px;
        margin-bottom: 0;
        max-height: 0;
        padding: 0;
        overflow: hidden;
    }
    .row2-cover h2{
        text-align: center;
    }
    .showStats{
        display: inline-block;
    }
    .row1{
        margin-bottom: -10px;
    }
}