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

html {
  font-size: 62.5%;
}

.container {
  min-height: 100vh;
  min-height: 100svh;
  background-color: #d4d6e1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box {
  width: min(35rem, 100%);
  height: 35rem;
  border-radius: 2rem;
  background-color: #EAEBF3;
  display: grid;
  place-items: center;
}

.clock {
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background-color: #EBEEF3;
  box-shadow: 0.4rem -0.4rem 0.4rem rgba(255, 255, 255, 0.4);
  position: relative;
}

.circle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #ffffff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.line {
  position: absolute;
  width: 4px;
  height: 12rem;
  left: 50%;
  top: 50%;
  border-radius: 5rem;
  transform-origin: top;
}

.hour {
  width: .8rem;
  height: 8rem;
  background-color: #FFFFFF;
  transform: rotateZ(45deg);
}

.minute {
  width: .6rem;
  background-color: #C8CCD6;
  transform: rotateZ(90deg);
}

.second {
    background-color: #F84D57;
  transform: rotateZ(180deg) translateX(50%);
}

.numbers div {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: rgb(44, 47, 52);
}


.numbers div:nth-child(1) {
    left: 50%;
    top: .5rem;
    transform-origin: top;
    transform: translateX(-50%);
    
}


.numbers div:nth-child(2) {
    right: .5rem;
    top: 50%;
    transform: translate(-50% , -50%);
}

.numbers div:nth-child(3) {
    left: 50%;
    bottom: .5rem;
    transform-origin: top;
    transform: translateX(-50%);
}

.numbers div:nth-child(4) {
    left: 1rem;
    top: 50%;
    transform: translate(-50% , -50%);
}