
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
 
  background-size: cover;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #E0E0E0;
  line-height: 1.6;
  padding: 20px;
  background-color: #aca992; 
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.container {
  background-color: rgba(40, 40, 40, 0.85);
  max-width: 420px;
  width: 100%;
  margin: 3rem auto;
  padding: 35px 45px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  text-align: center;
}

/* Barra superior con enlaces */
.top-links {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  max-width: 420px;
  width: 100%;
}

.top-links a {
  background: #b1e084; 
  color: #222;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: background-color 0.25s ease;
}

.top-links a:hover {
  background-color: #b8e091; 
}


h2 {
  color: #a8d674;
  font-size: 2rem;
  margin-bottom: 8px;
}

h3 {
  color: #E0E0E0;
  font-weight: 600;
  margin-bottom: 25px;
  font-size: 1.3rem;
}

button {
  background-color: #9bbe59;
  border: none;
  border-radius: 12px;
  padding: 16px 0;
  width: 100%;
  max-width: 350px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #222;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 6px 12px rgb(203, 224, 162);
}

button:hover {
  background-color: #cadf9a;
  box-shadow: 0 8px 15px rgba(228, 238, 170, 0.8);
}

/* Mensaje de feedback */
.mensaje {
  margin-top: 30px;
  font-weight: 600;
  min-height: 28px;
  color: #e9e4a6;
}

/* Formularios */
form {
  max-width: 320px;
  margin: 2rem auto;
  background: rgb(236, 209, 169);
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
  color: #000000;
}

input, button {
  width: 100%;
  margin: 12px 0;
  padding: 14px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
}

input {
  background: rgba(238, 221, 166, 0.9);
  color: #000000;
}

input::placeholder {
  color: #000000;
}

/* Links de formularios */
.link {
  text-align: center;
  margin-top: 15px;
  color: #d5ec96;
}

.link a {
  color: #aed48e;
  text-decoration: none;
  font-weight: 600;
}

.link a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px 10px;
  margin-top: 50px;
  color: #c3cfa5;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* Responsive para pantallas chicas */
@media (max-width: 480px) {
  .container {
    padding: 30px 25px;
  }

  .top-links {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .top-links a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}
  