* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: black;
  color: white;
  font-family: Arial, sans-serif;
}

.container {
  display: block;
  justify-content: space-evenly;
  width: 340px;
  margin: 50px auto;
  text-align: center;
  padding: 20px;
  background-color: rgb(36, 36, 36);
  border-radius: 10px;
}

.header {
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: bold;
}

.balance {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.balance::after {
  content: ' €';
}

.tile-container {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 20px;
  border-radius: 20px;
}

.tile {
  width: 100%;
  padding: 10px;
  font-size: 0.9rem;
  background-color: rgb(33, 186, 183, 0.4);
  color: white;
}

.tile::after {
  content: ' €';
}

.income-tile {
  border-top-left-radius: 10px;
}

.expense-tile {
  border-top-right-radius: 10px;
}

.tile-label {
  margin-right: 5px;
}

.transaction-list {
  padding: 0;
  margin-bottom: 40px;
  height: 140px;
  overflow: auto;
}

.transaction {
  width: 100%;
  margin: 10px auto;
  display: flex;
}

.transaction .column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
}

.transaction .type {
  width: 50%;
  text-align: left;
  margin-left: 20px;
}

.transaction .amount {
  width: 50%;
  text-align: right;
  margin-right: 30px;
}

.amount::after {
  content: ' €';
}

.action-buttons {
  display: flex;
}

.action-buttons:hover .action-button {
  opacity: 0.4;
}

.action-buttons .action-button:hover {
  cursor: pointer;
  opacity: 1;
}

.action-button {
  color: white;
  font-size: 1rem;
  padding: 10px 20px;
  border: none;
  text-transform: uppercase;
  width: 50%;
}

#depositeButton {
  border-bottom-left-radius: 10px;
  background-color: rgb(85, 107, 47, 0.8);
}

#withdrawButton {
  border-bottom-right-radius: 10px;
  background-color: rgb(205, 92, 92, 0.8);
}
