.stars, .twinkling, .clouds { position:absolute; display:block; top:0; bottom:0; left:0; right:0; width:100%; height:100%; } .stars { z-index: 0; background: #000 url('YKY28eT.png') repeat top center; } .twinkling{ z-index: 1; background:transparent url('XYMF4ca.png') repeat top center; animation: move-twink-back 200s linear infinite; } .clouds{ z-index: 2; background:transparent url('mHbScrQ.png') repeat top center; animation: move-clouds-back 200s linear infinite; } @keyframes move-twink-back { from {background-position:0 0;} to {background-position:-10000px 5000px;} } @keyframes move-clouds-back { from {background-position:0 0;} to {background-position:10000px 0;} } /* ALIENT TPYE LLOVERAS DIGITAL */ @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@900&display=swap'); /* Centrar el texto sobre el background */ .alien-text { font-family: 'Orbitron', sans-serif; font-size: 100px; font-weight: 900; color: rgba(0, 255, 0, 1); letter-spacing: 15px; text-shadow: 0 0 10px rgba(0, 255, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.6), 0 0 30px rgba(0, 255, 0, 0.4), 0 0 40px rgba(0, 255, 0, 0.2); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; opacity: 0; animation: fadeIn 4s linear forwards; z-index: 3; /* Para que esté sobre las nubes */ } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } /* SEE MORE */ /* Contenedor de la flecha */ .see-more { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 40px; cursor: pointer; } /* Texto "See More" */ .see-more p { font-size: 14px; margin: 5px 0; color: rgba(0, 255, 0, 1); text-shadow: 0 0 10px rgba(0, 255, 0, 0.8); } /* EXPLORE BUTTON */ @import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap'); /* EXPLORE BUTTON */ .explore-button { font-family: 'Press Start 2P', sans-serif; width: 250px; height: 50px; border: 2px dashed rgba(0, 255, 0, 0.8); border-radius: 8px; /* Esquinas ligeramente redondeadas */ display: flex; align-items: center; justify-content: center; font-size: 20px; color: rgba(0, 255, 0, 1); text-shadow: 0 0 10px rgba(0, 255, 0, 0.8); cursor: pointer; animation: flicker 2s ease-in-out infinite alternate; position: absolute; bottom: 10%; /* Ajusta la posición más abajo */ left: 50%; transform: translateX(-50%); } /* Animación de parpadeo suave */ @keyframes flicker { 0% { opacity: 1; text-shadow: 0 0 10px rgba(0, 255, 0, 0.8); } 30% { opacity: 0.85; text-shadow: 0 0 8px rgba(0, 255, 0, 0.7); } 50% { opacity: 0.7; text-shadow: 0 0 6px rgba(0, 255, 0, 0.5); } 80% { opacity: 0.9; text-shadow: 0 0 9px rgba(0, 255, 0, 0.75); } 100% { opacity: 1; text-shadow: 0 0 10px rgba(0, 255, 0, 0.8); } } /* RESPONSIBE */ /* Estilos para tablets y móviles */ @media screen and (max-width: 1024px) { .alien-text { font-size: 60px; letter-spacing: 10px; } .explore-button { width: 200px; height: 45px; font-size: 16px; } } @media screen and (max-width: 768px) { .alien-text { font-size: 40px; letter-spacing: 5px; top: 45%; } .explore-button { width: 180px; height: 40px; font-size: 14px; bottom: 15%; } } @media screen and (max-width: 480px) { .alien-text { font-size: 30px; letter-spacing: 3px; top: 40%; } .explore-button { width: 150px; height: 35px; font-size: 12px; bottom: 12%; } }