#visa-card-3d-holder {
  height: 100%;
  display:block;
  margin-top:30px;
  margin-left:-30px;
	-webkit-transform: scale(0.95);
	  -ms-transform: scale(0.95);  
		  transform: scale(0.95);
	
  touch-action: none;		  
		  		  
}


@media (max-width: 991px) {

	#visa-card-3d-holder {
		margin-left:-70px;
	 	-webkit-transform: scale(0.8);
		  -ms-transform: scale(0.8);  
			  transform: scale(0.8);		  
	
	}

}

@media screen and (max-width: 767px) {

	#visa-card-3d-holder {
		margin-left:-30px;	
	}
}

@media screen and (max-width: 580px) {

	#visa-card-3d-holder {
	    margin-top:0px;
		margin-left:-20px;	
	 	-webkit-transform: scale(0.7);
		  -ms-transform: scale(0.7);  
			  transform: scale(0.7);		  
	}
}
@media screen and (max-width: 480px) {

	#visa-card-3d-holder {
		margin-left:-40px;	
	 	-webkit-transform: scale(0.6);
		  -ms-transform: scale(0.6);  
			  transform: scale(0.6);		  
	}
}




.card_body {
  padding: 0.75rem 1.75rem;
  overflow:hidden;
}
.active .floating:before {
  opacity: 1;
  transition: 500ms;
}
.floating:before {
  font-family: "Ubuntu";
  font-weight: bold;
  width: 100%;
  text-align: center;
  font-size: 2rem;
  position: absolute;
  top: -70px;
  opacity: 0;
  transition: 300ms;
  background: -webkit-linear-gradient(145deg, #530307, #bc005e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.floating {
  font-family: "Ubuntu";
  margin: auto; 
  width: 453px;
  height: 280px;
  box-shadow: -20px 14px 54px rgba(0, 0, 0, 0.55);
  font-size: 18px;
  border-radius: 12px;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  background: linear-gradient(145deg, #530307, #bc005e);
  transform: rotateX(17deg) rotateY(18deg);
}

.logo {
  height: 60px;
  transform: translateZ(30px);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  margin: 0;
  font-weight: normal;
  filter: drop-shadow(-6.4px 6.2px 8px rgba(0, 0, 0, 0.6));
  z-index: 340;
  background-image: url("/assets/images/logo-red-white.png");
  background-repeat:no-repeat;
  background-size:contain;

}
.paywave {
  transform: translateZ(30px);
  float: right;
  position: absolute;
  margin: 15px 5px;
  top: 0;
  right: 0;
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
  filter: drop-shadow(-6.4px 6.2px 8px rgba(0, 0, 0, 0.6));
  height: 50px;
  width: 50px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='56' viewBox='0 0 46 56'%3E%3Ctitle%3EContactlessIndicator 000%3C/title%3E%3Cpath fill='none' stroke='%23FFF' stroke-width='6' stroke-linecap='round' d='m35,3a50,50 0 0,1 0,50M24,8.5a39,39 0 0,1 0,39M13.5,13.55a28.2,28.5 0 0,1 0,28.5M3,19a18,17 0 0,1 0,18'/%3E%3C/svg%3E");
}

.paypal_center {
  position: absolute;
  height: 100%;
  width: 100%;
  left:0;
  top:0;
  border-radius: 8px;
  z-index: -1;
  background-image: url("/assets/images/TR_Visa_Card_Backing.png");
  background-size:cover;
}

.card_no {
  transform: translateZ(40px);
  font-family: "Ubuntu";
  font-weight: bold;
  font-size: 3rem;
  color: #fff;
  position: absolute;
  letter-spacing: 1px;
  bottom: 115px;
  left:30px;
  z-index: 2;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  text-shadow: -9px 8.7px 6px rgba(0, 0, 0, 0.8);
  text-align: center;
}

.valid {
  position: absolute;
  bottom: 56px;
  color: #fff;
  font-size: 0.58rem;
  left: 146px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  text-shadow: -9px 8.7px 6px rgba(0, 0, 0, 0.8);
  transform: translateZ(30px);
}

.valid_date {
  position: absolute;
  font-family: "Ubuntu";
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  text-shadow: -9px 8.7px 6px rgba(0, 0, 0, 0.8);
  bottom: 58px;
  left: 36px;
  z-index: 20;
  transform: translateZ(30px);
  letter-spacing: 2px;
}

.holder {
  position: absolute;
  font-family: "Ubuntu";
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  text-shadow: -9px 8.7px 6px rgba(0, 0, 0, 0.8);
  bottom: 25px;
  left: 34px;
  z-index: 20;
  letter-spacing: 2px;
  transform: translateZ(30px);
}

.mastercard_icon {
  height: 85px;
  width: 95px;
  float: right;
  position: absolute;
  right: 10px;
  bottom: -25px;
  transform: translateZ(30px);
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.3));
  filter: drop-shadow(-6.4px 6.2px 8px rgba(0, 0, 0, 0.6));
  background-repeat: no-repeat;
  background-image: url("/assets/images/visa-white-logo.png");
  background-size:contain;
}
.thickness {
  width: 453px;
  height: 280px;
  border-radius: 12px;
  position: absolute;
  background: linear-gradient(145deg, #7a0044, #a3015a);
  transform: translateZ(-4px);
}
.thickness:nth-child(2) {
  transform: translateZ(-8px);
}
.thickness:nth-child(3) {
  transform: translateZ(-11px);
}