* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #1e1e2f;
  font-family: "sans";
}

@font-face {
  src: url("font/sans.ttf");
  font-family: "sans";
}

.heading {
  color: #f0f0f0;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: 80px;
  font-size: 2rem;
  line-height: 1.5;
}

.clock {
  width: 350px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(assets/clock.png) no-repeat center center / cover;
  position: relative;
  border: 10px solid #2e2e3e;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.clock::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: #f0f0f0;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.clock .hour,
.clock .min,
.clock .sec {
  position: absolute;
}

.clock .hour,
.hr {
  width: 160px;
  height: 160px;
}

.clock .min,
.mn {
  width: 190px;
  height: 190px;
}

.clock .sec,
.sc {
  width: 230px;
  height: 230px;
}

.hr,
.mn,
.sc {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: absolute;
  border-radius: 50%;
}

.hr::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 80px;
  background-color: #bb86fc;
  border-radius: 6px 6px 0 0;
  z-index: 1;
  box-shadow: 0 0 5px rgba(187, 134, 252, 0.7);
}

.mn::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 90px;
  background-color: #f0f0f0;
  border-radius: 6px 6px 0 0;
  z-index: 2;
  box-shadow: 0 0 5px rgba(240, 240, 240, 0.7);
}

.sc::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 150px;
  background-color: #70efde;
  border-radius: 6px 6px 0 0;
  z-index: 3;
  box-shadow: 0 0 5px rgba(112, 239, 222, 0.7);
}

footer {
  text-align: center;
  color: #f0f0f0;
  font-size: 1rem;
  position: absolute;
  bottom: 0;
  padding: 10px;
  background-color: #2e2e3e;
  width: 100%;
}

footer a:visited {
  color: inherit;
}
