/* html, body {
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center; 
  align-items: center; 
} */

.front-3,
.front-3 * {
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

.front-3 {
    background: #ffffff;
    border-radius: 10px;
    width: 310px;
    height: 460.3px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-1 {
    width: 215px;
    height: 38px;
    position: absolute;
    left: calc(50% - 105.95px);
    top: 40px;
}

.rectangle-3 {
    background: #E20613;
    border-radius: 0px 0px 10px 10px;
    width: 310px;
    height: 363px;
    position: absolute;
    left: 0px;
    top: 110px;
}

.frame-3 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 55px;
    /* left: calc(50% - 55.5px);
  top: 125px; */
}

.frame-1 {
    background: #ffffff;
    flex-shrink: 0;
    width: 145px;
    height: 170px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.image-3 {
    width: 100%;
    height: 100%;
    position: absolute;
    border: 2px solid white;
}

.frame-2 {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    text-align: center;
}

.name {
    color: #ffffff;
    font: 600 14pt "Poppins", sans-serif;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    text-transform: capitalize;
}

.name2 {
    color: #ffffff;
    text-align: left;
    font: 600 14pt "Poppins", sans-serif;
    position: relative;
}

.logo-1 {
    width: 260px;
    height: 46px;
    position: absolute;
    left: auto;
    top: 35px;
}

/* @media screen and (max-width: 770px) {
  .front-3 {
    align-items: center; 
    justify-content: center; 
  }
} */

.flip-card {
    perspective: 1000px;
    margin:auto
}

.flip-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card:hover .flip-card-back {
    backface-visibility: visible;
}

.flip-card-back {
    /*-webkit-backface-visibility: hidden;*/
    backface-visibility: hidden;
}

.flip-card-front-click {
    transform: rotateY(-180deg);
    backface-visibility: hidden;
}

.flip-card-back {
    position: absolute;
    top: 0;
    transform: rotateY(180deg);
}

.detail-id {
    color: #E20613;
    font-size: 11px;
    text-transform: uppercase;
    margin-top: 5px;
}

.qrcode {
    width: 200px;
    height: 200px;
}

.teks-id {
    font-size: 11px;
    color: black;
}

.logo-2 {
    width: 200px;
    height: auto;
    margin-top: 10px;
    margin-bottom: 5px;
}

footer {
    clear: both
}