html{
	font-size: 60%;
}

body{
  	font-family: 'Roboto', sans-serif;
	font-size: 1.6rem;
	margin: 0;
}

.cardUI{
	height: 470px;
	box-sizing: border-box;
	position: relative;

	display: flex;
	justify-content: center;
	align-items: center;
}

a{
  color: #1a1a1a;
}

a:hover{
    text-decoration: none;
}

.payment-card{
	width: 60rem;
}

.payment-card__footer{
	text-align: center;
	margin-top: 2rem;
}

.bank-card{
	position: relative;
	height: 30rem;
}

.bank-card__side{
	border-radius: 10px;
	border: 1px solid transparent;
	position: absolute;
	width: 65%;
}

.bank-card__side_front{
	background-color: #f0f0ee;
	padding: 5%;
	box-shadow: 0 0 10px #f4f4f2;
	border-color: #a29e97;

	top: 0;
	left: 0;
	z-index: 3;
}

.bank-card__side_back{
	background-color: #e0ddd7;
	padding: 24.5% 5% 11%;
	box-shadow: 0 0 2rem #f3f3f3;

	text-align: right;
	border-color: #dad9d6;

	top: 12%;
	right: 0;
}

.bank-card__side_back:before{
	content: "";
	width: 100%;
	height: 25%;
	background-color: #8e8b85;

	position: absolute;
	top: 14%;
	right: 0;
}

.bank-card__inner{
	margin-bottom: 4%;
}

.bank-card__inner:last-child{
	margin-bottom: 0;
}

.bank-card__label{
	display: inline-block;
	vertical-align: middle;
}

.bank-card__label_holder, .bank-card__label_number{
	width: 100%;
}

.bank-card__month, .bank-card__year{
	width: 25%;
}

.bank-card__cvc{
	width: 25%;
}

.bank-card__hint{
	position: absolute;
	left: -9999px;
}

.bank-card__caption{
	font-size: 1rem;
  	margin-left: 1%;
}

.bank-card__field{
	box-sizing: border-box;
	border: 3px solid #d0d0ce;
	width: 100%;

	padding: 1rem;
	font-family: inherit;
	font-size: 100%;
}

.bank-card__field:focus{
	outline: none;
	border-color: #fdde60;
}

.bank-card__separator{
	font-size: 3rem;
	color: #c4c4c3;

	margin-left: 3%;
	margin-right: 3%;
	display: inline-block;
	vertical-align: middle;
}

.payment-card__button{
	background-color: #ada093;
	transition: background-color .4s ease-out;

	border-radius: 5px;
	border: 3px solid transparent;
	cursor: pointer;
	padding: 1rem 6.5rem;

	font-size: 100%;
	font-family: inherit;
	color: #fff;
}

.payment-card__button:focus{
	outline: none;
	border-color: #fdde60;
}

.payment-card__button:hover, .payment-card__button:focus{
	background-color: #8e8b85;
}
