* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Orbitron', sans-serif; background-color: #0a0a2a; color: #fff; line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; } .stars { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; } header { background-color: rgba(0, 0, 0, 0.7); padding: 1rem; text-align: center; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; left: 0; right: 0; z-index: 1001; height: 80px; } h1 { font-size: 2rem; text-shadow: 0 0 10px #00ffff; } .menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; } .menu-toggle i { transition: transform 0.3s ease-in-out; } .menu-toggle.active i { transform: rotate(90deg); } .announcement { background-color: rgba(0, 255, 255, 0.2); border: 1px solid #00ffff; border-radius: 5px; padding: 1rem; margin: 1rem; animation: glow 2s infinite alternate; } @keyframes glow { from { box-shadow: 0 0 5px #00ffff; } to { box-shadow: 0 0 20px #00ffff; } } .main-content { display: flex; flex: 1; } .api-categories { width: 250px; padding: 1rem; /* background-color: rgba(0, 0, 0, 0.829); */ background-color: rgba(0, 0, 0, 0.7); overflow-y: auto; transition: left 0.3s ease-in-out, box-shadow 0.3s ease-in-out; } .api-categories.active { left: 0; box-shadow: 5px 0 15px rgba(0, 255, 255, 0.3); } .api-category { background-color: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 1rem; margin-bottom: 1rem; text-align: center; cursor: pointer; transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s; } .api-category:hover { transform: translateY(-5px); background-color: rgba(255, 255, 255, 0.2); box-shadow: 0 0 15px rgba(0, 255, 255, 0.5); } .api-category i { font-size: 2rem; margin-bottom: 0.5rem; } .dashboard { flex: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; padding: 2rem; } .dashboard-item { background-color: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 2rem; margin: 1rem; text-align: center; width: calc(50% - 2rem); min-width: 300px; transition: transform 0.3s, box-shadow 0.3s; } .dashboard-item:hover { transform: translateY(-5px); box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); } .dashboard-item i { font-size: 4rem; margin-bottom: 1rem; } .api-details { display: none; background-color: rgba(0, 0, 0, 0.8); border-radius: 10px; padding: 1rem; margin-top: 1rem; transition: opacity 0.3s ease-out; opacity: 0; } .api-details.active { display: block; opacity: 1; } .api-details h3 { margin-top: 1rem; margin-bottom: 1rem; } .api-details ul { list-style-type: none; } .api-details li { margin-bottom: 0.5rem; } .api-details a { color: #00ffff; text-decoration: none; transition: color 0.3s, text-shadow 0.3s; } .api-details a:hover { color: #fff; text-shadow: 0 0 10px #00ffff; } footer { background-color: rgba(0, 0, 0, 0.7); padding: 1rem; text-align: center; } footer a { color: #00ffff; text-decoration: none; transition: color 0.3s, text-shadow 0.3s; } footer a:hover { color: #fff; text-shadow: 0 0 10px #00ffff; } @media (max-width: 768px) { header { height: auto; } .menu-toggle { display: block; } .main-content { flex-direction: column; } .api-categories { position: fixed; left: -250px; top: 132px; bottom: 0; z-index: 1000; transition: left 0.3s ease-in-out, box-shadow 0.3s ease-in-out; padding-top: 70px; overflow-y: auto; height: auto; } .api-categories.active { left: 0; box-shadow: 5px 0 15px rgba(0, 255, 255, 0.3); } .dashboard { width: 100%; } .api-details { position: static; width: 100%; margin: 5px; max-height: none; overflow-y: visible; } } .star { position: absolute; background-color: #fff; border-radius: 50%; animation: twinkle 2s infinite alternate; } .shooting-star { position: absolute; width: 4px; height: 4px; background-color: #fff; border-radius: 50%; box-shadow: 0 0 10px 2px #fff; } @keyframes twinkle { 0% { opacity: 0.3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.5); } 100% { opacity: 0.3; transform: scale(1); } } @keyframes shoot { 0% { transform: translateX(0) translateY(0); opacity: 1; } 100% { transform: translateX(500px) translateY(500px); opacity: 0; } } .planet-orbit { width: 150px; height: 150px; border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 50%; position: relative; animation: rotate 20s linear infinite; margin: 0 auto; } .planet { width: 20px; height: 20px; background-color: #00ffff; border-radius: 50%; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 10px #00ffff; } @keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }