*, *::before, *::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 2rem;
}

body {
  padding-bottom: 0;
  font-family: "Open Sans", sans-serif;
  background: linear-gradient(to bottom right, #6acd0c, 30%, #000000);
  min-height: 100vh;
}

@keyframes popup {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0rem);
  }
}
.header {
  background: #fff;
  height: 10rem;
  max-width: 150rem;
  font-family: "Amatic SC", cursive;
  padding: 2rem;
  border-top-left-radius: 5rem;
  border-top-right-radius: 5rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(10rem, 1fr));
}
.header__logo {
  display: flex;
  font-size: 300%;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  justify-content: center;
  grid-column-start: 2;
}

.banky {
  background: #fff;
  min-height: calc(100vh - 10rem - 4rem);
  display: grid;
  grid-template-columns: 40% 60%;
  padding: 4rem;
  max-width: 150rem;
  margin: 0 auto;
  animation-delay: 0.8s;
}
.banky__section {
  display: flex;
}
.banky__section--left {
  flex-direction: column;
  justify-content: space-between;
}
.banky__header {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
}
.banky__header > div {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.banky__money {
  font-weight: 400;
  font-size: 250%;
}
.banky__money--blur {
  filter: blur(20px);
}
.banky__logo {
  border-radius: 50%;
  font-size: 2rem;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(to bottom right, #6acd0c, 30%, #000000);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  box-shadow: 0 0.2rem 0.5rem 0 rgba(0, 0, 0, 0.2);
  transition: 0.2s all;
}
.banky__eye {
  background: linear-gradient(to bottom right, #6acd0c, 30%, #000000);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  box-shadow: 0 0.2rem 0.5rem 0 rgba(0, 0, 0, 0.2);
}
.banky__transactions {
  padding: 2rem;
  padding-top: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 50rem;
  overflow-y: scroll;
}
.banky__transactions--blur {
  filter: blur(20px);
}
.banky__transaction {
  display: flex;
  font-size: 120%;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-bottom: 0.5rem;
  animation-name: popup;
  animation-duration: 0.6s;
}
.banky__transaction::after {
  content: "";
  width: 100%;
  height: 3%;
  background: linear-gradient(to bottom right, #6acd0c, 30%, #000000);
  border: 0.2rem;
  position: absolute;
  bottom: 0;
  left: 0;
}
.banky__name, .banky__amount {
  font-weight: 300;
  font-size: 120%;
}
.banky__transferButton {
  background: linear-gradient(to bottom right, #6acd0c, 30%, #000000);
  font-size: 100%;
  border: none;
  padding: 1rem;
  margin-top: 2rem;
  color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 0.5rem 0 rgba(0, 0, 0, 0.2);
  transition: 0.4s all;
  margin-left: 2rem;
}
.banky__transferButton:hover {
  cursor: pointer;
  background: #fff;
  color: #000000;
  box-shadow: inset 0 0 0 0.2rem #000000;
}
.banky__accounts {
  list-style: none;
  display: flex;
  align-items: flex-start;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  justify-content: center;
  animation-name: popup;
  animation-duration: 0.6s;
}
.banky__switchAccount, .banky__eyeButton {
  background: none;
  border: none;
}
.banky__switchAccount:hover, .banky__eyeButton:hover {
  cursor: pointer;
}
.banky__switchAccount:hover .banky__logo, .banky__eyeButton:hover .banky__logo {
  background: linear-gradient(to bottom right, #6acd0c, 30%, #000000);
}
.banky__account {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.banky__account:hover {
  cursor: pointer;
}
.banky__nameOfAccount {
  font-weight: 400;
  font-size: 120%;
}

/*firefox only*/
body {
  scrollbar-color: #6acd0c white; /* scroll thumb and track */
}

@media screen and (max-width: 62.5rem) {
  .banky {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
  }
  .banky__accounts {
    align-items: flex-start;
    position: relative;
    padding-bottom: 2rem;
  }
  .banky__accounts::after {
    content: "";
    width: 100%;
    height: 3%;
    background: linear-gradient(to bottom right, #6acd0c, 30%, #000000);
    border: 0.2rem;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 0.1rem;
  }
}
@media screen and (max-width: 37.5rem) {
  body {
    padding: 0;
  }
  .header {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    display: flex;
  }
  .banky__transactions {
    height: auto;
    overflow: auto;
  }
}
.avatarWrapper {
  height: 100%;
  width: 100%;
  grid-column-start: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.avatar {
  width: 8rem;
  height: 8rem;
  background: #000000;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 0.6rem solid #000000;
  cursor: pointer;
}
.avatar__head {
  width: 40%;
  height: 40%;
  background: #6acd0c;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.8s all;
}
.avatar__body {
  width: 70%;
  height: 50%;
  background: #6acd0c;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 100%;
}
.avatar:hover .avatar__head {
  cursor: pointer;
  transform: translate(-50%, -50%) scale(1.1);
}

/*# sourceMappingURL=style.css.map */
