body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container {
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.4);
	box-shadow: 0 0 50px rgba(255, 255, 255, 0.9);
	border-radius: 15px;
    text-align: center;
    /*margin-top: -100px; /* Ajusta este valor según sea necesario */
}


h1 {
    color: white;
	margin-top: 0.2em;
    margin-bottom: 0.2em;
    font-size: 4.5em;
    text-shadow: 4px 4px 7px rgba(0, 0, 0, 0.8); /* Sombra para el texto de H1 */
}

h2 {
    color: white;
	margin-top: 2px;
    margin-botom: 0.5em 0;
    font-size: 2.5em;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3); /* Sombra para el texto de H2 */
}

p.subtitle {
    color: white;
    margin-top: 0; /* Elimina el margen superior para el subtítulo */
    margin-bottom: 0.5em; /* Margen inferior para el subtítulo */
    font-size: 0.5em; /* Tamaño de fuente para el subtítulo */
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.8); /* Sombra para el texto del subtítulo */
}

form {
    margin-top: 30px; /* Espacio adicional antes del formulario */
}

input[type="text"], input[type="password"] {
    width: 75%; /* ancho reducido de los campos de texto */
    padding: 12px 20px;
    margin: 8px auto; /* centra los campos de texto */
    display: block;
    border: 2px solid #606569;
    box-sizing: border-box;
    font-size: 20px;
    font-weight: bold;
    color: #403f3d;
    border-radius: 15px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
	text-align: center; /* centra el texto dentro de los campos */
}

button {
    background-color: #4caf50;
    color: white;
    padding: 14px 20px;
    margin: 8px auto;
    border: none;
    cursor: pointer;
    width: 75%; /* ancho del botón acorde con los campos de texto */
    font-size: 20px;
    font-weight: bold;
    border-radius: 15px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: block;
}

.linkButton{
    background-color: #4caf50;
    color: white;
    padding: 14px 20px;
    margin: 8px auto;
    border: none;
    cursor: pointer;
    width: 75%; /* ancho del botón acorde con los campos de texto */
    font-size: 20px;
    font-weight: bold;
    border-radius: 15px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: block;  
}

button:hover {
    opacity: 0.8;
}

.linkButton:hover {
    opacity: 0.8;
}

a {
    background-color: rgba(0, 0, 0, 0.2); /* Fondo oscuro transparente */
    color: white; /* Color del texto */
    text-decoration: none; /* Eliminar subrayado */
    padding: 5px; /* Añade algo de padding para que el fondo sea más visible */
    border-radius: 5px; /* Bordes redondeados para el fondo */
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); /* Sombra más oscura y extendida */
}

a:hover {
     background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro transparente */
}


footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 10px 0; /* Padding reducido */
}

body {
    background-image: url('images/background.webp');
    background-size: cover;
    background-attachment: fixed;
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 2em;
    }

    p.subtitle {
        font-size: 1em;
    }

    input[type="text"], input[type="password"], button {
        width: 90%;
        font-size: 16px;
    }

    .container {
        width: 95%;
        padding: 5px;
    }

    footer {
        font-size: 14px;
        padding: 8px 0;
    }
}