/* styles.css */

/* Reseteo de algunos estilos predeterminados */
body, h1, h2, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo general para el body */
body {
    font-family: Arial, sans-serif;

    background-color: #838383;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-image: url('pics/servidores.jpg');
    background-size: cover; /* Ajusta la imagen para que cubra toda el área */
    background-position: center; /* Centra la imagen en la página */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
}

/* Contenedor principal para centrar el formulario */
.container {

    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* Estilo para los encabezados */
h1, h2 {
    color: #333;
    margin-bottom: 20%;
}

/* Estilo para los formularios */
form {

    display: flex;
    flex-direction: column;
}

/* Estilo para las etiquetas y campos de entrada */
label {
    margin: 10px 0 5px;
    font-weight: bold;
    text-align: left;
}

input[type="text"],
input[type="password"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
    width: 59%;
}

/* Estilo para el botón de envío */
input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

/* Estilo para mensajes de error */
p.error {
    color: #e74c3c;
    font-weight: bold;
}
