* {
  padding: 0;
  margin: 0;
}
html {
  background-color: rgb(244, 244, 244);
}
.clock {
  position: relative;
  margin: 16vh auto 9vh auto;
  border: 12px solid rgb(55, 35, 244);
  border-radius: 50%;
  width: 18rem;
  height: 18rem;
}
.clock-face {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translate(0, -6px);
}
.hand {
  position: absolute;
  background-color: rgb(75, 128, 129);
  border-radius: 10px;
  height: 12px;
  width: 50%;
  top: 50%;
  transform-origin: 100%;
  transform: rotate(90deg);
  transition: all 0.2s;
  transition-timing-function: cubic-bezier(0.1, 2.07, 0.58, 1);
}
.hour-hand {
  background-color: rgb(113, 250, 182);
  z-index: 2;
}
.minute-hand {
  background-color: rgb(113, 250, 182);
  z-index: 1;
}
.second-hand {
  background-color: rgba(145, 249, 215, 0.7);
  z-index: 0;
}
.text {
  position: relative;
  margin: 0 auto;
  font-family: Futura, Helvetica, sans-serif;
  font-kerning: 0.34em;
  width: auto;
  height: 3em;
  text-align: center;
  font-size: 13px;
}
.hidden {
  display: none;
}
@media screen and (min-width: 800px) {
  .clock {
    width: 25rem;
    height: 25rem;
    border: 15px solid rgb(55, 35, 244);
    margin: 16vh auto 13vh auto;
  }
  .text {
    font-size: 18px;
  }

  .hand {
    height: 14px;
  }
  .clock-face {
    transform: translate(0, -7px);
  }
}
