/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%; /* Asegura que el body y html ocupen toda la altura de la pantalla */
}

/* Estilo general del body */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f7fa;
  display: flex;
  flex-direction: column;
  height: 100%; /* Asegura que el body ocupe el 100% de la pantalla */
}

/* Título principal */
h1 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

/* Estilo para los enlaces */
a {
  display: block;
  margin-top: 15px;
  text-align: center;
  color: #4CAF50;
  text-decoration: none;
  font-size: 1rem;
}

a:hover {
  text-decoration: underline;
}

.body-container {
  height: 81%;
}

/* Estilo para el contenedor de login */
.login-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 100%;
  max-width: 350px;
  text-align: center;
  margin: 40px auto;
}

/* Estilo para los inputs y el botón */
input, button {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

input:focus, button:focus {
  outline: none;
  border-color: #4CAF50;
}

/* Estilo del botón */
button {
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #45a049;
}

/* Estilo del header */
.site-header {
  background-color: #4CAF50;
  color: white;
  text-align: center;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 9%;
}

.site-header h1 {
  font-size: 2.5rem;
  margin: 0;
  transition: font-size 0.3s ease;
}

.site-header:hover h1 {
  font-size: 2.8rem;  /* Efecto al pasar el mouse */
}

/* Estilo del footer */
.site-footer {
  background-color: #333;
  color: white;
  text-align: right;
  padding: 20px 10px;
  position: relative;
  width: 100%;
  font-size: 0.9rem;
  margin: 0;
  align-items: flex-start;
  justify-content: flex-start;
  height: 10%;
}

.site-footer p {
  margin-bottom: 10px;
  color: white;
}

.site-footer a {
  display: inline-block;
  text-align: right;
  margin: 0;
  padding: 0;
  color: #4CAF50;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .footer-link {
  margin-left: 10px;
  margin-right: 10px;
}

/* Diseño responsive */
@media (max-width: 600px) {
  .login-container {
    padding: 20px;
    width: 80%;
  }

  /* Centra los elementos en pantallas pequeñas */
  .site-footer {
    text-align: center; /* Centrado de texto en pantallas pequeñas */
  }

  .site-footer p {
    text-align: center;
  }
}
