* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Ensure padding and margin do not affect width */
}

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background: linear-gradient(#aadd55, #4e9258);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

.container {
  background-color: aliceblue;
  height: 30vh;
  width: 30vw;
  max-width: 400px; /* Limit max width for larger screens */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  border-radius: 10px;
  box-shadow: 0px 10px 20px 3px rgba(74, 146, 88, 1);
  padding: 1rem; /* Add padding for better spacing */
}

.display-time {
  width: 100%;
  font-weight: bolder;
  font-size: 2.4rem;
}

.btns {
  display: flex;
  justify-content: center; /* Center the buttons */
  gap: 0.5rem; /* Space between buttons */
}

.timer-btn {
  flex: 1; /* Allow buttons to take equal width */
  max-width: 120px; /* Limit max width for buttons */
  padding: 1rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0px 5px 15px rgba(74, 146, 88, 0.7);
  font-size: 1.1rem;
  font-weight: bold;
  transition: all ease 0.3s;
}

.timer-btn:hover {
  background-color: #76a770;
}

/* Media Queries for Further Responsiveness */
@media (max-width: 600px) {
  .container {
    width: 80vw; /* Make the container responsive on smaller screens */
    height: 40vh; /* Adjust height on smaller screens */
  }

  .display-time {
    font-size: 2rem; /* Smaller font size for the display time */
  }

  .timer-btn {
    font-size: 1rem; /* Smaller button font size */
  }
}
