.modal-resultado{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);

    display:flex;
    justify-content:center;
    align-items:center;

    font-family: Arial, Helvetica, sans-serif;
}

.card-resultado{
    background:white;
    padding:40px;
    border-radius:12px;
    width:420px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.card-resultado h2{
    margin-top:0;
}

.puntaje{
    font-size:18px;
    margin:15px 0 25px 0;
}

.mensaje{
    font-size:18px;
    margin-bottom:25px;
}

.aprobado{
    color:#2e7d32;
}

.desaprobado{
    color:#c62828;
}

.botones{
    display:flex;
    gap:10px;
    justify-content:center;
    flex-wrap:wrap;
}

.btn{
    padding:10px 18px;
    border-radius:6px;
    text-decoration:none;
    font-weight:bold;
    transition:0.2s;
}

.btn.principal{
    background:#2e7d32;
    color:white;
}

.btn.principal:hover{
    background:#1b5e20;
}

.btn.secundario{
    background:#eeeeee;
    color:#333;
}

.btn.secundario:hover{
    background:#dddddd;
}


body{
    /* font-family: Arial, sans-serif;
    background:#f4f4f4;
    margin:0;
    padding:0; */
    font-family: Arial, sans-serif;
    background-image: url("img/fondo.png");
    background-size: cover;        /* ajusta la imagen a toda la pantalla */
    background-position: center;   /* centra la imagen */
    background-repeat: no-repeat;  /* evita que se repita */
    margin:0;
    padding:0;
    background-attachment: fixed;
}

/* tarjeta login */
.contenedor{
     width:400px;
    margin:60px auto;
    background:white;
    padding:30px;
    border-radius:8px;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
text-align:center;
}

h2{
    text-align:center;
     margin-top:40px;
}

/* inputs */

input{
    width:100%;
    padding:10px;
    margin-top:5px;
    border:1px solid #ccc;
    border-radius:4px;
}

/* boton */

button{
    width:100%;
    padding:12px;
    margin-top:20px;
    background:#2c7a7b;
    color:white;
    border:none;
    border-radius:4px;
    cursor:pointer;
}

button:hover{
    background:#285e61;
}

/* alerta error */

.alerta{
    background:#ffe9e9;
    color:#b30000;
    padding:12px;
    border-radius:6px;
    margin-bottom:15px;
    text-align:center;
    border:1px solid #ffb3b3;
}
label{
    display:block;
    margin-top:15px;
}

.certificado{

    width:900px;
    margin:50px auto;
    background:white;
    padding:60px;
    text-align:center;
    border:8px solid #2c3e50;

}
