B4BY.588
Home
Terminal
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
sportmx
/
www
/
bancas-para-jugadores
/
assets
/
css
/
Filename :
main.css
back
Copy
@font-face { font-family: 'Roboto'; src: url('assets/fonts/Roboto-Thin.ttf') format('truetype'); font-weight: 100; font-display: swap; } @font-face { font-family: 'Roboto'; src: url('assets/fonts/Roboto-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; } @font-face { font-family: 'Roboto'; src: url('assets/fonts/Roboto-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; } @font-face { font-family: 'Roboto'; src: url('assets/fonts/Roboto-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; } @font-face { font-family: 'Roboto'; src: url('assets/fonts/Roboto-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; } @font-face { font-family: 'Roboto'; src: url('assets/fonts/Roboto-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; } :root { --primary-color: #1b5e20; --secondary-color: #ff8f00; --dark-text: #333; --light-text: #fff; --light-gray: #f5f5f5; --border-radius: 5px; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; } body { line-height: 1.6; color: var(--dark-text); } header { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background-color: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .logo { width: 200px; } .logo img { width: 100%; height: auto; } .cta-button { background-color: var(--secondary-color); color: var(--light-text); padding: 10px 20px; border-radius: var(--border-radius); text-decoration: none; font-weight: bold; display: inline-flex; align-items: center; transition: all 0.3s ease; } .cta-button:hover { background-color: #f57c00; transform: translateY(-2px); } .cta-button i { margin-right: 8px; } nav { background-color: var(--primary-color); padding: 0 5%; } nav ul { display: flex; list-style: none; justify-content: space-between; } nav li { position: relative; } nav a { color: var(--light-text); text-decoration: none; padding: 15px 0; display: block; text-align: center; font-size: 0.9rem; } nav a:hover { text-decoration: underline; } .social-icons { display: flex; gap: 15px; margin-left: 15px; } .social-icons a { color: var(--light-text); } .social-icon svg { width: 5px; height: 5px; } .hero { background-size: cover; background-position: center; color: var(--light-text); padding: 60px 5%; text-align: center; position: relative; } .hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 1; } .hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; } .hero h1 { font-size: 2.5rem; margin-bottom: 20px; } .hero p { font-size: 1.2rem; margin-bottom: 30px; } .featured-product { padding: 50px 5%; background-color: #fff; } .featured-product h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; color: var(--dark-text); } .product-showcase { display: flex; flex-direction: column; gap: 30px; } .product-image { flex: 2; border-radius: var(--border-radius); overflow: hidden; } .product-image img { width: 100%; height: auto; display: block; } .product-details { flex: 1; padding: 20px; background-color: var(--primary-color); color: var(--light-text); border-radius: var(--border-radius); } .product-details h3 { font-size: 1.5rem; margin-bottom: 20px; } .product-specs { margin-bottom: 20px; } .spec-item { display: flex; align-items: center; margin-bottom: 10px; } .spec-icon { width: 3%; margin-right: 10px; font-weight: bold; filter: invert(100%); } .spec-icon-2 { width: 2%; margin-left: 2px; margin-right: 10px; font-weight: bold; filter: invert(100%); } .price { font-size: 2rem; font-weight: bold; margin: 20px 0; color: var(--light-text); } .benefits { padding: 50px 5%; background-color: var(--light-gray); } .benefits h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; } .benefits-list { list-style: none; } .benefit-item { margin-bottom: 30px; border-bottom: 1px solid #ddd; padding-bottom: 20px; } .benefit-item:last-child { border-bottom: none; } .benefit-item h3 { color: var(--primary-color); margin-bottom: 10px; font-size: 1.2rem; } .products-list { padding: 50px 5%; background-color: #fff; } .products-list h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; } .product-types { list-style: none; } .product-types li { margin-bottom: 15px; padding-left: 30px; position: relative; } .product-types li::before { content: "✓"; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; } .faq { padding: 50px 5%; background-color: var(--light-gray); } .faq h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; } .faq-item { margin-bottom: 15px; border: 1px solid #ddd; border-radius: var(--border-radius); overflow: hidden; } .faq-question { padding: 15px; background-color: #fff; cursor: pointer; font-weight: bold; display: flex; justify-content: space-between; align-items: center; } .faq-question::after { content: "+"; font-size: 1.5rem; color: var(--secondary-color); } .faq-answer { padding: 0 15px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background-color: #f9f9f9; } .faq-item.active .faq-answer { padding: 15px; max-height: 500px; } .faq-item.active .faq-question::after { content: "-"; } .cta-section { padding: 80px 5%; background-size: cover; background-position: center; position: relative; text-align: center; } .cta-section::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(27, 94, 32, 0.8); z-index: 1; } .cta-content { position: relative; z-index: 2; color: var(--light-text); } .cta-section h2 { font-size: 2rem; margin-bottom: 20px; } .cta-section p { margin-bottom: 30px; font-size: 1.1rem; } footer { background-color: #1fa351; color: var(--light-text); padding: 50px 5% 20px; } .footer-content { display: flex; flex-direction: column; gap: 30px; margin-bottom: 40px; } .footer-logo { width: 180px; } .footer-info p { margin-bottom: 15px; font-size: 0.9rem; } .footer-nav h3, .contact-info h3 { margin-bottom: 15px; font-size: 1.2rem; } .footer-nav ul { list-style: none; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: var(--light-text); text-decoration: none; font-size: 0.9rem; } .footer-nav a:hover { text-decoration: underline; } .contact-info a { color: var(--light-text); text-decoration: none; } .contact-button { display: inline-block; background-color: var(--secondary-color); color: var(--light-text); padding: 10px 20px; border-radius: var(--border-radius); text-decoration: none; font-weight: bold; margin-top: 15px; transition: all 0.3s ease; } .contact-button:hover { background-color: #f57c00; } .copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; } .whatsapp-button { position: fixed; bottom: 20px; left: 20px; background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; text-decoration: none; box-shadow: 2px 2px 5px rgba(0,0,0,0.3); z-index: 1000; font-size: 2rem; } @media screen and (min-width: 768px) { .product-showcase { flex-direction: row; } .footer-content { flex-direction: row; justify-content: space-between; } .hero h1 { font-size: 3rem; } nav ul { justify-content: flex-start; gap: 30px; } .social-icons { margin-left: auto; } } @media screen and (max-width: 767px) { .product-image img { background-size: cover; background-position: right bottom; } header { flex-direction: column; gap: 15px; } nav ul { flex-wrap: wrap; justify-content: center; gap: 10px; } nav a { padding: 10px 15px; font-size: 0.8rem; } .social-icons { margin: 0; justify-content: center; } .hero h1 { font-size: 2rem; } .hero p { font-size: 1rem; } .product-details h3 { font-size: 1.3rem; } .price { font-size: 1.7rem; } } .slider-container { position: relative; width: 100%; border-radius: var(--border-radius); overflow: hidden; } .slider { display: flex; width: 100%; height: 400px; overflow: hidden; position: relative; } .slide { position: absolute; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease-in-out; } .slide.active { opacity: 1; } .slide img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; background-color: transparent; } .slide-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; filter: blur(5px); opacity: 0.8; z-index: 1; } .slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.5); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; z-index: 10; display: flex; justify-content: center; align-items: center; transition: background-color 0.3s ease; } .slider-arrow:hover { background-color: rgba(0, 0, 0, 0.8); } .prev-arrow { left: 10px; } .next-arrow { right: 10px; } .slider-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; } .dot { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.5); cursor: pointer; transition: background-color 0.3s ease; } .dot.active { background-color: var(--secondary-color); } @media screen and (max-width: 767px) { .slider { height: 300px; } .slider-arrow { width: 30px; height: 30px; font-size: 1rem; } } .nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0 5%; } .desktop-menu { display: flex; list-style: none; justify-content: flex-start; gap: 30px; } .mobile-nav { display: none; align-items: center; gap: 20px; } .menu-toggle { background: none; border: none; color: var(--light-text); font-size: 1.5rem; cursor: pointer; padding: 5px; } .menu-toggle svg { width: 20px; height: 20px; fill: white; } .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 998; display: none; } .mobile-menu { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background-color: var(--primary-color); z-index: 999; transition: left 0.3s ease-in-out; overflow-y: auto; } .mobile-menu.active { left: 0; } .mobile-menu-header { display: flex; justify-content: flex-end; padding: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .close-menu { background: none; border: none; color: var(--light-text); font-size: 1.5rem; cursor: pointer; } .mobile-menu ul { list-style: none; padding: 0; margin: 0; } .mobile-menu li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .mobile-menu a { color: var(--light-text); text-decoration: none; padding: 15px 20px; display: block; font-size: 1rem; } .mobile-menu a:hover { background-color: rgba(255, 255, 255, 0.1); } @media screen and (min-width: 768px) { .mobile-nav { display: none; } .desktop-menu { display: flex; } .social-icons { margin-left: auto; } } @media screen and (max-width: 767px) { nav { padding: 10px 0; } .desktop-menu { display: none; } .mobile-nav { display: flex; width: 100%; justify-content: space-between; } .social-icons { display: flex; gap: 15px; margin: 0; } } /* Estilos de la galería (2 imágenes por fila) */ .gallery-section { padding: 50px 5%; background-color: #f9f9f9; text-align: center; } .gallery-section h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; } .gallery-container { max-width: 1200px; margin: 0 auto; } .gallery-row { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; } .gallery-item { flex: 1; min-width: 300px; max-width: calc(50% - 10px); cursor: pointer; transition: transform 0.3s; } .gallery-item:hover { transform: scale(1.02); } .gallery-item img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); } .gallery-caption { margin-top: 10px; font-weight: 500; } /* Estilos del Lightbox */ .lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); text-align: center; } .lightbox-content { margin: auto; display: block; max-height: 80vh; max-width: 90vw; margin-top: 5vh; animation: zoom 0.3s; } @keyframes zoom { from {transform: scale(0.9)} to {transform: scale(1)} } .lightbox-caption { color: #fff; padding: 15px; font-size: 1.2rem; } .close-btn { position: absolute; top: 20px; right: 30px; color: white; font-size: 35px; font-weight: bold; cursor: pointer; transition: 0.3s; } .close-btn:hover { color: #ff8f00; } /* Responsive */ @media (max-width: 768px) { .gallery-row { flex-direction: column; align-items: center; } .gallery-item { max-width: 100%; } .lightbox-content { width: 95%; } } /* Contenedor principal del hero slider */ .hero-slider-section { position: relative; height: 600px; overflow: hidden; width: 100%; isolation: isolate; /* Aísla este componente */ } /* Contenedor de slides */ .hero-slides-container { position: relative; width: 100%; height: 100%; } /* Estilos individuales de cada slide */ .hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: #1b5e20; } .hero-slide h1 { font-size: 2.5rem; margin-bottom: 20px; } .hero-slide p { font-size: 1.2rem; margin-bottom: 30px; padding: 5px; background: rgba(0, 0, 0, 0.65) ; } .hero-slide.active { opacity: 1; } /* Contenido dentro de cada slide */ .hero-slide-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; padding: 60px 20px; text-align: center; color: white; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; } /* Overlay para mejor legibilidad */ .hero-slide::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 1; } /* Botones de navegación */ .hero-slider-prev, .hero-slider-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.2); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 24px; cursor: pointer; z-index: 10; transition: all 0.3s; display: flex; align-items: center; justify-content: center; } .hero-slider-prev:hover, .hero-slider-next:hover { background: rgba(255, 255, 255, 0.4); } .hero-slider-prev { left: 20px; } .hero-slider-next { right: 20px; } /* Indicadores */ .hero-slider-indicators { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; } .hero-indicator { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: all 0.3s; border: none; } .hero-indicator.active { background: #ff8f00; transform: scale(1.2); } /* Botón CTA específico para el hero */ .hero-cta-button { display: inline-block; background-color: #ff8f00; color: white; padding: 12px 30px; border-radius: 5px; text-decoration: none; font-weight: bold; font-size: 1.2rem; margin-top: 20px; transition: all 0.3s; text-shadow: none; } .hero-cta-button:hover { background-color: #e67e00; transform: translateY(-2px); } /* Responsive */ @media (max-width: 768px) { .hero-slider-section { height: 500px; } .hero-slide-content { padding: 40px 20px; } .hero-slider-prev, .hero-slider-next { width: 40px; height: 40px; font-size: 20px; } .hero-indicator { width: 12px; height: 12px; } } /* Estilos para los iconos sociales en desktop */ .desktop-menu .desktop-social-icons { display: flex; align-items: center; gap: 15px; margin-left: 20px; } .desktop-menu .desktop-social-icons a { color: white; font-size: 1rem; transition: transform 0.3s ease; } .desktop-menu .desktop-social-icons a:hover { transform: translateY(-2px); color: #ff8f00; /* Color de hover */ } .desktop-menu .desktop-social-icons svg { width: 20px; height: 20px; fill: white; } /* Ocultar iconos sociales del mobile-nav en desktop */ @media (min-width: 769px) { .mobile-nav .social-icons { display: none; } } /* Mostrar solo iconos en mobile-nav para móviles */ @media (max-width: 768px) { .desktop-menu .desktop-social-icons { display: none; } .mobile-nav .social-icons { display: flex; gap: 15px; } } /* Estilos generales para iconos */ .social-icons a, .desktop-social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); transition: all 0.3s ease; } .social-icon { width: 18px; height: 18px; transition: transform 0.3s ease; } .social-icons a:hover, .desktop-social-icons a:hover { background: rgba(255, 255, 255, 0.2); } /* Contenedor mobile */ .mobile-nav .social-icons { display: flex; gap: 12px; } .mobile-nav .social-icons a { display: inline-flex; padding: 6px; } /* Efecto hover solicitado */ .desktop-menu > li:not(.desktop-social-icons):hover { padding: 10px; background-color: #bf9f00; } .desktop-menu > li:not(.desktop-social-icons):hover > a { color: white; text-decoration: none; } /* Excluir los iconos sociales del efecto */ .desktop-menu > li.desktop-social-icons:hover { background-color: transparent; } /* Mantener estilos existentes para iconos */ .desktop-social-icons { display: flex; align-items: center; gap: 15px; margin-left: 20px; } /* Responsive (opcional) */ @media (max-width: 768px) { .desktop-menu { display: none; } } /* Efecto hover con pseudo-elemento para más elegancia */ .desktop-menu > li:not(.desktop-social-icons) { position: relative; overflow: hidden; } .desktop-menu > li:not(.desktop-social-icons)::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0; background-color: #bf9f00; transition: height 0.3s ease; z-index: -1; } .desktop-menu > li:not(.desktop-social-icons):hover::after { height: 100%; }