html
{
  scroll-behavior: smooth;
}
*
{
  box-sizing: border-box;
}
/* Variables para colores (opcional, pero recomendado) */
:root {
    --green-primary: #4CAF50; /* Un verde vibrante para el botón */
    --green-dark: #2E8B57;  /* Verde más oscuro para el hover */
    --text-color: #fff;
    --card-bg: rgba(255, 255, 255, 0.1); /* Fondo muy transparente */
}

/* Estilos Generales y Fondo */
body {
    margin: 0;
    font-family: "Merienda", cursive;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #333; /* Color de fallback */
}

/* Header */
.header {
  background-color: rgba(135, 74, 28, 0.5);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 900;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.nav a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
  font-family: "Merienda", cursive;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-size: 20px
}

.nav a:hover {
  color: #d1a76b;
}
.nav a:visited
{
 color: #E9A319;   
}

.background-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Usar una imagen similar a la tuya */
    background-image: url("../img/fondos/fondo4.jpg"); /* Reemplaza con tu imagen de fondo */
    background-size: cover;

}

/* Estilo de la Tarjeta del Formulario (Glassmorphism) */
.form-card {
  font-family: "Merienda", cursive;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  
    padding: 30px 20px 40px 20px;
    border-radius: 5px;
    text-align: center;
    width: 90%;
    max-width: 500px;
    
    /* Efecto Clave: Fondo semi-transparente y desenfoque */
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Borde sutil */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(10px); /* Este es el efecto de cristal esmerilado */
    -webkit-backdrop-filter: blur(10px); /* Para compatibilidad con algunos navegadores */
}
.form-card h1
{
  font-size: 3rem;
  margin-bottom: 10px;
  font-family: "Lobster", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #FAD59A;
}

/* Títulos y Subtítulos */
.title {
    color: var(--text-color);
    font-size: 2.8em;
    margin-bottom: 5px;
    font-weight: bold;
}

.subtitle {
    color: var(--text-color);
    font-size: 15px;
    margin-bottom: 30px;
    opacity: 0.7;
}

/* Estilos de los Inputs (Entradas) */
.input-group {
    position: relative;
    margin-bottom: 30px;
    text-align: left;
    font-size: 25px;
}

.input-group input {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--text-color); /* Línea inferior */
    color: white;
    font-size: 20px;
    outline: none;
    transition: border-bottom-color 0.3s;
}

.input-group label {

    position: absolute;
    top: 10px;
    left: 0;
    color: #FAD59A;
    font-size: 1em;
    pointer-events: none;
    transition: 0.3s ease-out;
    opacity: 0.8;
    

}

/* Mover la etiqueta al escribir o enfocar */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label, /* :not(:placeholder-shown) es útil si no se usan placehoders */
.input-group input:valid + label /* Una alternativa si 'required' está presente */
{
    top: -15px;
    font-size: 0.8em;
    color: #FAD59A;
}

.input-group input:focus {
    border-bottom-color: rgba(233, 163, 25, 1.0); /* Cambia el color de la línea al enfocar */
}

/* Estilo del Botón */
.submit-btn {
    background-color: rgba(168, 101, 35, 1.5);
    color: var(--text-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: rgba(250, 213, 154, 1.0);
    transform: translateY(-2px);
}
.header {
    position: fixed; 
    top: 0;
    width: 100%;
    height: 60px; /* Define una altura fija para la cabecera */
    /* ... (resto de estilos) ... */
    z-index: 1000; /* Asegura que la cabecera esté siempre encima */
}
/* Botón hamburguesa */
.hamburguesa {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Ocultar menú por defecto en pantallas pequeñas */
  .nav {
    display: none;
    flex-direction: column;
    background: #5c2c0c;
    position: absolute;
    top: 60px;
    right: 15px;
    padding: 10px;
    border-radius: 50px;
  }

  /* Mostrar el botón hamburguesa */
  .hamburguesa {
    display: block;
  }