@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');


:root {
    --box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

* {
    box-sizing: border-box;
}


body {
    background-color: #e6e6e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.__container {
    margin: 30px auto;
    width: 350px;
}

h1 {
    letter-spacing: 1px;
    margin: 0;
    margin-top: 20px;
}

h3 {
    border-bottom: 1px solid #bbb;
    padding-bottom: 10px;
    margin: 40px 0 10px;
}

h4 {
    margin: 0;
    text-transform: uppercase;
}

.__inc-exp-container {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.__inc-exp-container>div {
    flex: 1;
    text-align: center;
}

.__inc-exp-container>div:first-of-type {
    border-right: 3px solid #dedede;
}

.__money {
    font-size:16px;
    letter-spacing:1px;
    margin:5px 0;
}

.__money.plus {
    color:#2ecc71;
}

.__money.minus {
 color:#c0392b;
}

label {
    display: inline-block;
    margin:10px 0;
}

input[type='number'], input[type='text']{
    border:1px solid #dedede;
    border-radius: 2px;
    display: block;
    font-size: 16px;
    padding: 10px; 
    width:100%;
} 

.__btn {
    cursor: pointer;
    background-color: #2F9599;
    box-shadow: var(--box-shadow);
    color:#fff;
    border:0;
    display:block;
    font-size: 16px;
    margin: 10px 0 30px;
    padding: 15px;
    width: 100%;
    text-transform: uppercase;
    border-radius: 10px;
}

.__list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.__list li {
   background-color: #fff;
   box-shadow: var(--box-shadow);
   color:#333;
   display:flex;
   justify-content: space-between;
   position: relative;
   padding: 10px;
   margin:10px 0

}

.__list li.plus {
border-right: 10px solid #2ecc71;
 }

 .__list li.minus {
    border-right: 10px solid #c0392b;
}

.__deleteButton{
    cursor: pointer;
    background-color: #e74c3c;
    border:0;
    color:#fff;
    font-size: 20px;
    line-height: 20px;
    padding: 5px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-100%,-50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}


.__list li:hover .__deleteButton {
    opacity: 1;
}
