body {
  background-color: #00DBDE;
  background-image: linear-gradient(90deg, #00DBDE 0%, #FC00FF 100%);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}


.clock {
  width: 500px;
  height: 500px;
  
  background-color: #c8f0f0;
  border-radius: 50%;
  border: 3px solid black;
  position: relative;
}

.number {
  --rotation:0;
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  transform: rotate(var(--rotation));
}

.number1 {--rotation:30deg;}
.number2 {--rotation:60deg;}
.number3 {--rotation:90deg;}
.number4 {--rotation:120deg;}
.number5 {--rotation:150deg;}
.number6 {--rotation:180deg;}
.number7 {--rotation:210deg;}
.number8 {--rotation:240deg;}
.number9 {--rotation:270deg;}
.number10 {--rotation:300deg;}
.number11 {--rotation:330deg;}
.number12{--rotation:360deg;}

.hand {
  --rotation:30;
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 10px;
  height: 50%;
  transform-origin: bottom;
  transform: translateX(-50%) rotate(calc(var(--rotation) * 1deg));
  background-color: black;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  z-index: 10;

  
}

.second {
  background-color: red;
  width: 3px;
  height: 45%;
}

.minute {
  background-color: black;
  width: 5px;
  height: 40%;
}

.hour {
  background-color: black;
  width: 10px;
  height: 35%;
}

.clock::after {
  content: '';
  width: 15px;
  height: 15px;
  position: absolute;
  top: 50%;
  left:50%;
  transform: translate(-50%, -50%);
  background-color: black;
  z-index: 11;
  border-radius: 50%;
}

