#top_barra{
    background-color: brown;
    height: 90px;
    display: flex;
}

h1{
    text-align: center;
    color: aliceblue;
    margin-left: 24%;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

h2{
    text-align: center;
    color: aliceblue;
}

a{
    color: aliceblue;
}

input{
    width: 380px;
    height: 40px;
    font-size: 12pt;
    border-radius: 5pt;
    background-color:azure;
    border-color: azure;
    padding-left: 10px;
}

#buttoningresar{
    width: 380px;
    height: 40px;
    font-size: 12pt;
    border-radius: 5pt;
    background-color: #3c3c3c;
    color: azure;
    cursor: pointer;
}

#div-logo{
    display: flex;
    justify-content: center; 
    align-items: center;
    padding-top: 3%;
}

img{
    width: 150px;
    height: 60px;
    margin-top: 15px;
    margin-left: 15px;
}

#div-numcontrol{
    display: flex;
    justify-content: center; 
    align-items: center; 
    padding-top: 2%;
}

#div-password{
    display: flex;
    justify-content: center; 
    align-items: center;    
}

#div-botoningresar{
    display: flex;
    justify-content: center; 
    align-items: center; 
}

#contenedor-elementos{
    justify-content: center;
    background-color:slategrey;
    border-radius: 10pt;
    height: 330pt;
    margin-top: 5%;
    margin-left: 30%;
    margin-right: 30%;
}

body{
    min-height: 100vh; /* Ocupa el 100% de la altura de la pantalla */
    margin: 0;
    background-image: url('../recursos/index2_fondo.jpg');
    
    /* Evita que la imagen se repita */
    background-repeat: no-repeat;
    
    /* Centra la imagen en el elemento */
    background-position: center center;
    
    /* Ajusta el tamaño para que cubra todo el fondo */
    background-size: cover;
    
    /* Fija la imagen para que no se mueva al hacer scroll */
    background-attachment: fixed;
}

h4{
    color: aliceblue;
    margin-left: 15px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size:x-small;
}

#footer{
    background-color:black;
    height: 45px;
    position: fixed;
    bottom: 0;

    /* And if you want the div to be full-width: */
    left: 0;
    right: 0;
}

.mensaje-error {
    width: 400px;
    margin:20px auto;
    padding:12px;
    background-color: #f8d7da;
    color:#842029;
    border:1px solid #f5c2c7;
    border-radius:6px;
    text-align:center;
    font-weight:bold;
}