/* GLOBAL STYLES */ body { margin: 0; font-family: 'Nunito', sans-serif; /* Rounded font */ background-color: #f9f9f9; height: 100vh; overflow: hidden; /* Prevents scrolling */ } .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 { height: 100vh; padding-top: 60px; /* Space for fixed menu */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; } /* 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; }