/* 🌊 RESET BASE */
html, body {
  margin: 0;
  padding: 0;
}

/* 🌌 FONDO GENERAL */
body {
  font-family: Georgia, serif;
  color: #e0e0e0;
  line-height: 1.6;

  background: 
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.85)),
    url("../img/fondo1.jpg");

  background-size: cover;
  background-attachment: fixed;
}

/* 🟡 MENU SUPERIOR */
header {
  background: rgba(255, 255, 0, 0.85);
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  text-align: center;
}

nav a {
  margin: 0 20px;
  text-decoration: none;
  color: #111;
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.3s;
}

nav a:hover {
  color: #005f6a;
}

/* 🧠 CONTENIDO (tipo “papel flotante”) */
.contenido {
  max-width: 900px;
  margin: 80px auto;
  padding: 40px;

  background: rgba(0,0,0,0.6);
  border-radius: 12px;

  box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

/* ✍️ TIPOGRAFÍA */
h1, h2, h3 {
  font-family: Georgia, serif;
  color: #f5f5f5;
  letter-spacing: 1px;
}

h1 {
  text-align: center;
  margin-bottom: 10px;
}

h2 {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 10px;
}

p {
  text-align: justify;
}

/* 🖼️ IMÁGENES */
img {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 20px auto;

  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);

  transition: 0.4s;
}

img:hover {
  transform: scale(1.03);
}

/* 🎥 VIDEO */
iframe {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  border-radius: 10px;
}

/* 🧩 INFOBOX (cartografía) */
#infoBox {
  position: absolute;
  background: rgba(0,0,0,0.9);
  padding: 15px;
  border-radius: 10px;
  display: none;
  max-width: 250px;

  box-shadow: 0 0 20px rgba(0,255,255,0.4);
}

#infoBox img {
  width: 100%;
  margin-top: 10px;
}

/* 🎯 CANVAS */
canvas {
  position: absolute;
  top: 0;
  left: 0;
}

/* ✨ DETALLE ATMOSFÉRICO */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.6));
  pointer-events: none;
}
/* ============================= */
/* 🎯 AJUSTE DE CAPAS (IMPORTANTE) */
/* ============================= */

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

header,
.contenido,
.grupo-integrantes {
  position: relative;
  z-index: 1;
}

/* ============================= */
/* 👥 INTEGRANTES (PIE CENTRADO) */
/* ============================= */

.grupo-integrantes {
  max-width: 600px;
  margin: 80px auto;
  padding: 25px;

  text-align: center;

  background: rgba(0,0,0,0.7);
  border-radius: 12px;

  box-shadow: 0 0 30px rgba(0,0,0,0.8);

  font-size: 0.85em;
  color: #ccc;

  opacity: 0.95;
  transition: 0.3s;

  backdrop-filter: blur(4px);
}

.grupo-integrantes:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.grupo-integrantes h3 {
  margin-bottom: 10px;
  font-size: 0.9em;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f0f0f0;
}

.grupo-integrantes p {
  margin: 0;
  line-height: 1.8;
  text-align: center;
}
