*,
*::after,
*::before {
  box-sizing: border-box;
  font-family: Ubuntu, sans-serif;
}

body {
  background: #6fce8e;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

.clock {
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  background: #f0f3f1;
  box-shadow: -9px 9px 18px #2c5239, 9px -9px 18px #b2ffe3;
  position: relative;
}

.clock .hour {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  transform: rotate(var(--rotation));
  font-size: 1.5rem;
  padding: 1rem;
}

.special {
  color: rebeccapurple;
  font-weight: 700;
}

.clock .hour12 {
  --rotation: 0deg;
}

.clock .hour1 {
  --rotation: 30deg;
}

.clock .hour2 {
  --rotation: 60deg;
}

.clock .hour3 {
  --rotation: 90deg;
}

.clock .hour4 {
  --rotation: 120deg;
}

.clock .hour5 {
  --rotation: 150deg;
}

.clock .hour6 {
  --rotation: 180deg;
}

.clock .hour7 {
  --rotation: 210deg;
}

.clock .hour8 {
  --rotation: 240deg;
}

.clock .hour9 {
  --rotation: 270deg;
}

.clock .hour10 {
  --rotation: 300deg;
}

.clock .hour11 {
  --rotation: 330deg;
}

.clock .line {
  --rotation: 0;
  position: absolute;
  bottom: 50%;
  left: 50%;
  border: 1px solid white;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transform-origin: bottom;
  z-index: 100;
  transform: translateX(-50%) rotate(calc(var(--rotation) * 1deg));
}

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

.clock .line.sec {
  width: 3px;
  height: 45%;
  background-color: red;
}

.clock .line.min {
  width: 7px;
  height: 40%;
  background-color: black;
}

.clock .line.hr {
  width: 10px;
  height: 35%;
  background-color: black;
}

/*# sourceMappingURL=main.css.map */
