* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #2c3e50; color: #ecf0f1; padding-top: 100px; line-height: 1.6; } header { margin-bottom: 20px; position: fixed; top: 0; left: 0; width: 100%; height: 80px; padding: 10px 20px; background-color: rgba(44, 62, 80, 0.8); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 100; color: #fff; display: flex; align-items: center; justify-content: space-between; } html { scrollbar-width: thin; scrollbar-color: #AAADBE transparent; } html::-webkit-scrollbar { width: 6px; height: 6px; background: rgba(0,0,0,0); } html::-webkit-scrollbar-thumb { background: #AAADBE; border-radius: 30px; } html::-webkit-scrollbar-corner { background: rgba(0,0,0,0); } .contenedor { display: flex; align-items: center; width: 100%; max-width: 100%; } .top-left-box img { max-width: 60px; height: auto; border-radius: 50%; border: 2px solid rgba(155, 89, 182, 0.6); box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2); background-color: rgba(44, 62, 80, 0.5); } .top-left-box { margin-right: 30px; } .search-container { display: flex; align-items: center; flex-grow: 1; margin-right: 15px; padding: 8px; background-color: #34495e; border-radius: 30px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } #searchInput { padding: 12px; font-size: 16px; border: none; border-radius: 30px; flex-grow: 1; outline: none; transition: all 0.3s ease; background-color: #2c3e50; color: #ecf0f1; } #searchInput:focus { background-color: #34495e; box-shadow: 0 0 0 2px rgba(155, 89, 182, 0.5); } .search-container i { color: #9b59b6; font-size: 20px; margin-left: 10px; } .donate-button a { text-decoration: none; color: white; background-color: #9b59b6; padding: 12px 24px; border-radius: 30px; font-weight: bold; font-size: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; } .donate-button a:hover { background-color: #8e44ad; transform: scale(1.05); box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4); } .donate-button { margin-right: 20px; } .login-button { display: flex; align-items: center; justify-content: center; } .login-button button { background: none; border: none; cursor: pointer; } .login-button i { font-size: 40px; color: #9b59b6; transition: color 0.3s ease; } .login-button button:hover i { color: #8e44ad; } .login-button i.fa-user-check { color: #2ecc71; } main { display: flex; flex-wrap: wrap; justify-content: center; margin: 20px; } #gameCardsContainer { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Tarjetas pequeñas de 200px de ancho */ grid-auto-rows: 200px; /* Altura fija para cada fila */ gap: 20px; /* Espacio entre tarjetas */ padding: 10px; } .game-card { position: relative; overflow: hidden; display: flex; justify-content: center; align-items: center; background-color: #34495e; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } /* Tarjetas pequeñas (cuadradas) */ .game-card.small { width: 200px; /* Ancho fijo */ height: 200px; /* Altura fija */ } /* Tarjetas grandes (verticales, sin distorsión) */ .game-card.large { grid-row: span 2; /* Ocupa 2 filas */ width: 200px; /* Mismo ancho que las pequeñas */ height: 420px; /* Altura doble (200px + 10px de gap) */ } .game-image { width: 125%; /* Ocupa el 100% del ancho del contenedor */ height: 115%; /* Ocupa el 100% de la altura del contenedor */ object-fit:fill; /* Ajusta la imagen para que se vea completa */ object-position: center; /* Centra la imagen */ } .game-title { position: absolute; bottom: 10px; left: 10px; color: #ecf0f1; font-size: 16px; font-weight: bold; background-color: rgba(0, 0, 0, 0.5); padding: 5px 10px; border-radius: 5px; } .game-card:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); } section { background-color: #34495e; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); margin: 20px; padding: 20px; } section h2, section h3 { color: #ecf0f1; border-bottom: 2px solid #9b59b6; padding-bottom: 10px; margin-bottom: 20px; } section p { color: #bdc3c7; line-height: 1.6; } section ul { margin-top: 10px; margin-left: 20px; color: #bdc3c7; } section ul li { list-style-type: disc; } a { transition: color 0.3s ease; } a:hover { color: #9b59b6; } /* Estilos para el modal de inicio de sesión */ .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.4); } .modal-content { background-color: #34495e; margin: 15% auto; padding: 20px; border: 1px solid #9b59b6; width: 300px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } .close { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; } .close:hover, .close:focus { color: #9b59b6; text-decoration: none; } .form-group { margin-bottom: 15px; } .form-group label { display: block; margin-bottom: 5px; color: #ecf0f1; } .form-group input { width: 100%; padding: 8px; border: 1px solid #9b59b6; border-radius: 4px; background-color: #2c3e50; color: #ecf0f1; } .login-submit { background-color: #9b59b6; color: white; padding: 10px 15px; border: none; border-radius: 4px; cursor: pointer; width: 100%; font-size: 16px; transition: background-color 0.3s ease; } .login-submit:hover { background-color: #8e44ad; } .category-buttons-section { padding: 20px; background-color: #34495e; border-radius: 10px; margin: 20px; text-align: center; } .category-buttons-section h3 { color: #ecf0f1; margin-bottom: 15px; font-size: 24px; } .category-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; } .category-button { padding: 10px 20px; background-color: #9b59b6; color: white; border: none; border-radius: 30px; font-size: 16px; cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; } .category-button:hover { background-color: #8e44ad; transform: scale(1.05); } .category-button.active { background-color: #2ecc71; /* Color para el botón activo */ }