/* General styling */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  transition: background-color 0.5s ease-in-out;
}

/* Heading */
h1 {
  font-size: 1.6rem;
  text-align: center;
  max-width: 600px;
  color: #333;
  margin-bottom: 2rem;
  padding: 2rem;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Buttons */
button {
  padding: 12px 28px;
  margin: 0 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.div {
  display: flex;
}

#start {
  background: linear-gradient(135deg, #4caf50, #66bb6a);
  color: #fff;
}

#start:hover {
  background: linear-gradient(135deg, #388e3c, #4caf50);
  transform: translateY(-3px);
}

#start.hidden{
  display: none;
}

#stop {
  background: linear-gradient(135deg, #f44336, #ef5350);
  color: #fff;
  margin-top: 20px;
}

#stop:hover {
  background: linear-gradient(135deg, #c62828, #e53935);
  transform: translateY(-3px);
}

/* Smooth effect for body bg changes */
body {
  transition: background-color 0.7s ease;
}

@media (max-width: 468px) {
  body {
    padding: 1rem;
  }
  h1{
    font-size: 1.4rem;
  }
}
