  /* Define a custom animation for the background gradient */
  @keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

nav {
  width: 100%;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 2px 8px rgba(67,198,172,0.10);
  padding: 16px 0;
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}
nav a {
  color: #2d3a3a;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover {
  background: #e0f7fa;
  color: #43c6ac;
}

/* General body styling */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #fff;
    /* Animated gradient background */
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
}

/* The main container with the glassmorphism effect */
.container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* For Safari support */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    padding: 40px 60px;
    text-align: center;
}

/* Styling for the "Local Time" banner */
#banner {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 20px;
}

/* Styling for the digital clock display */
#clock {
    font-size: 5rem;
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* Styling for the date display */
#date {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 10px;
}