html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* elimina scroll horizontal */
    overflow-y: hidden; /* elimina scroll vertical */
}

body {
    background-image: url('../IMG/fonde.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Logos */
#dv {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 75px;
    z-index: 1;
}

#sena {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 75px;
    z-index: 1;
}

/* Título */
.ds {
    color: #000;
    font-size: 90px;
    font-weight: 500;
    text-align: center;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    line-height: 100px;
    transition: transform 0.2s, background-color 0.3s;
}

.btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    font-size: 150%;
    font-weight: bold;
    text-decoration: none;
    color: rgb(0, 0, 0);
    background: #3d91f1;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn:hover {
    background: #2d81e0;
}


.cont {
    text-align: center;
    background: #fff;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    width: 420px;
    max-width: 90%;
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
}

.cont h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #000000;
}

.cont label {
    display: block;
    font-size: 1.2em;
    margin: 15px 0 5px;
    font-weight: bold;
    color: #333;
}

.cont input {
    width: 92%;
    padding: 10px;
    font-size: 1em;
    border-radius: 8px;
    border: 2px solid #ccc;
    outline: none;
    transition: 0.3s;
}

.cont input:focus {
    border-color: #2a3cf0;
    box-shadow: 0 0 6px rgba(42,60,240,0.3);
}

.backbtn {
    display: block;
    width: 15%;
    padding: 12px;
    margin: 10px 0;
    font-size: 150%;
    font-weight: bold;
    text-decoration: none;
    color: rgb(0, 0, 0);
    background: #6FCCED;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
    outline: none;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.backbtn:hover {
    background: #42ABEC;
}

/* Estilo para el select */
select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #3d91f1;
    border-radius: 10px;
    font-size: 1em;
    background-color: #fff;
    color: #000;
    outline: none;
    transition: 0.3s;
    cursor: pointer;
}

/* Cuando pasas el mouse */
select:hover {
    border-color: #2d81e0;
    box-shadow: 0 0 8px rgba(61,145,241,0.5);
}

/* Cuando el select está enfocado */
select:focus {
    border-color: #2d81e0;
    box-shadow: 0 0 10px rgba(45,129,224,0.6);
}

/* Opciones dentro del desplegable */
select option {
    padding: 10px;
    font-size: 1em;
}

/* Aplica mayúsculas solo al texto escrito */
#nombre {
    text-transform: uppercase;
}

/* Asegura que el placeholder quede en su formato normal */
#nombre::placeholder {
    text-transform: none;
}
