
:root {
    --box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px, 2px rgba(0, 0, 0, 0.24);
    --primary-color: #020212;
    --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(url());
    background-color: white;
    font-family: "Open Sans", sans-serif;
    color: #333;
}
.container {
   
    background-color: rgb(56, 37, 62);
    max-width: 800px;
      margin-left: auto;
    margin-right: auto;
    padding: 25px;
    h1{
        color: rgb(255, 255, 255);
    }
    border-radius: 5%;
}
h2{
    width: 350px;
    color: rgb(109, 226, 226);
    background-color: rgba(16, 12, 16, 0.027);
}
h2{
   width: 350px;
   color: rgb(109, 226, 226);
   background-color: rgb(61, 4, 56);
   border: solid rgb(18, 18, 18) 25px;
   border-radius: 20px;
   border: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(pink-color);
    color: rgb(18, 18, 19);
    border: none;
    padding: 10px;
    border-radius: px;
    cursor: pointer;
    transition: background-color 0.1s ease;
}

.btn:hover, .delete-btn:hover {
    background-color: var(--hover-color);
}

input[type="text"],
input[type="number"] {
    border: rgba(191, 57, 175, 0.027) solid var(Black-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;
}
.btn {
    margin: 10px;
    padding: 15px 40px;
    border: none;
    outline: none;
    color: black;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 20px;
  }
  .btn::after {
    content: "";
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    left: 0;
    top: 0;
    border-radius: 20px;
  }
  .btn::before {
    content: "";
    background: linear-gradient(
      45deg,
      #FF0000, #FF7300, #FFFB00, #48FF00,
      #00FFD5, #002BFF, #FF00C8, #FF0000
    );
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 600%;
    z-index: -1;
    width: calc(100% + 4px);
    height:  calc(100% + 4px);
    filter: blur(8px);
    animation: glowing 15s linear infinite;
    transition: opacity .5s ease-in-out;
    border-radius: 20px;
    opacity: 0;
  }
  
  @keyframes glowing {
    0% {background-position: 0 0;}
    50% {background-position: 400% 0;}
    100% {background-position: 0 0;}
  }
  .btn:hover::before {
    opacity: 1;
  }
  
  .btn:active:after {
    background: transparent;
  }
  
  .btn:active {
    color: #000;
    font-weight: bold;
  }

@media screen and (max-width: 768px) {
    .container {
        width: 90%;
        padding: 10px;
    }
}
