@import url("https://fonts.googleapis.com/css?family=Lato|Open+Sans&display=swap");

:root {
    --box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px, 2px rgba(0, 0, 0, 0.24);
    --primary-color: #a13faa;
    --secondary-color: #e7e7e7;
    --accent-color: #e74c3c;
    --hover-color: #2980b9;
    --income-background: #f0d8ec;
    --expense-background: #f2dede;
    --section-background: #f9f9f9;
}

* {
    box-sizing: border-box;
}
body {
   background-image: url(./giff.gif);
    background-color: black;
    font-family: "Open Sans", sans-serif;
    color: #333;
}

.container {
   background-color: rgb(56, 37, 62);
    max-width: 1000px;
      margin-left: auto;
    margin-right: auto;
    padding: 20px;
    h1{
        color: white;
    }
    border-radius: 10%;
}
h2{
   width: 350px;
   color: rgb(109, 226, 226);
   background-color: rgb(83, 26, 78);
   border: solid rgb(222, 222, 173) 25px;
   border-radius: 20px;
   border: dashed rgb(172, 158, 176) 5px;
}
h1, h2, h3, h4 {
    margin: 10px 0;
    font-weight: bold;
    color: white;
    font-family:cursive;
}
span{
   color: rgb(53, 55, 54);
   font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
   background-color: white;
   border: solid white 1px;
   border-radius: 8px;
}
.list li {
    background-color: var(--section-background);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 10px;
    padding: 10px;
    list-style-type: none;
    transition: transform 0.3s ease;
}

.list li.plus {
    background-color: var(--income-background);
}

.list li.minus {
    background-color: var(--expense-background);
    border-left-color: var(--accent-color);
}

.list li:hover {
    transform: scale(1.03);
}

.btn, .delete-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover, .delete-btn:hover {
    background-color: var(--hover-color);
}

input[type="text"],
input[type="number"] {
    border: 1px solid var(--secondary-color);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus {
    border-color: var(--primary-color);
}

.inc-exp-container,
.form-control,
.list {
    background-color: var(--section-background);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

h4, label {
    color: var(--primary-color);
    font-weight: bold;
}
footer{
   color: white;
   background-color: purple;
}

@media screen and (max-width: 768px) {
    .container {
        width: 90%;
        padding: 10px;
    }
}
