* {
  box-sizing: border-box;
}

:root {
  --primary-color: #000;
  --secondary-color: #fff;
  --accent-color: #e44836;
}

html {
  transition: all 0.5s ease-in;
}

html.dark {
  --primary-color: #fff;
  --secondary-color: #333;
  color: var(--primary-color);
  background-color: #111;
}

body {
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100vh;
  margin: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quote {
  position: fixed;
  top: 20px;
  left: 40px;
  max-width: 200px;
  font-size: 12px;
  color: var(--primary-color);
  font-style: italic;
}

.clock-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.clock {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 10px;
}

.needle {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--primary-color);
  transform-origin: bottom center;
  transition: transform 0.2s ease-in-out;
}

.needle.hour {
  width: 5px;
  height: 65px;
  transform: translate(-50%, -100%) rotate(0deg);
}

.needle.minute {
  height: 100px;
  width: 3px;
  transform: translate(-50%, -100%) rotate(0deg);
}

.needle.second {
  background-color: var(--accent-color);
  height: 100px;
  width: 2px;
  transform: translate(-50%, -100%) rotate(0deg);
}

.center-point {
  position: absolute;
  background-color: var(--accent-color);
  width: 10px;
  height: 10px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.center-point::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  width: 5px;
  height: 5px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.greeting {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.time {
  font-size: 3rem;
}

.date {
  color: var(--primary-color);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 1.5rem;
}

.date .circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 18px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-size: 12px;
  border-radius: 50%;
  height: 18px;
  width: 18px;
  transition: all 0.5s ease-in;
}