.card-front {
    /* position: absolute;
    backface-visibility: hidden; */

}

.card-back {
    /* position: absolute;
    backface-visibility: hidden;
    transform: rotateY(180deg); */

}


.card-front {
    height: 100%;
    max-width: 550px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgb(71, 71, 71);
    /* background-color: rgb(227, 154, 19); */
    /* background-image: linear-gradient(rgb(224, 105, 36), rgba(255, 255, 255, 0.966), rgb(51, 159, 51)); */

}

.card-front #upper {
    height: 70px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
}

.card-front #upper .bharat img {
    height: 50px;
    width: 32px;
    margin: 10px 20px;
}

.card-front #upper .heading img {
    height: 50px;
    width: 241px;
    margin: 8px 20px;
}

.card-front #upper .logo img {
    height: 50px;
    width: 70px;
    margin: 10px 20px;
}


/* --middle section CSS -------------------------------------------------------------*/
.card-front .middle {
    height: 150px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* issue date CSS------------------------------------ */
.card-front .middle .date {
    height: 100px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0px;
}

.card-front .middle .date p {
    font-size: 9px;
    rotate: 270deg;
    width: 115px;
    position: absolute;
    padding: 14px;

}

/* middle profile section ---------------------------------------*/
.card-front .middle .profile {
    height: 150px;
    width: 100px;
    margin: 10px 2px 15px;
}

.card-front .middle .profile img {
    width: 92%;
    height: 80%;
    border: 1px solid rgb(90, 90, 90);
    margin: 15px 0px;
}

/* middle details section ---------------------------------*/
.card-front .middle .details {
    height: 82%;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-right: 45px;
}

/* middle side section ---------------------------------------*/

.card-front .middle .hologram {
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: end;
    align-content: space-between;
}

.card-front .middle .hologram .small {
    height: 50px;
    width: 50px;
    margin-top: 15px;
}

.card-front .middle .hologram .small img {
    height: 100%;
    width: 100%;
}

.card-front .middle .hologram .small p {
    font-size: 7px;
}

.card-front .middle .hologram .holo {
    height: 60px;
    width: 95px;
    margin: 10px 0px 0px;
}

.card-front .middle .hologram .holo img {
    height: 100%;
    width: 100%;
    margin-top: 15px;
}

/*---number CSS--------------------------------------------------- */

.number {
    display: flex;
    justify-content: center;
    font-weight: bold;
    font-size: x-large;
}

.card-front .number p {
    letter-spacing: 6px;
}

/* hr line CSS ---------------------------------------------------------- */

.card-front hr {
    width: 100%;
    height: 3px;
    background-color: orangered;
}

/* front bottom ------------------------------------------------------------ */
.card-front .bottom {
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-front .bottom .pehchan span {
    color: red;
}

.card-front .bottom .pehchan h2 {
    word-spacing: 13px;
}

/* card back CSS starts here------------------------------------------------------------------- */
.card-back {
    height: 100%;
    width: 100%;
    max-width: 550px;
    border: 1px solid rgb(71, 71, 71);
    border-radius: 10px;
    /* background-color: rgb(227, 154, 19);
    background-image: linear-gradient(rgb(224, 105, 36), rgba(255, 255, 255, 0.966), rgb(51, 159, 51)); */
}

.card-back #header {
    height: 70px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
}

.card-back #header .bharat img {
    height: 50px;
    width: 32px;
    margin: 10px 20px;
}

.card-back #header .heading img {
    height: 50px;
    width: 241px;
    margin: 10px 20px;
}

.card-back #header .logo img {
    height: 50px;
    width: 70px;
    margin: 10px 20px;
}

/* middle back section------------------------------------------------ */

.card-back .middleback {
    height: 150px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-back .middleback .date {
    height: 100px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0px;
}

.card-back .middleback .date p {
    font-size: 9px;
    rotate: 270deg;
    width: 115px;
    position: absolute;
    padding: 14px;
}

.card-back .middleback .details {
    height: 82%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0px 52px 0px 8px;
}

.card-back .middleback .details #pata {
    font-size: 12px;
}

.card-back .middleback .details #address {
    font-size: 14px;
    margin-top: 4px;
}

.card-back .middleback .qrcode img {
    height: 150px;
}

/* number CSS--------------------------------------------------------------- */

.number {
    display: flex;
    justify-content: center;
    font-weight: bold;
    font-size: x-large;
}

.card-back .number p {
    letter-spacing: 6px;
}

/* hr line back CSS --------------------------------------------------------------- */
.card-back hr {
    width: 100%;
    height: 3px;
    background-color: orangered;
}

/* backbottom CSS ------------------------------------------------------- */

.card-back .backbottom {
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-back .backbottom div img {
    width: 100%;
    height: 100%;
}

.card-back .backbottom .phone img {
    height: 25px;
    width: 80px;
}

.card-back .backbottom .mail img {
    height: 25px;
    width: 170px;
    margin: 0px 25px;
}

.card-back .backbottom .globe img {
    height: 25px;
    width: 170px;
}