*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Great Vibes',cursive;
}
body{
    background-color: #f7f9fd;
}
.wrapper{
    width: 90%;
    font-size: 17px;
    max-width: 43.75em;
    margin: 1em auto;
}
.container{
    width: 100%;
}
.sub-container{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
}
.flex{
    display: flex;
    align-items: center;
}
.flex-space{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wrapper h3{
    font-weight: 600;
    color: #363d55;
    margin-bottom: 0.6em;
}
.container input{
    display: block;
    width: 100%;
   padding: 0.6em 0.3em;
   border: 1px solid #d0d0d0;
   border-radius: 0.3em;
   color: #414a67;
   outline: none;
   font-weight: 400;
   margin-bottom: 0.6em;
   
}
.total-amount-container,
.user-amount-container{
    margin-top: 10px;
    background-color: #fff;
    padding: 1.25em 1.4em;
    border-radius: 0.3em;
    box-shadow: 0 0.6em 1.2em rgba(28, 0, 80, 0.06);
}
.output-container{
    background-color: rgb(78, 131, 235);
    color: white;
    border-radius: 0.3rem;
    margin: 2em 0;
    padding: 1.2em;
    box-shadow: 0 0.6em 1.2em rgba(80, 0, 28, 0.06);
}
.output-container p{
    font-weight: 500;
    margin-bottom: 0.7em ;
}
.output-container span{
    font-weight: 400;
    text-align: center;
    display: block;
    color: #e5e5e5;
}
.submit{
    font-size: 1em;
    margin-top: 0.7em;
    background-color: rgb(88, 125, 200);
    border: none;
    outline: none;
    color: #fff;
    padding: 0.6em 1.2em;
    border-radius: 0.3em;
    cursor: pointer;
}
.list{
    background-color: #fff;
    padding: 1.8em 1.3em;
    box-shadow: 0 0.6em 1.2em rgba(20,0,80,0.06);
}
.sublist-content{
    width: 100%;
    border-left: .3em solid rgb(88, 125, 200);
    margin-bottom: 0.6em;
    padding: 0.5em 0;
}
.product{
    font-weight: 500;
    margin-left: 1.5em;
    color: #363533;
}
.amount{
    color: #414a67;
    margin-left: 20%;
}
.icons-container{
    width: 5em;
    margin: 1.2em;
    align-items: center;
}
.product-title{
    margin-bottom: 1.2em;
}
.hide{
    display: none;
}
.error{
    color: #ff4658;
    margin-bottom: .4em;
}
.edit{
    margin-left: auto;
}
.edit, .delete{
    background-color: transparent;
    cursor: pointer;
    margin-right: 1.5em;
border: none;
color: rgb(78, 131, 235);
}