* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%); color: #e0e0e0; min-height: 100vh; overflow-x: hidden; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; } .header { text-align: center; margin-bottom: 30px; padding: 20px; background: rgba(255, 255, 255, 0.05); border-radius: 15px; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); } .tooltip { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.8); color: #fff; padding: 8px 12px; border-radius: 4px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.2s; z-index: 9999; } h1 { font-size: 2.5em; background: linear-gradient(45deg, #00ffff, #ff00ff); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; animation: glow 3s ease-in-out infinite; } @keyframes glow { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } } .current-time { background: rgba(0, 255, 255, 0.1); border: 2px solid rgba(0, 255, 255, 0.3); border-radius: 10px; padding: 20px; margin-bottom: 20px; text-align: center; position: relative; overflow: hidden; flex: 1; display: flex; flex-direction: column; justify-content: center; height: 40vmin; } .current-time.manual::before { animation-play-state: paused; } .current-time::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent); transform: rotate(45deg); animation: sweep 3s linear infinite; } @keyframes sweep { 0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); } 100% { transform: translateX(100%) translateY(100%) rotate(45deg); } } .cobie-time { font-size: 2.5em; font-family: 'Courier New', monospace; letter-spacing: 2px; margin: 10px 0; text-shadow: 0 0 20px rgba(0, 255, 255, 0.5); } .regular-time { font-size: 1.2em; color: #aaa; } .timezone-selector { margin: 20px 0; text-align: center; } select { padding: 10px 20px; font-size: 16px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 5px; color: #fff; cursor: pointer; transition: all 0.3s ease; } select:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); } .calendar-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 20px 0; } button { padding: 10px 20px; font-size: 16px; background: linear-gradient(45deg, #00ffff, #0080ff); border: none; border-radius: 5px; color: #fff; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; } button::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.3); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; } button:hover::before { width: 300px; height: 300px; } button:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3); } .calendar-view { background: rgba(255, 255, 255, 0.05); border-radius: 15px; padding: 20px; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); overflow: hidden; } .calendar-header { text-align: center; font-size: 1.5em; margin-bottom: 20px; color: #00ffff; } .eonstrip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 20px; transform: translateX(0); transition: transform 0.3s ease; will-change: transform; } .eonstrip-card { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; padding: 15px; text-align: center; transition: all 0.3s ease; cursor: pointer; position: relative; overflow: visible; white-space: normal; } .eonstrip-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%); opacity: 0; transition: opacity 0.3s ease; } .eonstrip-card:hover::before { opacity: 1; } .eonstrip-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2); border-color: rgba(0, 255, 255, 0.5); z-index: 1000; } .eonstrip-card:hover .tooltip { opacity: 1; } .eonstrip-card.current { background: rgba(0, 255, 255, 0.2); border-color: rgba(0, 255, 255, 0.5); } .eonstrip-name { font-size: 1em; font-weight: bold; color: #00ffff; margin-bottom: 5px; } .eonstrip-hex { font-size: 0.85em; /* was default monospace size */ font-family: 'Courier New', monospace; color: #ffaaff; margin-bottom: 10px; } .eonstrip-dates { font-size: 0.7em; color: #aaa; line-height: 1.4; } .event-tag { display: inline-block; margin-top: 4px; padding: 2px 6px; font-size: 0.75em; font-weight: 600; color: #fff; background: linear-gradient(135deg, rgba(0,255,255,0.25), rgba(255,0,255,0.25)); border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; text-shadow: 0 0 6px rgba(0,255,255,0.7); } .time-details { background: rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 20px; margin-top: 20px; } .time-unit { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .time-unit:last-child { border-bottom: none; } .unit-name { color: #00ffff; font-weight: bold; } .unit-value { font-family: 'Courier New', monospace; color: #ffaaff; } .toggle-btn { background: linear-gradient(45deg, #00ffff, #0080ff); border: none; border-radius: 8px; color: #fff; font-size: 0.9em; padding: 8px 16px; cursor: pointer; position: relative; overflow: hidden; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 0 10px rgba(0,255,255,0.4); transition: all 0.3s ease; } .toggle-btn .arrow-icon { display: inline-block; margin-right: 6px; transition: transform 0.3s ease; } .toggle-btn:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(0,255,255,0.6); } .extended-section { display: none; /* hidden by default */ margin-top: 10px; animation: fadeIn 0.4s ease; } /* Simple fade‐in for when extended units show */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @media only screen and (max-width: 812px) /* iPhone portrait widths go up to ~812px */ and (orientation: portrait) { /* scale down your main text by 30% */ html { font-size: 70%; } /* if you prefer targeting only the big “cobie-time” element: */ .cobie-time { font-size: 1.75em; /* was 2.5em, which is 70% of 2.5em */ } } .eonstrip-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); transform: translateX(0); transition: transform 0.3s ease; will-change: transform; } /* Layout combining current time and analog clock */ .time-display { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: stretch; gap: 20px; } .analog-clock-container { flex: 0 0 auto; width: 40vmin; margin-left: auto; display: flex; justify-content: center; align-items: center; } #clock { position: relative; width: 40vmin; height: 40vmin; border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 50%; background: radial-gradient(circle at center, #0a0e27 0%, #1a1f3a 100%); box-shadow: 0 0 25px rgba(0, 255, 255, 0.2), inset 0 0 40px rgba(255, 0, 255, 0.2); } #clock::after { content: ''; position: absolute; top: 50%; left: 50%; width: 1.2em; height: 1.2em; transform: translate(-50%, -50%); background: url('logo.svg') center/contain no-repeat; background-color: #ffffff; border-radius: 50%; box-shadow: 0 0 8px rgba(0, 255, 255, 0.8); z-index: 2; } .marker { position: absolute; width: 2em; height: 2em; text-align: center; line-height: 2em; font-family: 'Courier New', monospace; font-size: 1.1em; color: #ffffff; text-shadow: 0 0 8px rgba(0, 255, 255, 0.8); transform: translate(-50%, -50%); z-index: 0; } .hand { position: absolute; bottom: 50%; left: 50%; transform-origin: bottom; transition: transform 0.5s ease-in-out; border-radius: 2px; z-index: 1; } .hand.xeno { width: 2px; height: 50%; background: linear-gradient(to top, #00ffff, #0066ff); box-shadow: 0 0 8px #00ffff; } .hand.quantic { width: 3px; height: 45%; background: linear-gradient(to top, #ff00ff, #6600ff); box-shadow: 0 0 8px #ff00ff; } .hand.chronon { width: 4px; height: 40%; background: linear-gradient(to top, #ffff00, #ff6600); box-shadow: 0 0 8px #ffff99; } .hand.eonstrip { width: 5px; height: 35%; background: linear-gradient(to top, #00ff88, #005544); box-shadow: 0 0 8px #00ff88; } .hand.megasequence { width: 6px; height: 30%; background: linear-gradient(to top, #ffa500, #552200); box-shadow: 0 0 8px #ffa500; } body.fullscreen-clock .header, body.fullscreen-clock .current-time, body.fullscreen-clock .timezone-selector, body.fullscreen-clock .calendar-controls, body.fullscreen-clock .calendar-view, body.fullscreen-clock .time-details, body.fullscreen-clock .explanations { display: none; } body.fullscreen-clock .time-display { position: fixed; inset: 0; justify-content: center; align-items: center; z-index: 1000; } body.fullscreen-clock .analog-clock-container { width: 80vmin; margin-left: 0; } body.fullscreen-clock #clock { width: 80vmin; height: 80vmin; }