body {
  background-color: #192734;
  font-family: monospace;
}

header {
  border-bottom: 2px solid #ffbf46;
}

h1 {
  text-align: center;
  color: #8a4fff;
}

img {
  width: 100%;
  height: 100%;
}

footer {
  border-top: 2px solid #ffbf46;
  padding: 1%;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

/* Selecting any p element inside of a footer element */
footer p {
  color: #8a4fff;
}

.buttons {
  width: 50%;
  margin: 0 auto;
  margin-top: 3%;
  display: flex;
  justify-content: space-around;
}

.buttons button {
  background-color: #ffbf46;
  border: 2px solid #8a4fff;
  border-radius: 5px;
  padding: 5px;
  font-size: 1.2rem;
  width: 100px;
}

.buttons button:hover {
  cursor: pointer;
  opacity: 0.6;
}

.balance-card {
  background-color: #ffbf46;
  border: 2px solid #8a4fff;
  padding: 1%;
  width: 25%;
  margin-top: 3%;
  margin-bottom: 1%;
  border-radius: 5px;
}

/* Selecting any p element inside of an element with the .balance-card class */
.balance-card p {
  font-size: 1.2rem;
  font-weight: bold;
}

.row {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.row-item {
  background-color: ghostwhite;
  border: 2px solid #8a4fff;
  border-radius: 5px;
  height: 300px;
  width: 40%;
  overflow: scroll;
}

.row-item h3 {
  padding-left: 2%;
}

.row-item p {
  padding-left: 2%;
}

.transaction .transaction-amount {
  padding-top: 1%;
}

.transaction-amount {
  border-bottom: 1px solid black;
}

@media (max-width: 876px) {
  .row-item {
    width: 100%;
    height: 200px;
  }

  .balance-card {
    width: 100%;
    text-align: center;
    margin-right: 2%;
    margin-left: 2%;
  }
}

@media (max-width: 615px) {
  .row {
    flex-direction: column;
  }

  .row-item {
    margin-top: 1%;
  }

  .balance-card {
    width: 80%;
    margin: 0 auto;
    margin-top: 1%;
  }
}
