 html {
  background: #282828;
  text-align: center;
  font-size: 10px;
}

body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.clock {
  min-width: 25rem;
  width: 40rem;
  height: 40rem;
  position: relative;
  padding: 2rem;
  border: 7px solid #282828;
  box-shadow: -4px -4px 10px rgba(67,67,67,0.5),
                inset 4px 4px 10px rgba(0,0,0,0.5),
                inset -4px -4px 10px rgba(67,67,67,0.5),
                4px 4px 10px rgba(0,0,0,0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
}

.x-markings {
  width: 0.75rem;
  height: 90%;
  background-color: cyan;
  position: absolute;
}

.y-markings {
  width: 0.75rem;
  height: 90%;
  background-color: cyan;
  transform: rotate(90deg);
  position: absolute;
}

.marking-1 {
  width: 0.75rem;
  height: 90%;
  background-color: #bdbdcb;
  transform: rotate(30deg);
  position: absolute;
}

.marking-2 {
  width: 0.75rem;
  height: 90%;
  background-color: #bdbdcb;
  transform: rotate(60deg);
  position: absolute;
}

.marking-3 {
  width: 0.75rem;
  height: 90%;
  background-color: #bdbdcb;
  transform: rotate(120deg);
  position: absolute;
}

.marking-4 {
  width: 0.75rem;
  height: 90%;
  background-color: #bdbdcb;
  transform: rotate(150deg);
  position: absolute;
}

.innerClock {
  background-color: #282828;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  position: absolute;
  top: 12%;
}

.hand {
  background-color: palevioletred;
  width: 50%;
  right: 50%;
  height: 6px;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  transform-origin: 100%;
  transform: rotate(90deg);
  transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
}

.hand.hour-hand {
  width: 30%;
}

.hand.min-hand {
  height: 3px;
  width: 40%;
}

.hand.sec-hand {
  background-color: limegreen;
  width: 45%;
  height: 2px;
}

.dot {
  background-color: white;
  width: 7.5%;
  height: 7.5%;
  border-radius: 50%;
  position: absolute;
  top: 47%;
  left: 46.5%;
}

/* Media Queries */
@media all and (max-width:500px) {
  .clock {
    width: 30rem;
    height: 30rem;
  }

  .innerClock {
    top: 13.6%;
  }
}

@media all and (max-width:400px) {
  .clock {
    width: 25rem;
    height: 25rem;
  }

  .innerClock {
    top: 14.3%;
  }
}