body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

.button-group,
.reset-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

button {
  border: 3px solid black;
  border-radius: 20px;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
  padding: 8px 16px;
}

button:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.413);
}


/* Mobile devices */
@media (max-width: 600px) {
  .button-group,
  .reset-group {
    flex-direction: column;
    align-items: center;
  }

  button {
    width: 70vw;
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  h1 {
    font-size: 1.2rem;
  }
}

/* Tablet devices */
@media (min-width: 601px) and (max-width: 1024px) {
  button {
    width: 30vw;
    font-size: 1rem;
    padding: 8px 14px;
  }

  h1 {
    font-size: 1.5rem;
  }
}

/* Desktops */
@media (min-width: 1025px) {
  button {
    width: 10vw;
    font-size: 1rem;
    padding: 8px 16px;
  }

  h1 {
    font-size: 2rem;
  }
}