:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --button-bg: #007bff;
  --button-hover: #0056b3;
  --clock-face: #f2f2f2;
  --clock-border: #000000;
  --clock-hand: #000000;
}

.dark-theme {
  --bg-color: #1a1a1a;
  --text-color: #ffffff;
  --button-bg: #4a4a4a;
  --button-hover: #686868;
  --clock-face: #2c2c2c;
  --clock-border: #ffffff;
  --clock-hand: #ffffff;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.container {
  text-align: center;
}

.clock {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  padding: 2rem;
  box-shadow: 0 0 0 4px var(--clock-border),
    inset 0 0 0 3px #efefef,
    inset 0 0 10px black,
    0 0 10px rgba(0, 0, 0, 0.2);
}

.outer-clock-face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background: var(--clock-face);
  overflow: hidden;
}

.outer-clock-face::after {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  transform: rotate(90deg)
}

.outer-clock-face::before,
.outer-clock-face::after,
.outer-clock-face .marking {
  content: '';
  position: absolute;
  width: 5px;
  height: 100%;
  background: var(--clock-border);
  z-index: 0;
  left: 49%;
}

.outer-clock-face .marking {
  background: var(--clock-border);
  width: 3px;
}

.outer-clock-face .marking.marking-one {
  -webkit-transform: rotate(30deg);
  -moz-transform: rotate(30deg);
  transform: rotate(30deg)
}

.outer-clock-face .marking.marking-two {
  -webkit-transform: rotate(60deg);
  -moz-transform: rotate(60deg);
  transform: rotate(60deg)
}

.outer-clock-face .marking.marking-three {
  -webkit-transform: rotate(120deg);
  -moz-transform: rotate(120deg);
  transform: rotate(120deg)
}

.outer-clock-face .marking.marking-four {
  -webkit-transform: rotate(150deg);
  -moz-transform: rotate(150deg);
  transform: rotate(150deg)
}

.inner-clock-face {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: var(--clock-face);
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  z-index: 1;
}

.inner-clock-face::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 18px;
  margin-left: -9px;
  margin-top: -6px;
  background: var(--clock-hand);
  z-index: 11;
}

.hand {
  width: 50%;
  right: 50%;
  height: 6px;
  background: var(--clock-hand);
  position: absolute;
  top: 50%;
  border-radius: 6px;
  transform-origin: 100%;
  transform: rotate(90deg);
  transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
}

.hand.hour-hand {
  width: 30%;
  z-index: 3;
}

.hand.min-hand {
  height: 3px;
  z-index: 10;
  width: 40%;
}

.hand.second-hand {
  background: #ee791a;
  width: 45%;
  height: 2px;
}

.numbers {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-color);
}

.numbers div {
  position: absolute;
}

.twelve {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.three {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.six {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.nine {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.date {
  font-size: 18px;
  margin-bottom: 20px;
}

.circular-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.typing-text {
  margin-bottom: 20px;
  font-style: italic;
  min-height: 1.2em;
}

.button-container {
  margin-top: 22px;
}

.button {
  display: inline-block;
  padding: 1px 2px;
  margin: 0 9px;
  background-color: var(--button-bg);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: var(--button-hover);
}

.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}