@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900');

body {
	margin: auto;
	padding: 0;
	background-color: #2a2b38;
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/pat.svg');
	font-family: 'Poppins', sans-serif;
  }
  
.main {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 10px;
	margin: auto;
}

.dataBox {
	width: 250px;
	height: 20px;
	border-radius: 15px;
	padding: 5px 10px;
	margin: 20px 0 10px 0;
	font-size: 15px;
	outline: none;
	border-color: #F9A826;
	text-align: center;
	border-width: 2px;
}

.btn {
	position: relative;
	height: 30px;
	width: 200px;
	margin: 10px 0;
	padding: 8px 16px;
	text-align: center;
	border-radius: 15px;
	border: none;
	background-color: #F9A826;
	color: #f0f8ff;
	font-weight: 600;
	font-size: 13px;
	overflow: hidden;
	cursor: pointer;
}

.btn:after {
	content: "";
	display: block;
	position: absolute;
	background: #fefcd3;
	border-radius: 30px;
	padding-top: 250%;
	padding-left: 300%;
	margin-left: -15px !important;
	margin-top: -100%;
	opacity: 0;
	transition: all 0.8s;
}

.btn:active:after {
	padding: 0;
	margin: 0;
	opacity: 1;
	transition: 0s;
}

.qrdiv {
	text-align: center;
}

.qrcode {
	margin: 15px 0;
}

.qrcode > img {
	background-color: #fff;
}

.hide {
	display: none;
}

.error {
	border-color: #e22416;
}

.shake {
	animation: shake 0.5s;
	animation-iteration-count: infinite;
}

@keyframes shake {
	0% {
		transform: translate(1px, 1px) rotate(0deg);
	}
	10% {
		transform: translate(-1px, -2px) rotate(-0.5deg);
	}
	20% {
		transform: translate(-3px, 0px) rotate(0.5deg);
	}
	30% {
		transform: translate(3px, 2px) rotate(0deg);
	}
	40% {
		transform: translate(1px, -1px) rotate(0.5deg);
	}
	50% {
		transform: translate(-1px, 2px) rotate(-0.5deg);
	}
	60% {
		transform: translate(-3px, 1px) rotate(0deg);
	}
	70% {
		transform: translate(3px, 1px) rotate(-0.5deg);
	}
	80% {
		transform: translate(-1px, -1px) rotate(0.5deg);
	}
	90% {
		transform: translate(1px, 2px) rotate(0deg);
	}
	100% {
		transform: translate(1px, -2px) rotate(-0.5deg);
	}
}


/* cards design */
  
  .left {
	left: 25px;
  }
  
  .right {
	right: 25px;
  }
  
  .center {
	text-align: center;
  }
  
  .bottom {
	position: absolute;
	bottom: 25px;
  }
  
  #gradient {
	margin-top: 100px;
  }
  
  #gradient:after {
	content: "";
	position: absolute;
	background: #E9E2D0;
	left: 50%;
	margin-top: -67.5px;
	margin-left: -270px;
	padding-left: 20px;
	border-radius: 15px;
	width: 440px;
	height: 550px;
	z-index: -1;
  }
  
  #card {
	position: absolute;
	width: 370px;
	height: 475px;
	padding: 25px;
	padding-top: 0;
	padding-bottom: 0;
	left: 50%;
	top: 67.5px;
	margin-left: -250px;
	background: #E9E2D0;
	box-shadow: -20px 0 35px -25px black, 20px 0 35px -25px black;
	z-index: 5;
	border-radius: 15px;
  }

  
