*, *::after, *::before {
  box-sizing: border-box;
  font-family: 'Gotham Rounded', sans-serif;
}

body {
  background: #10101E;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  overflow: hidden;
}

.clock {
  width: 300px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  border: 4px solid #666362;
  position: relative;
  -webkit-box-reflect: below -1px linear-gradient(transparent, rgba(255, 255, 255, 0.1));
  box-shadow: 0 -15px 15px rgba(255,255,255,0.05),
              inset 0 -15px 15px rgba(255,255,255,0.05),
              0 15px 15px rgba(0,0,0,0.3),
              inset 0 15px 15px rgba(0,0,0,0.3);
}

.clock:hover {
  background: #2E94E3;
  box-shadow: 0 0 30px #2E94E3;
}

.clock .number {
  --rotation: 0;
  font-size: 1.5rem;
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  transform: rotate(var(--rotation));
}

.clock .number1 { --rotation: 30deg; }

.clock .number2 { --rotation: 60deg; }

.clock .number3 { --rotation: 90deg; }

.clock .number4 { --rotation: 120deg; }

.clock .number5 { --rotation: 150deg; }

.clock .number6 { --rotation: 180deg; }

.clock .number7 { --rotation: 210deg; }

.clock .number8 { --rotation: 240deg; }

.clock .number9 { --rotation: 270deg; }

.clock .number10 { --rotation: 300deg; }

.clock .number11 { --rotation: 330deg; }

.clock .number12 { --rotation: 360deg; }

.clock .hand {
  --rotation: 0;
  position: absolute;
  bottom: 50%;
  left: 50%;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  z-index: 10;
  transform-origin: bottom;
  transform: translateX(-50%) rotate(calc(var(--rotation) * 1deg));
}

.clock::after {
  content: '';
  position: absolute;
  background-color: black;
  z-index: 11;
  width: 15px;
  height: 15px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.clock .hand.second {
  width: 3px;
  height: 45%;
  background-color: red;
  box-shadow: 0 0 10px red;
}

.clock .hand.minute {
  width: 5px;
  height: 48%;
  background-color: black;
}


.clock .hand.hour {
  width: 8px;
  height: 40%;
  background-color: black;
}
