:root {
  --color-light-gray: #e0e0e0;
  --color-dark-gray: #b0b0b0;
  --color-black: #000;
  --color-white: #fff;
  --color-red: #ff0000;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: inherit;
  display: inline-block;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  border: 0;
}

ul,
ol {
  list-style: none;
}

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  font-family: "Arial";
  background: linear-gradient(
    135deg,
    var(--color-dark-gray),
    var(--color-light-gray)
  );
  color: #fff;
}

.container {
  display: flex;
  flex-direction: column;
}

.box {
  width: 350px;
  height: 350px;
  position: relative;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 10px solid var(--color-black);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
}

.box::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12.5px;
  height: 12.5px;
  background-color: var(--color-black);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.number {
  position: absolute;
  display: flex;
  text-align: center;
  line-height: 30px;
  top: calc(50% - 4px);
  left: calc(50% - 7px);
  font-size: 17px;
  font-weight: bold;
  color: var(--color-black);
}

.big {
  font-size: 25px;
}

.num1 {
  transform: rotate(300deg) translate(135px) rotate(-300deg);
}
.num2 {
  transform: rotate(330deg) translate(135px) rotate(-330deg);
}
.num3 {
  transform: rotate(0deg) translate(125px) rotate(0deg);
}
.num4 {
  transform: rotate(30deg) translate(125px) rotate(-30deg);
}
.num5 {
  transform: rotate(60deg) translate(125px) rotate(-60deg);
}
.num6 {
  transform: rotate(90deg) translate(125px) rotate(-90deg);
}
.num7 {
  transform: rotate(120deg) translate(125px) rotate(-120deg);
}
.num8 {
  transform: rotate(150deg) translate(125px) rotate(-150deg);
}
.num9 {
  transform: rotate(180deg) translate(125px) rotate(-180deg);
}
.num10 {
  transform: rotate(210deg) translate(135px) rotate(-210deg);
}
.num11 {
  transform: rotate(240deg) translate(135px) rotate(-240deg);
}
.num12 {
  transform: rotate(270deg) translate(135px) rotate(-270deg);
}
.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  background-color: var(--color-black);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.hour {
  width: 6px;
  height: 70px;
  border-radius: 50% 50% 0 0;
  animation: rotate 43200s linear infinite;
}

.minute {
  width: 4px;
  height: 90px;
  border-radius: 50% 50% 0 0;
  animation: rotate 3600s linear infinite;
}

.second {
  width: 2px;
  height: 100px;
  background-color: var(--color-red);
  border-radius: 50% 50% 0 0;
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  from {
    transform: translate(-50%) rotate(0deg);
  }
  to {
    transform: translate(-50%) rotate(360deg);
  }
}
