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

body {
  padding: 2rem;
  background-image: linear-gradient(
    to right,
    rgb(90, 90, 232),
    rgb(150, 60, 138)
  );
}

.clock-face {
  position: absolute;
  left: 10%;
  top: 10%;
  height: 50vh;
  width: 80vw;
  border-radius: 100%;
  border: 15px solid #ddd;
  background-color: rgb(148, 148, 230);
}

.hand {
  width: 35vw;
  height: 3px;
  position: absolute;
  top: 50%;
  background-color: #555;
  transform: rotate(90deg);
  transform-origin: 100%;
  transition: all 0.05s;
  transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
}

.sec-hand {
  height: 0.7px;
}

.min-hand {
  height: 2.4px;
}

@media screen and (min-width: 768px) {
  .clock-face {
    height: 80vh;
    width: 75vw;
  }
}
