/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
body {
  font-family: 'Orbitron', sans-serif;
  background: radial-gradient(circle at top left, #0e0f1c, #11131f, #090c1c);
  color: #f0f0f0;
  height: 100vh;
  overflow: hidden;
}

/* CONTENEDOR GENERAL */
#container {
  display: flex;
  height: 100%;
}

/* SIDEBAR */
#sidebar {
  width: 270px;
  background: rgba(20, 22, 40, 0.75);
  backdrop-filter: blur(14px);
  padding: 20px;
  border-right: 2px solid rgba(0, 255, 255, 0.1);
  box-shadow: 5px 0 20px rgba(0, 255, 255, 0.1);
  overflow-y: auto;
  z-index: 10;
}

/* LOGO */
.logo-area {
  text-align: center;
  margin-bottom: 20px;
}
.logo {
  width: 200px; /* Aumentamos el tamaño */
  height: auto;
  display: block;
  margin: 0 auto 12px;
  background: transparent;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.05); /* efecto de agrandado suave al pasar el mouse */
}

/* TÍTULO SIDEBAR */
#sidebar h2 {
  font-size: 18px;
  color: #00f0ff;
  text-align: center;
  margin-top: 10px;
}

/* MENÚ TEMAS Y SUBTEMAS */
#sidebar ul {
  list-style: none;
  margin-top: 20px;
  padding: 0;
}
.tema-principal::before {
  content: "📁 ";
}
.tema-principal {
  font-size: 16px;
  font-weight: 700;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: #1a1d38;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.tema-principal:hover {
  background: #2d3256;
  color: #00f0ff;
}
.tema-principal.abierto {
  background: #00f0ff;
  color: #000;
}

.subtemas {
  list-style: none;
  margin: 0 0 15px 10px;
  padding-left: 14px;
  border-left: 2px solid #00f0ff;
}
.subtema::before {
  content: "📄 ";
}
.subtema {
  font-size: 12px;
  font-family: 'Roboto', sans-serif;
  background: #2a2d4c;
  margin: 4px 0;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: #cccccc;
  transition: 0.2s ease;
  margin-left: 5px;
}
.subtema:hover {
  background: #3a3e65;
  color: #00f0ff;
  transform: translateX(5px);
}

/* CONTENIDO PRINCIPAL */
#contenido {
  flex-grow: 1;
  padding: 40px;
  overflow-y: auto;
  background: linear-gradient(to bottom right, #11131f, #0a0c19);
  animation: fadeIn 0.4s ease-in-out;
}
#guiaContent {
  max-width: 960px;
  margin: auto;
  padding-bottom: 100px;
  animation: fadeIn 0.5s ease;
}
#guiaContent h1 {
  font-size: 32px;
  color: #00f0ff;
  margin-bottom: 10px;
}
#guiaContent p {
  font-size: 16px;
  line-height: 1.7;
  color: #c0c0c0;
}
#guiaContent img,
#guiaContent video {
  max-width: 100%;
  margin-top: 25px;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.2);
}
.banner {
  margin-top: 30px;
  border: 2px solid #00f0ff;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
}

/* SCROLL */
#contenido::-webkit-scrollbar {
  width: 10px;
}
#contenido::-webkit-scrollbar-track {
  background: #0e1020;
}
#contenido::-webkit-scrollbar-thumb {
  background: #00f0ff;
  border-radius: 5px;
}

/* ANIMACIONES */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #container {
    flex-direction: column;
  }
  #sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid #2e324f;
    box-shadow: none;
  }
  #contenido {
    padding: 20px;
  }
}
.inicio-btn {
  background: #00f0ff;
  color: #000;
  border: none;
  font-weight: bold;
  border-radius: 6px;
  padding: 10px 20px;
  margin-bottom: 15px;
  cursor: pointer;
  width: 100%;
  font-family: 'Orbitron', sans-serif;
  transition: 0.3s ease;
}
.inicio-btn:hover {
  background: #00c0cc;
  color: #fff;
}
