@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@400;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

body {
  font-family: "Mulish", sans-serif;
  color: #fff;
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
}

.clock .second .sec, .clock .minute .min, .clock .hour .hr {
  display: flex;
  justify-content: center;
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.clock .second .sec::before, .clock .minute .min::before, .clock .hour .hr::before, .clock__outer::before, .clock__outer::after,
.clock__outer .marking, .clock::before {
  content: "";
  position: absolute;
}

.clock {
  width: 330px;
  height: 330px;
  margin: 5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: #1c2235;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}
.clock::before {
  width: 15px;
  height: 15px;
  background-color: #fff;
  border-radius: 50%;
  z-index: 10;
}
.clock__outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  overflow: hidden;
}
.clock__outer::after {
  transform: rotate(90deg);
}
.clock__outer::before, .clock__outer::after,
.clock__outer .marking {
  width: 6px;
  height: 100%;
  background: #fff;
  z-index: 0;
  left: calc(50% - 3px);
}
.clock__outer .marking {
  background: #fff;
  width: 2px;
}
.clock__outer .marking.marking-one {
  transform: rotate(30deg);
}
.clock__outer .marking.marking-two {
  transform: rotate(60deg);
}
.clock__outer .marking.marking-three {
  transform: rotate(120deg);
}
.clock__outer .marking.marking-four {
  transform: rotate(150deg);
}
.clock__inner {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: #1c2235;
  border-radius: 100%;
  z-index: 1;
}
.clock .hour,
.clock .minute,
.clock .second {
  position: absolute;
}
.clock .hour,
.clock .hour .hr {
  width: 160px;
  height: 160px;
}
.clock .minute,
.clock .minute .min {
  width: 190px;
  height: 190px;
}
.clock .second,
.clock .second .sec {
  width: 230px;
  height: 230px;
}
.clock .hour .hr::before {
  width: 8px;
  height: 80px;
  background-color: #8cc152;
  z-index: 10;
  border-radius: 10px;
}
.clock .minute .min::before {
  width: 4px;
  height: 90px;
  background-color: #f6bb42;
  z-index: 11;
  border-radius: 8px;
}
.clock .second .sec::before {
  width: 3px;
  height: 140px;
  background-color: #da4453;
  z-index: 12;
  border-radius: 2px;
}