*{
    padding: 0rem;
    margin: 0rem;
    box-sizing: border-box;
}
html{
    font-size: 16px;
    font-family: "Lexend Mega", sans-serif;
}
/* sectionErrores *********************************************************************/
.sectionErrores{
  background: black;
  width: 100%;
  height: 100vh;
  padding: 1rem;

  display: flex;
  justify-content: center;
  align-items: center;

  position: fixed;
  z-index: 10;
  display: none;
}
.sectionErrores.activo{
  display: flex;
  justify-content: center;
  align-items: center;
}
.sectionErrores p{
  color: #ffffff;
}
/* section1 *********************************************************************/
.section1{
    width: 100%;
    min-height: 100vh;
    
    background: url(https://res.cloudinary.com/my5fngzy/image/upload/v1789536403/fondo1920_dshpaa.webp);
    background-position: center;
    background-size: cover;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-size: 0.9rem

}
.section1 form{
    width: 100%;
    padding: 1rem;
    max-width: 20rem;

    display: flex;
    flex-direction: column;
    gap: 1rem;

    background: rgb(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    border-radius: 2rem;
}
.section1 form figure{
    width: 100%;
    text-align: center;
}
.section1 form figure img{
    width: 8rem;
}
/* .section1 form h2,
.section1 form p{
    font-size: 0.8rem
} */
.section1 form input{
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    border: none;
    font-family: "Lexend Mega", sans-serif;
}
.section1 form .content-Captcha{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.section1 form .content-Captcha img{
    width: 50%;
    border-radius: 2rem;
}
.section1 form .content-Captcha .captcha-Botones{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.section1 form .content-Captcha .captcha-Botones button{
    width: 100%;

    background: rgb(0, 0, 0);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 2rem;
    color: white;

    transition: background 0.4s ease;
    font-family: "Lexend Mega", sans-serif;
}
.section1 form .content-Captcha .captcha-Botones button:hover{
    cursor: pointer;
    background: rgb(255, 255, 255);
    color: black;
}
.section1 form .content-Captcha .captcha-Botones input{
    width: 100%;
}

.section1 form button[type="submit"] {
    width: 100%;

    background: black;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-family: "Lexend Mega", sans-serif;

}
.section1 form button[type="submit"]:hover {
    cursor: pointer;
    background: rgb(255, 255, 255);
    color: black;
}
.section1 form .mensaje{
    color: rgb(0, 0, 0);
    background: #EDE8D0;
    padding: 1rem;
    border-radius: 1rem;
}
.section1 form .campo-terminos{
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    font-size: 0.85rem;
    text-align: left;
}
/* Sin esto hereda el ancho de ".section1 form input" y la casilla sale gigante. */
.section1 form .campo-terminos input[type="checkbox"]{
    width: 1.1rem;
    min-width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    cursor: pointer;
}
.section1 form .campo-terminos label{
    cursor: pointer;
}
.section1 form .campo-terminos a{
    text-decoration: underline;
}
/* form del codigo *************************************************************/
/* Oculto de entrada: solo aparece cuando el backend confirma que envio el codigo.
   Mismo patron que .sectionErrores, con la clase "activo" como interruptor. */
#form-Correr{
    display: none;
}
#form-Correr.activo{
    display: flex;
}
#form-Codigo{
    display: none;
}
#form-Codigo.activo{
    display: flex;
}

#form-Registro{
    display: none;
}
#form-Registro.activo{
    display: flex;
}

/* enlace final ****************************************************************/
.enlace-TerminosPlantilla{
    color: white;
}
#enlaceInicio{
    display: none;

    width: 100%;
    box-sizing: border-box;

    background: black;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-family: "Lexend Mega", sans-serif;

    text-align: center;
    text-decoration: none;
}
#enlaceInicio.activo{
    display: block;
}
#enlaceInicio.activo:hover{
    background: rgb(255, 255, 255);
    color: black;
}
