/* ========================================
   RESET Y BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-color: #CCDDBB;  /* fondo verde suave */
}

/* ========================================
   TIPOGRAFÍA LIBRE Y MODERNA
   ======================================== */
body {
  font-family: 'DejaVu Sans', 'Bitstream Vera Sans', 'Liberation Sans', 'Noto Sans', sans-serif;
  line-height: 1.6;
}

/* ========================================
   CONTENEDOR PRINCIPAL
   ======================================== */
.container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* ========================================
   MARCO BLANCO CENTRADO
   ======================================== */
section {
  background: #ffffff;
  padding: 2rem;
  border-radius: 28px;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* ========================================
   TEXTO CENTRADO
   ======================================== */
.centrado {
  text-align: center;
}

/* ========================================
   CONTENIDO PRINCIPAL (el div nuevo)
   ======================================== */
.contenido-principal {
  margin-top: 1.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #BABDB6;
  text-align: center;
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  font-size: 0.9rem;
}

/* ========================================
   MENÚ HAMBURGUESA (estilo único)
   ======================================== */
nav input {
  display: none;
}

nav label {
  display: inline-block;
  border: 1px solid #2d6a4f;
  border-radius: 5px;
  width: 40px;
  height: 40px;
  line-height: 38px;
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  background: #eef4e6;
  color: #2d6a4f;
  user-select: none;
}

nav label:hover {
  background: #d4e0c4;
}

nav input:checked ~ ul {
  display: block;
}

nav ul {
  display: none;
  list-style: none;
  margin-top: 10px;
  padding: 0;
  width: 100%;
  max-width: 300px;
  background: #eef4e6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

nav li {
  display: block;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #c0cfb0;
}

nav li:last-child {
  border-bottom: none;
}

nav li a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #1e3a2f;
  transition: background 0.2s ease;
}

nav li a strong {
  font-weight: 600;
}

nav li:hover {
  background: #d4e0c4;
}

nav li:hover a {
  color: #0a2f1f;
}

/* ========================================
   RESPONSIVE (móviles)
   ======================================== */
@media (max-width: 600px) {
  section {
    padding: 1.5rem;
  }
  
  footer {
    font-size: 0.8rem;
  }
  
  nav label {
    font-size: 1.2rem;
    padding: 0.3rem 0.8rem;
  }

}

/* ========================================
   ESTILOS EXCLUSIVOS PARA LA PÁGINA DE INTRO
   ======================================== */
.contenedor-intro {
  text-align: center;
}

.contenedor-intro a {
  display: block;
}

#swiffycontainer {
  margin: 0 auto !important;
  width: auto !important;
  max-width: 100%;
}

#swiffycontainer canvas {
  display: block;
  margin: 0 auto !important;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
}
