/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s, color 0.3s;
  position: relative;
}

/* Light Theme */
.light-mode {
  background-color: #f0f0f0;
  color: #000000;
}

/* Dark Theme */
.dark-mode {
  background-color: #000000;
  color: #f0f0f0;
}

/* Controls (Fixed position at the top-right) */
.controls {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 100; /* Ensure controls are on top */
}

button {
  background-color: transparent;
  color: inherit;
  border: 2px  none;
  padding: 5px;  /* Reduced padding for smaller button */
  font-size: 1.2em;  /* Slightly smaller font size */
  cursor: pointer;
  margin: 5px;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 50%;
  position: relative; /* Keep the buttons relative to their container */
}

button:hover {
  background-color: #007bff;
  color: white;
}

/* Icon specific styling */
button i {
  pointer-events: none; /* Prevent clicking on the icon */
  font-size: 1.5em;  /* Smaller icon size */
}

/* Main content area (center the time display) */
.container {
  text-align: center;
  padding: 20px;
  margin-top: 50px;  /* Ensure the main content is below the fixed icons */
}

/* Time Display */
.time-display h2 {
  font-size: 3em;
  margin: 0;
}

.time-display p {
  font-size: 1.2em;
  margin: 5px 0;
}