* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  background-image: linear-gradient(43deg, #4158d0 0%, #c450c0, #ffcc70);
  display: flex;
  justify-content: center;
  align-items: center;
}

.clock {
  width: 500px;
  height: 500px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  border: 2px solid #000;
  position: relative;
}

.clock .number {
  --rotation: 0;
  position: absolute;
  width: 100%;
  padding: 15px;
  height: 100%;
  text-align: center;
  transform: rotate(var(--rotation));
  font-size: 1.8rem;
  font-weight: 500;
}

.clock .number.number-1 {
  --rotation: 30deg;
}

.clock .number.number-2 {
  --rotation: 60deg;
}

.clock .number.number-3 {
  --rotation: 90deg;
}

.clock .number.number-4 {
  --rotation: 120deg;
}

.clock .number.number-5 {
  --rotation: 150deg;
}

.clock .number.number-6 {
  --rotation: 180deg;
}

.clock .number.number-7 {
  --rotation: 210deg;
}

.clock .number.number-8 {
  --rotation: 240deg;
}

.clock .number.number-9 {
  --rotation: 270deg;
}

.clock .number.number-10 {
  --rotation: 300deg;
}

.clock .number.number-11 {
  --rotation: 330deg;
}

/* Ponteiros */
.clock::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  z-index: 11;
  background-color: #000;
  transform: translate(-50%, -50%);
}

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

.clock .hand.seconds {
  width: 3px;
  height: 40%;
  background-color: red;
}

.clock .hand.minutes {
  width: 7px;
  height: 35%;
  background-color: black;
}

.clock .hand.hours {
  width: 10px;
  height: 25%;
  background-color: black;
}
