/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

input {
  border: none;
  font: inherit;
  padding: 10px 15px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

button {
  border: none;
  cursor: pointer;
  padding: 15px 25px;
  font: inherit;
  background: none;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* KEYFRAMES */
@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* BASE STYLES */
body {
  font-family: "Inter", sans-serif;
  /* /background: rgb(83, 107, 142); */
  background: rgb(148,187,233);
  background: radial-gradient(circle, rgba(148,187,233,1) 0%, rgba(111,139,36,0.3253895308123249) 0%);
  height: 100px;
  display: flex;
  justify-content: center;
  min-height: 600px;
}

.header {
  position: absolute;
  top: 0;
  background: #57065e;
  width: 100%;
  min-height: 80px;
  text-align: center;
}

.wrapper {
  height: 490px;
  display: flex;
  margin-top: 100px;
}

.app {
  background: #fff;
  width: 400px;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding-bottom: 35px;
  margin-right: 30px;
}

/* STYLES */
.logo {
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  line-height: 80px;
  font-size: 25px;
  opacity: 0.95;
}

.logo > span {
  font-weight: 400;
  font-style: italic;
  color: #0072e4;
}

.top {
  background: #f2f2f2;
  height: 100px;
  border-radius: 8px 8px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.first-heading {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 3px;
}

.balance-number {
  font-size: 30px;
  font-weight: 700;
}

.balance-number--special {
  color: red;
  font-size: 50px;
  font-weight: 800;
}

.overview {
  width: 80%;
  margin: 0 auto;
  margin-top: 30px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
}

.section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.overview > .section:nth-child(2) {
  border-left: 1px solid rgba(0, 0, 0, 0.144);
}

.second-heading {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.form {
  width: 80%;
  margin: 0 auto;
  margin-top: auto;
}

.label {
  display: block;
  margin-bottom: 5px;
}

.input {
  width: 100%;
  margin-bottom: 10px;
}

.btn {
  border-radius: 4000px;
  text-transform: uppercase;
  width: 100%;
  color: #fff;
  background-color: #0072e4;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn:hover {
  background-color: #0068cf;
}

.transactions-section {
  width: 250px;
}

.third-heading {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.transaction {
  position: relative;
  font-size: 15px;
  background: #fff;
  border-radius: 3px;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 15px 20px;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 8px;
  animation: fade-in 0.3s;
  cursor: pointer;
}

.transaction--income {
  border-right: green 5px solid;
}

.transaction--expense {
  border-right: red 5px solid;
}

.transaction__text {
}

.transaction__amount {
  margin-left: auto;
}

.transaction__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -170%);
  transition: all 0.3s;
  background: rgb(13, 113, 172);
  width: 100%;
  height: 100%;
  z-index: 100;
  color: #ffffffdb;
}

.transaction:hover .transaction__btn {
  transform: translate(-50%, -50%);
}
