body {
  font-family: Arial, sans-serif;
  animation: changeBackgroundColor 10s infinite; /* Change background color every 10 seconds */
  overflow: hidden;
}

.container {
  text-align: center;
  margin-top: 100px;
}

h1 {
  color: white;
  font-size: 5vw; /* Use viewport width units for responsive font size */
}

#timer {
  font-size: 15vw; /* Use viewport width units for responsive font size */
  font-weight: 1000;
  color: #333;
  color: white;
  margin-top: 20px;
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes changeBackgroundColor {
  0% { background-color: #ff0000; } /* Red */
  25% { background-color: #00ff00; } /* Green */
  50% { background-color: #0000ff; } /* Blue */
  75% { background-color: #ffff00; } /* Yellow */
  100% { background-color: #ff00ff; } /* Magenta */
}

/* Media query for smaller screens */
@media screen and (max-width: 600px) {
  h1 {
    font-size: 7vw; /* Adjust font size for smaller screens */
  }

  #timer {
    font-size: 20vw; /* Adjust font size for smaller screens */
  }
}
