:root {
  --clock-color-default: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #111111;
}

.clock-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.clock {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(3rem, 14vw, 10rem);
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--clock-color-default);
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.35);
}

.digit,
.separator {
  display: inline-block;
  min-width: 0.58em;
  text-align: center;
}

.separator {
  animation: blink-separator 1s step-end infinite;
}

@keyframes blink-separator {
  50% {
    opacity: 0.15;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .clock-screen {
    padding: 2rem;
  }
}

@media (min-width: 1200px) {
  .clock {
    letter-spacing: 0.06em;
  }
}
