/* Reset general */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Encabezado */
header {
    background: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 800px;
    padding: 0;
}

/* Sección principal destacada */
.hero {
    background: #736F72;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 2s;
    padding: 10px;
}

/* Contenido principal */
.content {
    background: #FBC800;
    color: #782E89;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-wrap: wrap;
}

/* Ajuste de ancho flexible para el contenido interno */
.content > * {
    width: 90%;
    max-width: 800px;
    margin: 10px auto;
}

/* Pie de página */
footer {
    background: #782E89;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 2s;
    padding: 20px;
}

footer img {
    height: 50px;
}

/* Navegación */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #782E89;
    text-decoration: none;
    font-weight: bold;
}

nav ul li form {
    margin: 0;
}

/* Select general */
select {
    padding: 5px;
    border: none;
    background: white;
    color: #782E89;
    font-weight: bold;
    cursor: pointer;
}

/* Animación */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Estilos especiales */
.form-container h1 {
    text-align: left;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: center;
    }

    .form-container h1 {
        text-align: center;
    }

    .content {
        padding: 15px;
    }

    .content > * {
        width: 95%;
    }
    
    .language-switcher ul {
    flex-direction: column;
  }

  .language-switcher li {
    width: 30%;
  }
}

.language-switcher {
  width: 90%;
  max-width: 600px;
  margin: 10px auto;
}

.language-switcher ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  gap: 10px;
}

.language-switcher li {
  flex: 1;
  text-align: center;
}

.language-switcher img {
  width: 30%;
  max-width: 30%;
  height: auto;
  border-radius: 12px;
  background-color: #f0f0f0;
  padding: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.language-switcher img:hover {
  transform: scale(1.05);
}

.banner-container {
    max-width: 900px;
    color: white;
}

.banner-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.banner-title .highlight {
    color: #ffd84d;
}

.banner-text {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5em;
}

/* Responsive */
@media (max-width: 600px) {
    .banner-title {
        font-size: 1.5rem;
    }

    .banner-text {
        font-size: 1rem;
    }
}