body{
    font-family: 'Open Sans Condensed', sans-serif;
    color: #1a4c5c;
    background-color: rgb(219, 221, 228);
    font-size: 15px;
    margin: 0;
    padding: 0;
}

/*encabezado con fondo y logo*/

.contenedor_logo {
    width: 100%;
    height: 200px; /* O cualquier altura que necesites */
    display: flex;
    border-bottom: 5px double rgb(5, 5, 68) ;
}

.fondo_logo {
    width: 100%;
    max-height: 100%;
    object-fit:cover;
}


/*ubicacion de las opciones*/

.options{
    display: flex;
}

details{
    flex: 1;
    margin-left: 10px;
}

summary{
    margin-left: 10px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 19px;
    font-weight: bold;
}

/*titulo de pagina*/

.title{
    margin-top: 20px;
    margin-left: 10px;
}

.subtitle{
    margin-left: 10px;
    text-decoration: underline;
}

/*accesos a archivos*/

.items{
    margin: 5px;
    list-style-type: none;
    font-size: 14px;
}

/*pantalla seleccion idiomas*/

.bandera{
    margin-top: 100px;
    height: 150px;
    width: 260px;
    border-radius: 5px;
    filter: drop-shadow(4px 4px 4px black);
}

.bandera:hover{
    filter: brightness(70%);
}

.bandera_br{
    margin-top: 100px;
    height: 150px;
    width: 260px;
    border-radius: 5px;
    filter: drop-shadow(4px 4px 4px black);
}

.bandera_br:hover{
    filter: brightness(70%);
}

.select_idioma{
    font-family: 'Open Sans Condensed', sans-serif;
    color: #1a4c5c;
    text-align: center;
    margin-top: 10%;
    padding: 0;
    font-size: 40px;
}

.inicioflex{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-evenly;
}


/*Pantalla login*/

/* Centrar el contenido en la pantalla */
.login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ocupa toda la altura de la pantalla */
    margin: 0;
    background-color: #f5f5f5; /* Color de fondo opcional */
}

/* Alinear el texto del título */
.iniciar {
    text-align: center;
    margin-bottom: 20px;
}

/* Formulario centrado */
.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Espaciado entre los elementos del formulario */
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Estilo de los inputs */
.form input {
    width: 250px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Botón estilizado */
.form button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form button:hover {
    background-color: #0056b3;
}



/*Pantalla dashboard*/

/* Estilo general */
.dashboard {
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
}

/* "Bienvenido" arriba a la izquierda */
.title2 {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    font-weight: bold;
}

/* Botón "Cerrar Sesión" arriba a la derecha */
a[href="logout.php"] {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #121a5a;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

a[href="logout.php"]:hover {
    background-color: #271381;
}

/* Botón "Volver" */
a[href="index.php"] {
    position: absolute;
    top: 20px;
    right: 160px;
    background-color: #121a5a;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}



/* Contenedor de los formularios alineados a la izquierda */
h2, h3, form {
    margin-left: 20px;
}

h2, h3 {
    margin-top: 80px;
}

/* Estilo de los formularios */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

input, button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}
