@font-face {
  font-family: AgSuperBlackGothic;
  src: url("../fonts/ag-super-black-gothic.otf") format("opentype");
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding: 1rem;
  font-family: AgSuperBlackGothic, sans-serif;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  word-break: keep-all;
  color: white;
  background-color: black;
  cursor: none;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  aspect-ratio: 1 / 2;
  width: auto;
  height: 100%;
}

.clock {
  --border-width: 0.125rem;
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  /* max-width: 800px; */
  border: var(--border-width) solid white;
  border-radius: 50%;
  overflow: hidden;
  background-color: black;
}

.hand {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--border-width);
  height: 50%;
  background-color: white;
  transform: translateX(-50%);
  transform-origin: center bottom;
  transition: transform 0.125s cubic-bezier(0.5, 2.5, 0.5, 1);
  will-change: transform;
}

#message {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  text-align: center;
  color: white;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#message.is-visible {
  opacity: 1;
}
