@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

*, *::before, *::after {
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: black;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

body::before, body::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    z-index: 0;
}

body::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate(-175px, -100px);
}

body::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate(175px, 100px);
}

.card {
    width: 400px;
    height: 250px;
    position: relative;
    perspective: 400px;
    z-index: 1;
}

.card_inner {
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
}

.card:hover .card_inner {
    transform: rotateY(180deg);
}

.card__front,
.card__back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    backdrop-filter: blur(40px);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.card__front {
    z-index: 1;
}

.card__back {
    transform: rotateY(180deg);
    align-items: center;
    justify-content: flex-start;
    padding: 20px 25px;
    gap: 5px;
    color: white;
}

.header {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    margin: 25px 30px 10px;
}

.logo, .chip {
    width: 60px;
    height: auto;
}

.chip {
    margin-left: auto;
}

.cardnum {
    margin: 25px 30px;
    color: white;
    font-size: 22px;
}

.custinfo {
    display: flex;
    color: white;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0px 30px;
    align-items: center;
}

.custinfo p {
    margin: 2px;
    font-size: 14px;
    opacity: 0.85;
}

p {
    margin-top: 0px;
    margin-bottom: 0px;
}

/* BACK */

.backinfo{
    margin-top: 15px;
    margin-bottom: 4px;
    font-size: 8px;
}
.strip{
    background-color: black;
    width:400px;
    height: 2.5em;
    margin-bottom: 20px;
}
.scanner{
    display: flex;
    align-items: center;
    width:100%;
}
.color{
    background-color: white;
    width: 500px;
    height: 2.5em;
    border-radius:6px;
    background: repeating-linear-gradient(
        #fff,        
        #fff 3px,   
        #efefef 0px,
        #efefef 9px 
    );
}
.cvv i{
    background-color: white;
    color: black;
    padding: 4px 6px;
    border-radius: 0px 5px 5px 0px;
}
.card__back_content{
    color: white;
    margin-top: 10px;
    font-size: 10px;
}
.card__back_content {
    color: white;
    margin-top: 10px;
    font-size: 10px;
}

