* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at center, #0a0a1a 0%, #000000 100%);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Josefin Sans', sans-serif;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#clocktext {
  color: #00ffff;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
}

#clock {
  width: 300px;
  height: 300px;
  border: 12px solid #0ff;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle, #1a1a2e, #000000);
  box-shadow:
    0 0 30px #0ff,
    0 0 60px #0ff inset,
    0 0 80px rgba(0, 255, 255, 0.3);
}

.numbers {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(calc(30deg * var(--i)));
}

.numbers span {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) rotate(calc(-30deg * var(--i)));
  font-size: 1.5rem;
  color: #ffffff;
  text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
}

#hour,
#minute,
#second {
  width: 100%;
  height: 100%;
  position: absolute;
}

#hour:after {
  content: '';
  position: absolute;
  width: 8px;
  height: 70px;
  top: 50%;
  left: 50%;
  background: #00ffff;
  transform-origin: bottom;
  transform: translateX(-50%) translateY(-100%);
  border-radius: 6px;
  box-shadow: 0 0 10px #00ffff;
}

#minute:after {
  content: '';
  position: absolute;
  width: 6px;
  height: 90px;
  top: 50%;
  left: 50%;
  background: #00ffcc;
  transform-origin: bottom;
  transform: translateX(-50%) translateY(-100%);
  border-radius: 4px;
  box-shadow: 0 0 10px #00ffcc;
}

#second:after {
  content: '';
  position: absolute;
  width: 2px;
  height: 100px;
  top: 50%;
  left: 50%;
  background: #ff005e;
  transform-origin: bottom;
  transform: translateX(-50%) translateY(-100%);
  box-shadow: 0 0 10px #ff005e;
}
