* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: rgb(20, 20, 30);
}

.wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  padding-block: 50px;
}

.title {
  color: white;
  font-size: 40px;
  text-align: center;
}

.description {
  color: rgb(200, 200, 200);
  font-size: 18px;
  padding-top: 20px;
}

.balance {
  font-size: 70px;
  padding-block: 30px;
  color: white;
  font-weight: bold;
  text-shadow: 0px 0px 10px rgb(150, 150, 150);
}

#cent {
  font-size: 40px;
}

.form {
  width: 700px;
  display: flex;
  border-radius: 10px;
  background-color: rgb(10, 10, 20);
  overflow: hidden;
  margin-bottom: 30px;
}

.form input {
  background-color: transparent;
  border: none;
  outline: none;
  color: rgb(200, 200, 200);
  font-size: 20px;
  padding: 15px 30px;
  width: 42.5%;
  flex: 2;
}

.form input:first-of-type {
  flex: 3;
}

.form button {
  flex: 1.3;
  cursor: pointer;
  border: none;
  outline: none;
  font-size: 20px;
  font-weight: bold;
  color: white;
  background-color: rgb(100, 100, 250);
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.form button:hover {
  background-color: rgb(130, 130, 250);
}

.list {
  width: 700px;
  border-radius: 10px;
  flex: 1;
  background-color: rgb(10, 10, 20);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: rgb(200, 200, 200);
  font-size: 18px;
  padding: 30px;
}

.list-item {
  display: flex;
  width: 100%;
  gap: 15px;
  align-items: center;
}

.list-item span {
  flex: 1;
}

.list-item .item-name {
  flex: 2;
}

.item-btn {
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.item-btn:hover {
  transform: scale(1.25);
}

.positive {
  color: rgb(120, 200, 120);
}

.negative {
  color: rgb(255, 120, 120);
}

.footer,
#clear {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: gray;
  font-weight: bold;
  font-size: 12px;
}

#clear {
  right: 30px;
  left: auto;
  cursor: pointer;
}
