/* ===== Google Font Import - Poppins ===== */ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap'); * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; transition: all 0.4s ease; } /* introduccion - Hero Section Mejorada */ .hero { display: flex; justify-content: center; position: relative; padding: 200px 0; text-align: start; color: white; background: black; overflow: hidden; } /* Efecto de nube roja difuminada en movimiento */ .hero::before { content: ""; position: absolute; top: -40%; left: -15%; width: 130%; height: 250%; background: radial-gradient(ellipse 1200px 500px at 50% 20%, rgba(255, 0, 0, 0.18) 0%, rgba(255, 30, 30, 0.12) 20%, rgba(255, 60, 60, 0.08) 40%, rgba(255, 100, 100, 0.04) 60%, rgba(255, 120, 120, 0.02) 80%, transparent 100%); animation: cloudMovement 20s ease-in-out infinite; z-index: 0; } /* Segunda capa de nube para más profundidad */ .hero::after { content: ""; position: absolute; top: -20%; right: -20%; width: 110%; height: 200%; background: radial-gradient(ellipse 900px 400px at 30% 25%, rgba(255, 20, 20, 0.14) 0%, rgba(255, 50, 50, 0.08) 25%, rgba(255, 80, 80, 0.05) 50%, rgba(255, 120, 120, 0.02) 75%, transparent 100%); animation: cloudMovement2 25s ease-in-out infinite reverse; z-index: 0; } @keyframes cloudMovement { 0%, 100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.8; } 25% { transform: translateY(-20px) scale(1.05) rotate(1deg); opacity: 0.9; } 50% { transform: translateY(-10px) scale(1.1) rotate(-0.5deg); opacity: 1; } 75% { transform: translateY(-30px) scale(1.02) rotate(0.8deg); opacity: 0.85; } } @keyframes cloudMovement2 { 0%, 100% { transform: translateY(10px) scale(0.95) rotate(0deg); opacity: 0.6; } 30% { transform: translateY(-15px) scale(1.08) rotate(-1deg); opacity: 0.8; } 60% { transform: translateY(5px) scale(1.12) rotate(0.5deg); opacity: 0.9; } 90% { transform: translateY(-25px) scale(0.98) rotate(-0.3deg); opacity: 0.7; } } .hero-content { position: relative; z-index: 1; color: #fff; } .containerint { width: 75%; position: relative; z-index: 2; } .hero h1 { font-size: 68px; margin-bottom: 20px; text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); position: relative; z-index: 2; } .hero p { font-size: 28px; margin-bottom: 40px; text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3); position: relative; z-index: 2; } .cta-button { background: linear-gradient(45deg, #ff0000, #ff3333); color: #fff; font-size: 18px; text-decoration: none; padding: 12px 20px; border-radius: 4px; position: relative; z-index: 2; box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3); transition: all 0.3s ease; } .cta-button:hover { background: linear-gradient(45deg, #ff000085, #ff3333aa); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4); } /* movies */ .cont-movie { max-width: 100%; display: flex; justify-content: center; margin: 20px; } .movies { max-width: 75%; width: 100%; padding: 40px 0; margin: 0 auto; } .movie-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); grid-gap: 22px; } .movie-card { position: relative; overflow: hidden; transition: filter 0.3s, transform 0.3s; } .movie-card img { width: 100%; height: 300px; object-fit: cover; border-radius: 5px; object-position: center; } .movie-card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 10px; background-color: rgba(0, 0, 0, 0.7); color: #fff; font-size: 14px; text-align: left; transition: opacity 0.2s; opacity: 0; } .movie-card:hover { filter: brightness(0.2); transform: scale(1.10); } .movie-card:hover .movie-card-content { opacity: 1; } .movie-card-text { text-align: start; color: white; font-size: 13px; margin-left: 5px; } /* text */ .cont-text-movie { display: flex; align-items: center; justify-content: space-between; width: 100%; height: auto; } .txt-movie { font-size: 25px; color: white; } .cont-text-movie a { text-decoration: none; color: white; color: #fff; text-decoration: none; padding: 8px 15px; border-radius: 4px; } .separator { width: 100%; height: 2px; background-color: rgb(26, 26, 26); margin-top: 10px; margin-bottom: 40px; } .separator-2 { width: 100%; height: 2px; background-color: rgb(26, 26, 26); margin-top: 140px; margin-bottom: 0px; } .temptextdi { color: rgb(91, 91, 91); } /* footer */ .footer-pelimatch { margin-top: 5px; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgb(91, 91, 91); padding-bottom: 40px; } .footer-pelimatch p { font-size: 13px; width: 50%; text-align: center; margin-bottom: 10px; } @media (max-width: 790px) { /* header */ .hero { height: auto; padding: 140px 0px 120px; margin-bottom: 0px; } .hero::before { top: -30%; width: 160%; height: 200%; background: radial-gradient(ellipse 1000px 400px at 50% 25%, rgba(255, 0, 0, 0.16) 0%, rgba(255, 30, 30, 0.10) 25%, rgba(255, 60, 60, 0.06) 50%, rgba(255, 100, 100, 0.03) 75%, transparent 100%); } .hero::after { top: -15%; width: 140%; height: 160%; background: radial-gradient(ellipse 800px 320px at 30% 30%, rgba(255, 20, 20, 0.12) 0%, rgba(255, 50, 50, 0.06) 40%, rgba(255, 80, 80, 0.03) 70%, transparent 100%); } .hero h1 { font-size: 36px; margin-bottom: 20px; } .hero p { font-size: 16px; margin-bottom: 40px; } .containerint { width: 85%; height: 100%; } .cta-button { font-size: 16px; padding: 8px; } /* movies */ .cont-movie { max-width: 100%; display: flex; justify-content: center; align-items: center; } .movies { max-width: 100%; margin: 10px; } .movie-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-gap: 20px; } .movie-card { position: relative; overflow: hidden; transition: transform 0.2s; } .movie-card img { width: 100%; height: 300px; object-fit: cover; object-position: center; } .movie-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } .movie-card img { height: 260px; } .movie-card-content { width: 100%; } /* titulo recientes */ .txt-movie { font-size: 20px; } /* footer */ .footer-pelimatch { margin-top: 5px; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgb(91, 91, 91); padding-bottom: 40px; } .footer-pelimatch p { font-size: 11px; width: 70%; text-align: center; margin-bottom: 10px; } }