*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}


section{
    position: relative;
    min-height: 100vh;
    width: 100%;
    background: #121321;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
     perspective: 1000;
}


section::before{
    content: "";
    position: absolute;
    border-radius: 50%;
    transform: translate(-150px, -100px);
    width: 240px;
    height: 240px;
    background: linear-gradient(90deg, #9c27b0, #f3f5f5);
        
    filter: drop-shadow(0 10px 30px #9b27b074) 
            drop-shadow(0 0 30px #f3f5f560);
  animation: drift 10s ease-in-out infinite;
      margin-bottom: 313px;
    margin-left: -284px;
}

@keyframes drift {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -15px);
  }
  100% {
    transform: translate(0, 0);
  }
}

section::after{
    content: "";
    position: absolute;
    transform: translate(150px, 100px);

    border-radius: 50%;
    width: 240px;
    height: 240px;
    background: linear-gradient(90deg, #9c27b0, #f3f5f5);
  animation: driftt 10s ease-in-out infinite;
 margin-bottom: -313px;
    margin-left: 284px;
     filter: drop-shadow(0 10px 30px #9b27b074) 
            drop-shadow(0 0 30px #f3f5f560);
}
@keyframes driftt {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, 15px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.contener{
    position: relative;
    height: 225px;
    width: 375px;
    z-index: 100;
    transition: all 1s 0.2s;
    transform-style: preserve-3d;
   
}

.contener:hover{
    transform: rotateY(180deg);
}



.contener .card{
    height: 100%;
    position: absolute;
    width: 100%;
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 25px;
 background: rgba(255, 255, 255, 0.1);
 box-sizing: 0 25px 45px rgba(0, 0, 0, 0.25);
 border: 1px solid rgba(255, 255, 255, 0.1);
 backface-visibility: hidden;

}

.front-face header,
.front-face .logo{
    display: flex;
    align-items: center;
}


.front-face header{
    justify-content: space-between;
}

.front-face .logo img{
    width: 48px;
    margin-right: 10px;
 /* background-color: purple; */

}

h5{
    font-size: 16px;
    font-weight: 400;
}

/* .card.front-face{
    background: linear-gradient(100deg, #9c27b0, #f3f5f5);
} */


.front-face .chip{
     width: 50px;
}

.front-face  .card-details{
    display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 40px;
}


h6{
    font-size: 16px;
    font-weight: 400;

}

h5.number{
    font-size: 18px;
    letter-spacing: 2px;
}
h5.name{
   margin-top: 20px;
}

.card.back-face{
 border: none;
 padding: 15px 25px 25px 25px;
 transform: rotateY(180deg);
}

.card.back-face h6{
font-size: 8px;
}


.card.back-face .magnetic-strip{
    position: absolute;
    width: 100%;
    top: 40px;
    left: 0;
    height: 45px;
    background: #000;
}

.card.back-face .signature{
    margin-top: 80px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 40px;
    width: 85%;
    border-radius: 6px;
    background-color: #fff;
    background: repeating-linear-gradient(#fff, #fff 3px, #efefef 0px, #d2d1d1 9px);
 }

.signature i{
 color: #000;
 font-size: 12px;
    background-color: #fff;
padding: 4px 6px;
border-radius: 4px;
 margin-right: -30px;
 z-index: -1;
 }

 .card.back-face h5{
    font-size: 8px;
    margin-top: 15px;
 }