время уходит

* { box-sizing: border-box; margin: 0; padding: 0; } html, body { height: 100%; overflow: hidden; font-family: var(--sans); background: var(--bg); color: var(--text); } #rain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; } .scene { position: relative; z-index: 1; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(126, 184, 255, 0.08), transparent 60%), radial-gradient(ellipse 60% 40% at 80% 100%, rgba(100, 140, 200, 0.06), transparent 50%); pointer-events: none; } .scene > * { pointer-events: auto; } .clock-card { text-align: center; padding: 48px 56px 40px; border-radius: 28px; background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(24px) saturate(1.2); -webkit-backdrop-filter: blur(24px) saturate(1.2); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 24px 80px rgba(0, 0, 0, 0.45); max-width: min(92vw, 640px); width: 100%; } .date { font-size: clamp(14px, 2.8vw, 17px); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; } .time { font-family: var(--mono); font-size: clamp(3rem, 14vw, 5.5rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 60px rgba(126, 184, 255, 0.25); } .time .sep { display: inline-block; opacity: 0.85; animation: blink 1s step-end infinite; } @keyframes blink { 50% { opacity: 0.25; } } .seconds { font-size: 0.42em; color: var(--accent); font-weight: 400; vertical-align: super; margin-left: 0.05em; opacity: 0.95; } .controls { margin-top: 36px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; } .btn-sound { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--glass-border); background: rgba(255, 255, 255, 0.05); color: var(--text); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.1s; user-select: none; } .btn-sound:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.2); } .btn-sound:active { transform: scale(0.98); } .btn-sound.on { background: var(--accent-soft); border-color: rgba(126, 184, 255, 0.35); color: #c8e0ff; } .btn-sound svg { width: 20px; height: 20px; flex-shrink: 0; opacity: 0.9; } .hint { margin-top: 28px; font-size: 12px; color: rgba(238, 242, 255, 0.35); letter-spacing: 0.04em; }

Офлайн · один файл