DEV Community

David Berúmen Véliz
David Berúmen Véliz

Posted on

Aurora bot 3

<!DOCTYPE html>




Génesis Mundi - Biblioteca Cósmica Interactiva


<br> :root {<br> --bg: #0a001f;<br> --text: #e0e0ff;<br> --accent: #00d4ff;<br> --accent-dark: #0099cc;<br> --card: rgba(20, 20, 60, 0.7);<br> }</p> <div class="highlight"><pre class="highlight plaintext"><code>html { scroll-behavior: smooth; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Roboto', sans-serif; background: linear-gradient(to bottom, var(--bg), #1a0033); color: var(--text); min-height: 100vh; overflow-x: hidden; /* Evita scroll horizontal por animaciones */ line-height: 1.6; } /* --- ESTRELLAS DE FONDO --- */ #star-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; } .star { position: absolute; background: white; border-radius: 50%; opacity: 0.8; animation: twinkle infinite alternate; } @keyframes twinkle { from { opacity: 0.2; transform: scale(0.8); } to { opacity: 1; transform: scale(1.2); } } /* --- HEADER &amp; NAV --- */ header { background: rgba(10, 0, 31, 0.85); /* Un poco más oscuro para contraste */ backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 1000; padding: 1rem 5%; border-bottom: 1px solid rgba(0, 212, 255, 0.1); } nav ul { display: flex; justify-content: center; list-style: none; gap: 2.5rem; } nav a { color: var(--text); text-decoration: none; font-family: 'Orbitron', sans-serif; font-weight: 500; transition: all 0.3s; position: relative; } nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background: var(--accent); transition: width 0.3s; } nav a:hover { color: var(--accent); text-shadow: 0 0 15px var(--accent); } nav a:hover::after { width: 100%; } /* --- HERO SECTION --- */ .hero { text-align: center; padding: 12rem 5% 8rem; /* Imagen fija de fondo */ background: url('https://images.unsplash.com/photo-1444703686981-a3abbc4d4fe3?auto=format&amp;fit=crop&amp;q=80') center/cover no-repeat fixed; position: relative; overflow: hidden; } .hero::before { content: ''; position: absolute; inset: 0; /* Gradiente mejorado para que el texto sea más legible sobre la imagen */ background: linear-gradient(to bottom, rgba(10, 0, 31, 0.7), rgba(10, 0, 31, 1)); z-index: 1; } .hero-content { position: relative; z-index: 2; } .hero h1 { font-family: 'Orbitron', sans-serif; /* Ajusté ligeramente el clamp para móviles muy pequeños */ font-size: clamp(2.5rem, 10vw, 6rem); font-weight: 700; color: var(--accent); margin-bottom: 1.5rem; letter-spacing: 0.05em; /* Tu animación de neón */ animation: neon-pulse 4s ease-in-out infinite alternate; } .hero p { font-size: clamp(1.1rem, 3vw, 1.5rem); max-width: 800px; margin: 0 auto; line-height: 1.8; opacity: 0.9; text-shadow: 0 2px 4px rgba(0,0,0,0.8); } @keyframes neon-pulse { 0% { text-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 40px rgba(0, 212, 255, 0.4); } 100% { text-shadow: 0 0 30px rgba(0, 212, 255, 1), 0 0 60px rgba(0, 212, 255, 0.8), 0 0 90px rgba(0, 212, 255, 0.6); } } /* --- CONTENIDO --- */ main { padding: 4rem 5%; max-width: 1400px; margin: 0 auto; } section { margin-bottom: 8rem; /* Scroll-margin para que el header pegajoso no tape el título */ scroll-margin-top: 100px; } h2 { font-family: 'Orbitron', sans-serif; color: var(--text); text-align: center; font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 3rem; text-shadow: 0 0 15px rgba(0,212,255,0.3); border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: 10px; position: relative; left: 50%; transform: translateX(-50%); } .contenido { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; } article { background: var(--card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(0,212,255,0.15); border-radius: 16px; padding: 2.5rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); } article:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); border-color: var(--accent); background: rgba(30,30,80,0.8); } article h3 { color: var(--accent); margin-bottom: 1rem; font-size: 1.5rem; font-family: 'Orbitron', sans-serif; } .comunidad { text-align: center; background: linear-gradient(45deg, rgba(20,20,60,0.8), rgba(0,40,60,0.8)); padding: 5rem 2rem; border-radius: 24px; border: 1px solid rgba(0,212,255,0.2); box-shadow: 0 0 50px rgba(0,0,0,0.5); } .btn-action { display: inline-block; color: var(--bg); background: var(--accent); text-decoration: none; font-weight: bold; font-family: 'Orbitron', sans-serif; padding: 1rem 2.5rem; border-radius: 50px; transition: all 0.3s; box-shadow: 0 0 20px rgba(0, 212, 255, 0.4); } .btn-action:hover { background: white; box-shadow: 0 0 40px white; transform: scale(1.05); } footer { text-align: center; padding: 3rem; background: rgba(0,0,0,0.8); font-size: 0.95rem; border-top: 1px solid rgba(0,212,255,0.1); color: #888; } @media (max-width: 768px) { nav ul { flex-direction: column; gap: 1rem; } .hero { padding: 9rem 5% 5rem; } } </code></pre></div> <p>

<!-- Contenedor para estrellas generadas por JS -->




<!-- ID agregado para la navegación -->


Génesis Mundi


Biblioteca Cósmica Interactiva — Explorando la sabiduría del universo a través del tiempo, la ciencia y el misterio.



<section class="contenido" id="conocimientos">
  <h2>Conocimientos Cósmicos</h2>
  <article>
    <h3>Historia de la Humanidad</h3>
    <p>Desde las primeras civilizaciones sumerias y mayas hasta los albores de la era espacial, recorremos los hitos que forjaron nuestra especie.</p>
  </article>
  <article>
    <h3>Ciencia y Tecnología</h3>
    <p>Los últimos avances en física cuántica, inteligencia artificial, exploración espacial y biotecnología, explicados de forma accesible y profunda.</p>
  </article>
  <article>
    <h3>Filosofía y Espiritualidad</h3>
    <p>Diálogos entre tradiciones ancestrales, misticismo moderno y pensamiento contemporáneo sobre el sentido del cosmos y nuestra existencia.</p>
  </article>
  <article>
    <h3>Cosmogonías Comparadas</h3>
    <p>Exploramos mitos de creación de todo el planeta: del Génesis bíblico al Popol Vuh, del Rigveda a las narrativas aborígenes australianas.</p>
  </article>
</section>

<section class="comunidad" id="comunidad">
  <h2>Únete a la Comunidad Cósmica</h2>
  <p style="margin-bottom: 2rem;">Participa en foros, debates en vivo, grupos de estudio y eventos interactivos con expertos, investigadores y entusiastas del conocimiento universal.</p>
  <a href="#" class="btn-action">
    Unirme ahora →
  </a>
</section>

© 2025 Génesis Mundi - Biblioteca Cósmica Interactiva


Creado con curiosidad cósmica por David Berúmen Véliz


<!-- Script para generar estrellas aleatorias -->
<br> const starContainer = document.getElementById(&#39;star-container&#39;);<br> const starCount = 150; // Cantidad de estrellas</p> <div class="highlight"><pre class="highlight plaintext"><code>for (let i = 0; i &lt; starCount; i++) { const star = document.createElement('div'); star.classList.add('star'); // Posición aleatoria const x = Math.random() * 100; const y = Math.random() * 100; // Tamaño y duración aleatoria const size = Math.random() * 2; const duration = Math.random() * 3 + 2; star.style.left = `${x}%`; star.style.top = `${y}%`; star.style.width = `${size}px`; star.style.height = `${size}px`; star.style.animationDuration = `${duration}s`; starContainer.appendChild(star); } </code></pre></div> <p>



Top comments (0)