* { margin: 0; padding: 0; box-sizing: border-box; -webkit-user-drag: none; /* Evita arrastrar en WebKit */ user-select: none; /* Impide seleccionar la imagen o video */ } img, video { pointer-events: none; /* Bloquea la interacción, no podrán ser clickeadas */ } body { font-family: Arial, sans-serif; padding-bottom: 55px !important; /* espacio para el nav */ background: #ffffff; /* Color de fondo predeterminado */ } .header { display: flex; align-items: center; justify-content: center; margin: 10px auto; } .header h1 { color: #1e7e34; } .current-matches { text-align: center; padding: 20px; padding-left: 10px; } .matches-title { text-align: left; color: #1e7e34; margin-bottom: 10px; font-size: 1.5rem; } .match-options { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 10px; } .match-option { background-color: transparent; color: #1e7e34; border: 2px solid #1e7e34; padding: 6px 14px; border-radius: 5px; cursor: pointer; font-weight: 600; font-size: 0.95rem; transition: background-color 0.3s ease, color 0.3s ease; } .match-option:hover { background-color: rgba(30, 126, 52, 0.1); } .match-option.active { background-color: #1e7e34; color: white; } .matches-container { margin-top: 5px; padding: 0 10px; /* Agrega padding izquierdo y derecho */ } .match-day { font-weight: bold; margin-bottom: 8px; color: #1e7e34; } .match-item { background-color: white; border: 1px solid #ccc; padding: 10px; margin-bottom: 10px; border-radius: 7px; } .match-header { display: flex; justify-content: space-between; cursor: pointer; font-weight: bold; } .toggle-icon { margin-top: auto; transition: transform 0.3s ease; } .match-item.active .toggle-icon { transform: rotate(180deg); } .channel-list { display: none; } .match-item.active .channel-list { display: block; } .channel-buttons { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 0; } .channel-buttons button { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #1e7e34; background-color: white; border-radius: 4px; color: #1e7e34; font-weight: bold; cursor: pointer; font-size: 0.85rem; transition: background-color 0.2s ease; } .channel-buttons button:hover { background-color: #e6f3eb; } .channel-buttons img { width: 20px; height: 20px; object-fit: contain; } /* Carrusel */ #slider { overflow-x: auto; white-space: nowrap; } #slider figure { display: inline-block; margin: 0; } #slider figure img { width: 100%; height: 240px; vertical-align: top; } div#slider { overflow: hidden; } div#slider figure img { width: 20%; float: left; } div#slider figure { position: relative; width: 500%; margin: 0; left: 0; text-align: left; font-size: 0; animation: 10s slidy infinite; } @keyframes slidy { 0% { left: 0%; } 20% { left: 0%; } 25% { left: -100%; } 45% { left: -100%; } 50% { left: -200%; } 70% { left: -200%; } 100% { left: 0%; } } .nav { position: fixed; bottom: 0; width: 100%; height: 55px; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2); background-color: #000; /* Color de fondo de la barra de navegación predeterminado */ display: flex; overflow-x: auto; border-top: 1px solid #404040; transition: background-color 0.3s ease; /* Transición para el color de fondo */ } .nav__link { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-grow: 1; min-width: 50px; overflow: hidden; white-space: nowrap; font-family: sans-serif; font-size: 13px; color: #30c352; /* Color del icono de enlace (rojo) */ text-decoration: none; -webkit-tap-highlight-color: transparent; transition: background-color 0.1s ease-in-out; padding: 5px 0; } .nav__link:hover { background-color: #404040; /* Color de fondo al pasar el mouse */ } .nav__link--active { color: #1e7e34; /* Color del icono de enlace activo (rojo oscuro) */ } .nav__icon { font-size: 25px; margin-bottom: 2px; } @font-face { font-family: 'Material Icons'; src: url('MaterialIcons-Regular.ttf') format('truetype'); /* Asegúrate de que la ruta coincida */ font-weight: normal; font-style: normal; }