@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400");

body {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
background:#030914;
}

.container {
  display: flex;
  justify-content: center;
}

.iphone {
  background-color: #030914; /*0249c1 */
  margin: 0px;
  padding:0px;
  height: 900px;
  width: 100%;
  padding: 0px;
  overflow: hidden;
  position: relative;
  transform-origin: top center;
}

.header {
  height: 30%;
   background-image: linear-gradient(to bottom, #05183f, #8c00a9);
    border-bottom-right-radius: 40px;
  border-bottom-left-radius: 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.header::before {
  content: "";
  height: 200px;
  width: 200px;
  background-color: #2b76be;
  border-radius: 50%;
  position: absolute;
  top: -60px;
  left: -100px;
  z-index: 2;
}

.header::after {
  content: "";
  height: 100px;
  width: 100px;
  background-color: #1b59af;
  border-radius: 50%;
  position: absolute;
  right: -20px;
  bottom: -30px;
  z-index: 2;
}

.header-summary {
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", sans-serif;
  color: white;
  z-index: 3;
}

.summary-text {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.summary-balance {
  font-size: 2rem;
  letter-spacing: 1.5px;
  margin-bottom: 0.8rem;
}

.summary-text-2 {
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.user-profile {
  margin-top: 4rem;
  height: 70px;
  width: 70px;
  align-self: flex-start;
}

.user-photo {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  border: 3px solid #525252;
  box-shadow: 5px 5px 25px 0px rgba(0, 0, 0, 0.2);
}

.content {
  z-index: 4;
  position: absolute;
  top: 200px;
  margin-left: 30px;
  display: flex;
  flex-direction: column;
  width: 90%;
 }

.card {
  font-family: "Montserrat", sans-serif;
  align-self: stretch;
     background-image: linear-gradient(to bottom, #263988, #011235);
   border-radius: 12px;
  display: flex;
  flex-direction: column;
  color:#FFFFFF;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.02), 0 10px 10px rgba(0, 0, 0, 0);
}

.upper-row {
  display: flex;
  justify-content: space-evenly;
  padding-bottom: 25px;
  padding-top: 10px;
}

.card-item {
  margin: 20px;
  display: flex;
  flex-direction: column;
}

.card-item span:first-child {
  font-size: 0.7rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-item span:last-child {
  font-size: 1.2rem;
  font-weight: 300;
}

.dollar {
  color: #ffc168;
}

.lower-row {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 20px;
}

.lower-row::before {
  content: "";
  display: block;
  position: absolute;
  top: 110px;
  width: 50%;
  left: 25%;
  border-top: 1px solid #e1e1e1;
}

.icon-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.icon {
  color: #ffc168;
  padding: 10px;
  background-color: #fbfbfb;
  border-radius: 5px;
  margin-bottom: 5px;
}

.icon-text {
  font-size: 0.6em;
  color: #939393;
}

.transactions {
  font-family: "Montserrat", sans-serif;
  display: flex;
  position: relative;
  flex-direction: column;
}

.t-desc {
  font-size: 0.8rem;
  font-weight: bold;
  padding-bottom: 10px;
}

.transaction {
  cursor: default;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
       background-image: linear-gradient(to bottom, #80c9ff, #178df4);
   box-shadow: 0 14px 28px rgba(0, 0, 0, 0.02), 0 10px 10px rgba(0, 0, 0, 0);
  border-radius: 12px;
  margin-bottom: 5px;
}

.t-details {
  width: 55%;
}

.t-icon-container {
  width: 45px;
  align-self: flex-start;
}

.t-icon {
  width: 100%;
  border-radius: 50%;
  box-shadow: 5px 5px 25px 0px rgba(0, 0, 0, 0.2);
}

.t-title {
  text-align: left;
  flex-grow: 1;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.t-time {
  font-size: 0.6rem;
  opacity: 0.6;
  font-weight: 300;
  letter-spacing: 1px;
}

.t-amount {
  font-size: 0.7rem;
  letter-spacing: 1px;
  font-weight: 400;
  color: blue;
}

.red {
  color: #f4532d;
}

.drawer {
  display: flex;
  background-color: white;
  height: 80px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  z-index: 5;
  justify-content: space-evenly;
  align-items: center;
background-image: linear-gradient(to bottom, #0143b2, #011035);
}

.drawer span {
  display: inline-block;
  font-size: 1.5rem;
  color: #334d4d;
  transition: all 0.4s;
  cursor: pointer;
}

.drawer span i:hover {
  transform: scale(1.2);
  border-bottom: 2px solid orange;
}

.drawer span i {
  transition: all 0.3s ease;
  padding-bottom: 8px;
}

.menu-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  top: -25px;
  position: absolute;
/*  transform: rotate(-45deg); */
  border-radius: 10px;
  box-shadow: 5px 5px 25px 0px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.1s;
  opacity: 0.9;
}

.menu-btn:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.menu-btn i {
  font-size: 1.5em;
  transform: rotate(45deg);
}

.footer {
  margin-top: 20px;
  text-align: center;
}

.transaction:hover {
  box-shadow: 0 1px 5px -1px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
