* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background-image: linear-gradient(
    43deg,
    #4158d0 0%,
    #72e65b 46%,
    #ffcc70 100%
  );
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.options {
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 100;
}

.option {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.option:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.clock {
  width: 500px;
  height: 500px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  position: relative;
}

.clock .number {
  --rotation: 0;

  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  transform: rotate(var(--rotation));
  font-size: 1.8rem;
  font-weight: 500;
  padding: 15px;
}

.clock .number.number-1 {
  --rotation: 30deg;
}
.clock .number.number-2 {
  --rotation: 60deg;
}
.clock .number.number-3 {
  --rotation: 90deg;
}
.clock .number.number-4 {
  --rotation: 120deg;
}
.clock .number.number-5 {
  --rotation: 150deg;
}
.clock .number.number-6 {
  --rotation: 180deg;
}
.clock .number.number-7 {
  --rotation: 210deg;
}
.clock .number.number-8 {
  --rotation: 240deg;
}
.clock .number.number-9 {
  --rotation: 270deg;
}
.clock .number.number-10 {
  --rotation: 300deg;
}
.clock .number.number-11 {
  --rotation: 330deg;
}

/*ponteiros*/

.clock::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  z-index: 11;
  background-color: black;
  transform: translate(-50%, -50%);
}

.clock .hand {
  --rotation: 0;
  position: absolute;
  bottom: 50%;
  left: 50%;
  background-color: black;
  z-index: 10;
  transform: translateX(-50%) rotate(calc(var(--rotation) * 1deg));
  transform-origin: bottom;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.clock .hand.seconds {
  width: 3px;
  height: 40%;
  background-color: red;
}

.clock .hand.minutes {
  width: 7px;
  height: 35%;
  background-color: black;
}

.clock .hand.hours {
  width: 10px;
  height: 25%;
  background-color: black;
}
