@import url("https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&display=swap"); * { margin: 0; padding: 0; box-sizing: border-box; } body, html { width: 100%; height: 100%; overflow: hidden; font-family: sans-serif; background: #fff; margin: 0; padding: 0; } .parallax-container { position: relative; width: 100vw; height: 100vh; overflow: hidden; } h1, p { font-family: "Cherry Bomb One", cursive; color: #d218b0; text-align: center; margin: 0; } p { font-size: 1.2rem; margin-top: 10px; font-weight: 400; } .layer { position: absolute; will-change: transform; transition: transform 0.05s linear; pointer-events: none; } /* Fondo A - ocupa toda la pantalla */ .fondo-a { width: 110vw; /* un poco más grande para que tenga espacio de movimiento */ height: 110vh; top: -5vh; left: -5vw; z-index: 1; } /* Fondo B - persona a la derecha centrado verticalmente */ .fondo-b { width: auto; height: 60vw; right: 5vw; top: 50%; transform: translateY(-50%); z-index: 2; } /* Fondo C - mesa abajo centrada */ .fondo-c { width: 100vw; bottom: -2px; left: 0; z-index: 3; } .loader-screen { position: fixed; background: #ab0a75; width: 100%; height: 100%; z-index: 9999; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; transition: background-color 0.6s ease, opacity 0.8s ease; } .loader-screen.fade-out { opacity: 0; pointer-events: none; } .logo-container { max-width: 350px; width: 80%; display: flex; justify-content: center; align-items: center; transition: transform 0.8s ease; transform-origin: center; overflow: visible; } .logo-container.expand-full { transform: scale(100) rotate(-45deg); } .logo-container img, .logo-container svg { width: 100%; height: 100%; display: block; } .counter { margin-top: 20px; font-size: 24px; } .main-content { position: relative; opacity: 0; pointer-events: none; transition: opacity 1s ease; padding: 2rem; text-align: center; position: absolute; top: 50%; left: 5vw; transform: translateY(-50%); background: white; color: black; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); z-index: 10; font-family: sans-serif; width: 40%; max-height: 680px; height: 100%; } .logo { position: absolute; top: -11%; left: 50%; transform: translateX(-50%); max-width: 300px; width: 90%; } #twitch-embed { padding: 1rem; } #twitch-embed iframe { width: 100%; height: 380px; } .container-social-media { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; } .social-media-link { text-decoration: none; padding: 0.5rem 1rem; border-radius: 15px; transition: background 0.3s; background: #6ac4fb; color: #487c9f; font-family: "Cherry Bomb One"; } .social-media-link:hover { background: rgba(210, 24, 176, 0.1); } @media (max-width: 1920px) { .fondo-b { height: 65vw; right: 2vw; top: 60%; } } @media (max-width: 1705px) { .main-content { max-height: 750px; } } @media (max-width: 1400px) { .fondo-b { height: 55vw; top: 72%; } } @media (max-width: 945px) { #twitch-embed iframe { height: 250px; } } @media (max-width: 768px) { .parallax-container { height: 100%; } .main-content { left: 50%; top: 50%; width: 90vw; height: auto; max-height: none; transform: translate(-50%, -50%); padding: 1.5rem; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); border-radius: 8px; background: #ffffff7d; } /* Fondo A debería ajustarse para ocupar todo */ .fondo-a { position: relative; height: 110vh; width: auto; left: -60%; object-fit: contain; } .fondo-b { width: auto; height: 50vh; right: 0vw; top: 80%; z-index: 2; } } @media (max-width: 500px) { .main-content { padding-top: 50px; padding-bottom: 50px; } .logo { width: 50vw; max-width: 200px; top: -30px; } } @media (max-height: 750px) { .main-content { width: 90vw; height: auto; max-height: none; padding: 1rem; top: 50%; } h1 { font-size: 1.5rem; } p { font-size: 1rem; margin: 0; } .logo { top: -43px; width: 70vw; max-width: 150px; } #twitch-embed iframe { height: 180px; } } .main-content.show { opacity: 1; pointer-events: auto; }