@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:wght@400;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #121212;
  overflow: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 1rem;
}

#text {
  font-family: 'Ubuntu Mono', monospace;
  font-weight: 400;
  color: #66ff99;
  font-size: clamp(2rem, 7vw, 4.5rem);
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: clamp(0.1rem, 0.5vw, 0.35rem);
}

#date {
  font-family: 'Ubuntu Mono', monospace;
  font-weight: 400;
  color: #66ff99;
  font-size: clamp(1rem, 2vw, 2.5rem);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: clamp(0.25rem, 1vw, 0.5rem);
}

#time {
  font-family: 'Ubuntu Mono', monospace;
  font-weight: 400;
  color: #66ff99;
  font-size: clamp(2rem, 12vw, 8rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-shadow:
    0 0 20px rgba(102, 255, 153, 0.4),
    0 0 60px rgba(102, 255, 153, 0.1);
  animation: flicker 8s infinite;
  padding-top: 0;
}

@keyframes flicker {
  0%, 95%, 100% { opacity: 1; }
  96%            { opacity: 0.92; }
  97%            { opacity: 1; }
  98%            { opacity: 0.95; }
}
