:root {
  --back-clr: #dde1e7;
  --nut-clr1: #404040;
  --hr-hand: #303030;
  --min-hand: #e95949;
  --blue: #3498db;
  --boxShadow-out: -3px -3px 7px #ffffff73,
    3px 3px 5px rgba(94, 104, 121, 0.288);
  --boxShadow-sm: -1px -1px 5px #ffffff73, 1px 1px 3px rgba(94, 104, 121, 0.288);
  --boxShadow-in: inset -3px -3px 7px #ffffff73,
    inset 3px 3px 5px rgba(94, 104, 121, 0.288);
}
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: transform 800ms ease, background-color 600ms ease-out,
    box-shadow 400ms ease;
}
html,
body {
  height: 100%;
}
body {
  display: grid;
  place-items: center;
  background-color: var(--back-clr);
}
.clock {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--back-clr);
  height: 250px;
  width: 250px;
  border-radius: 50%;
  box-shadow: var(--boxShadow-out);
}
.clock:before {
  position: absolute;
  content: "";
  height: 220px;
  width: 220px;
  background-color: var(--back-clr);
  border-radius: 50%;
  box-shadow: var(--boxShadow-in);
}
.clock:after {
  position: absolute;
  content: "";
  height: 120px;
  width: 120px;
  background-color: var(--back-clr);
  border-radius: 50%;
  box-shadow: var(--boxShadow-sm);
}
.clock .center-nut1 {
  position: absolute;
  height: 15px;
  width: 15px;
  background-color: var(--nut-clr1);
  border-radius: 50%;
  z-index: 2;
}
.clock .center-nut2 {
  position: absolute;
  height: 9px;
  width: 9px;
  background-color: var(--blue);
  border-radius: 50%;
  z-index: 10;
}
.indicators div {
  position: absolute;
  width: 2px;
  height: 5px;
  background-color: var(--nut-clr1);
}
.indicators div:nth-child(1) {
  transform: rotate(30deg) translateY(-100px);
}
.indicators div:nth-child(2) {
  transform: rotate(60deg) translateY(-100px);
}
.indicators div:nth-child(3) {
  background-color: var(--blue);
  transform: rotate(90deg) translateY(-100px);
}
.indicators div:nth-child(4) {
  transform: rotate(120deg) translateY(-100px);
}
.indicators div:nth-child(5) {
  transform: rotate(150deg) translateY(-100px);
}
.indicators div:nth-child(6) {
  background-color: var(--blue);
  transform: rotate(180deg) translateY(-100px);
}
.indicators div:nth-child(7) {
  transform: rotate(210deg) translateY(-100px);
}
.indicators div:nth-child(8) {
  transform: rotate(240deg) translateY(-100px);
}
.indicators div:nth-child(9) {
  background-color: var(--blue);
  transform: rotate(270deg) translateY(-100px);
}
.indicators div:nth-child(10) {
  transform: rotate(300deg) translateY(-100px);
}
.indicators div:nth-child(11) {
  transform: rotate(330deg) translateY(-100px);
}
.indicators div:nth-child(12) {
  background-color: var(--blue);
  transform: rotate(360deg) translateY(-100px);
}
.sec-hand,
.min-hand,
.hr-hand {
  position: absolute;
}
.sec-hand,
.sec {
  height: 180px;
  width: 180px;
  z-index: 6;
}
.min-hand,
.min {
  height: 140px;
  width: 140px;
  z-index: 5;
}
.hr-hand,
.hr {
  height: 110px;
  width: 110px;
  z-index: 4;
}
.sec,
.min,
.hr {
  display: flex;
  justify-content: center;
  position: absolute;
}
.sec:before {
  position: absolute;
  content: "";
  height: 110px;
  width: 3px;
  background-color: var(--blue);
  border-radius: 3px;
}
.sec:after {
  position: absolute;
  content: "";
  height: 35px;
  width: 7px;
  background-color: var(--blue);
  top: 105px;
  border-radius: 5px;
}
.min:before {
  position: absolute;
  content: "";
  width: 1px;
  top: -15px;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 60px solid var(--min-hand);
}
.min:after {
  position: absolute;
  content: "";
  width: 3px;
  top: 40px;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-top: 30px solid var(--min-hand);
}
.hr:before {
  position: absolute;
  content: "";
  width: 1px;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 35px solid var(--hr-hand);
  transition: all 300ms ease-out;
}
.hr:after {
  position: absolute;
  content: "";
  width: 3px;
  top: 34px;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-top: 25px solid var(--hr-hand);
  transition: all 300ms ease-out;
}
