/* BODY */
body {
min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: "Delius", cursive;
  font-weight: 400;
  /* Fondo más pequeño */
  background: url('../img/loginbackground.png') no-repeat center center fixed;
  background-size: cover; 
  color: #333;
}


.topbar {
  background-color: #111;
  color: #fff;
  padding: 1rem 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


.main-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}


.content {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  background: rgba(255,255,255,0.95);
  border-radius: 1rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.content:focus-within {
  box-shadow: 0 0 0 4px rgba(0,0,0,0.15), 0 15px 30px rgba(0,0,0,0.25);
}


h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  color: #003E81;
}


.subtitle {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 1rem;
}


input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s ease;
}

input:focus {
  outline: none;
  border-color: #003E81;
  box-shadow: 0 0 5px rgba(0,62,129,0.4);
}


button {
  width: 100%;
  padding: 0.75rem;
  background: #003E81;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.2s ease;
}

button:hover {
  background: #002A5B;
  box-shadow: 0 5px 15px rgba(0,62,129,0.3);
}


.link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #003E81;
  text-decoration: none;
  transition: color 0.2s ease;
}

.link:hover {
  color: #001F3F;
  text-decoration: underline;
}
