/* GLOBAL STYLES */ body { margin: 0; font-family: 'Nunito', sans-serif; /* Rounded font */ background-color: #f9f9f9; height: 100vh; overflow-x: hidden; overflow-y: auto; } .hidden { display: none !important; } /* TOP MENU */ #top-menu { height: 60px; background-color: white; display: flex; align-items: center; justify-content: center; /* Center buttons horizontally */ box-shadow: 0 2px 5px rgba(0,0,0,0.05); position: fixed; top: 0; width: 100%; z-index: 1000; } .menu-btn { background: none; border: none; font-family: 'Nunito', sans-serif; font-size: 16px; color: #333; padding: 10px 20px; cursor: pointer; transition: background-color 0.2s; } .menu-btn:hover { background-color: #f0f0f0; border-radius: 4px; } .separator { width: 1px; height: 20px; background-color: #555; /* Dark gray separator */ margin: 0 5px; } /* PAGE CONTAINER */ .page { min-height: calc(100vh - 60px); width: 100%; padding-top: 60px; /* Space for fixed menu */ padding-bottom: 40px; /* Space at bottom for scrolling */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; overflow-y: auto; /* Enable vertical scrolling */ } /* PAGE A SPECIFIC */ #page-a { justify-content: center; /* Center vertically */ margin-top: -40px; /* Slight offset to look optical centered */ } #page-a h1 { font-size: 80px; margin: 0 0 10px 0; color: #000; } #page-a p { color: #666; font-size: 20px; margin-bottom: 40px; } .btn-main { background-color: #007BFF; /* Blue */ color: white; border: none; padding: 15px 50px; font-size: 20px; font-family: 'Nunito', sans-serif; border-radius: 30px; /* Fully rounded corners */ cursor: pointer; transition: transform 0.2s ease; } .btn-main:hover { transform: scale(1.1); /* Zoom effect */ } /* PAGE B SPECIFIC */ #page-b { justify-content: space-evenly; /* Distribute vertical space */ padding-bottom: 20px; } /* 1. Display Area */ #display-area { width: 60%; height: 50%; /* Takes up half the page height */ border: 2px solid #ddd; border-radius: 12px; background-color: #fff; display: flex; align-items: center; justify-content: center; color: #555; font-size: 24px; position: relative; } /* 2. Timeline Area */ #timeline-area { width: 60%; height: 80px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; } .timeline-label { position: absolute; top: 0; left: 0; color: #888; font-size: 14px; } #timeline-line { width: 100%; height: 2px; background-color: #87CEEB; /* Light blue */ } /* 3. Control Panel */ #control-panel { display: flex; gap: 20px; width: 60%; justify-content: space-between; } .action-btn { flex: 1; /* Evenly distributed width */ padding: 12px 0; border: none; border-radius: 12px; font-size: 16px; font-family: 'Nunito', sans-serif; font-weight: 700; cursor: pointer; color: white; transition: opacity 0.2s; } .action-btn:hover { opacity: 0.9; } .action-btn.green { background-color: #28a745; } .action-btn.yellow { background-color: #ffc107; color: #333; } .action-btn.blue { background-color: #17a2b8; } .action-btn.red { background-color: #dc3545; } /* 4. Frame Control */ #frame-control { display: flex; align-items: center; gap: 15px; color: #333; font-weight: bold; } #frame-slider { width: 200px; cursor: pointer; } #frame-input { width: 50px; padding: 5px; border: 1px solid #ccc; border-radius: 5px; text-align: center; font-family: 'Nunito', sans-serif; } /* ================ ACHIEVEMENT PAGE ================ */ .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 80%; margin: 40px auto; } .stat-card { background: white; padding: 30px; border-radius: 12px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } .stat-number { font-size: 48px; font-weight: bold; color: #007BFF; margin-bottom: 10px; } .stat-label { font-size: 16px; color: #666; } .achievements-section { width: 80%; margin: 0 auto; } .achievements-section h2 { color: #333; margin-bottom: 20px; } .badges-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .badge { background: white; padding: 30px 20px; border-radius: 12px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: transform 0.2s; } .badge:hover { transform: translateY(-5px); } .badge.locked { opacity: 0.4; filter: grayscale(100%); } .badge-icon { font-size: 64px; margin-bottom: 15px; } .badge-name { font-size: 16px; font-weight: bold; color: #333; } /* ================ RECORDS PAGE ================ */ .records-controls { display: flex; gap: 10px; margin: 20px auto; width: 80%; justify-content: center; } .filter-btn { padding: 10px 20px; border: 2px solid #007BFF; background: white; color: #007BFF; border-radius: 8px; cursor: pointer; font-family: 'Nunito', sans-serif; font-weight: 600; transition: all 0.2s; } .filter-btn:hover { background: #e7f3ff; } .filter-btn.active { background: #007BFF; color: white; } .chart-container { width: 80%; background: white; padding: 30px; border-radius: 12px; margin: 20px auto; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } #focus-chart { display: block; margin: 0 auto; } .sessions-list { width: 80%; margin: 20px auto; } .sessions-list h2 { color: #333; margin-bottom: 15px; } #sessions-table { width: 100%; background: white; border-collapse: collapse; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } #sessions-table th { background: #007BFF; color: white; padding: 15px; text-align: left; font-weight: 600; } #sessions-table td { padding: 12px 15px; border-bottom: 1px solid #eee; } #sessions-table tr:last-child td { border-bottom: none; } #sessions-table tbody tr:hover { background: #f8f9fa; } .btn-view { padding: 6px 12px; background: #007BFF; color: white; border: none; border-radius: 5px; cursor: pointer; font-family: 'Nunito', sans-serif; transition: background 0.2s; } .btn-view:hover { background: #0056b3; } /* ================ SETTINGS PAGE ================ */ .settings-container { width: 60%; max-width: 800px; margin: 20px auto; } .setting-group { background: white; padding: 30px; border-radius: 12px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } .setting-group h2 { margin-top: 0; color: #333; font-size: 20px; margin-bottom: 20px; border-bottom: 2px solid #007BFF; padding-bottom: 10px; } .setting-item { margin-bottom: 25px; } .setting-item:last-child { margin-bottom: 0; } .setting-item label { display: block; margin-bottom: 8px; color: #333; font-weight: 600; } .slider-group { display: flex; align-items: center; gap: 15px; } .slider-group input[type="range"] { flex: 1; } .slider-group span { min-width: 40px; text-align: center; font-weight: bold; color: #007BFF; font-size: 18px; } .setting-description { font-size: 14px; color: #666; margin-top: 5px; font-style: italic; } input[type="checkbox"] { margin-right: 10px; cursor: pointer; } input[type="number"] { width: 100px; padding: 8px; border: 1px solid #ccc; border-radius: 5px; font-family: 'Nunito', sans-serif; } .setting-group .action-btn { margin-right: 10px; margin-top: 10px; } #save-settings { display: block; margin: 20px auto; } /* ================ HELP PAGE ================ */ .help-container { width: 70%; max-width: 900px; margin: 20px auto; } .help-section { background: white; padding: 30px; border-radius: 12px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } .help-section h2 { color: #007BFF; margin-top: 0; margin-bottom: 15px; } .help-section ol, .help-section ul { line-height: 1.8; color: #333; } .help-section p { line-height: 1.6; color: #333; } details { margin: 15px 0; cursor: pointer; padding: 10px; background: #f8f9fa; border-radius: 5px; } summary { font-weight: bold; padding: 5px; color: #007BFF; } details[open] summary { margin-bottom: 10px; border-bottom: 1px solid #ddd; padding-bottom: 10px; } details p { margin: 10px 0 0 0; } /* ================ SESSION SUMMARY MODAL ================ */ .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 2000; } .modal-content { background: white; padding: 40px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); max-width: 500px; width: 90%; } .modal-content h2 { margin-top: 0; color: #333; text-align: center; margin-bottom: 30px; } .summary-stats { margin-bottom: 30px; } .summary-item { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid #eee; } .summary-item:last-child { border-bottom: none; } .summary-label { font-weight: 600; color: #666; } .summary-value { font-weight: bold; color: #007BFF; font-size: 18px; } .modal-content .btn-main { display: block; margin: 0 auto; padding: 12px 40px; } /* ================ TIMELINE BLOCKS ================ */ .timeline-block { transition: opacity 0.2s; border-radius: 2px; } .timeline-block:hover { opacity: 0.7; } /* ================ RESPONSIVE DESIGN ================ */ @media (max-width: 1200px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .badges-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 768px) { .stats-grid, .badges-grid { grid-template-columns: 1fr; width: 90%; } .settings-container, .help-container, .chart-container, .sessions-list, .records-controls { width: 90%; } #control-panel { width: 90%; flex-wrap: wrap; } #display-area { width: 90%; } #timeline-area { width: 90%; } #frame-control { width: 90%; flex-direction: column; } }