* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.wrapper {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: rgb(11, 3, 67);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.time-container {
  width: 500px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.digit {
  font-size: 4rem;
  font-weight: bold;
  color: white;
  background-color: black;
  border-radius: 20px;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text {
  font-size: 5rem;
  color: white;
}

.buttons {
  padding: 20px;
  color: white;
}

button {
  width: 100px;
  font-weight: 700;
  color: white;
  padding: 10px 20px;
  border: none;
  margin-inline: 20px;
  border-radius: 10px;
}

#start {
  background-color: green;
}

#stop {
  background-color: blue;
}

#reset {
  background-color: red;
}

button:hover {
  cursor: pointer;
}

@media (max-width: 515px) {
  .digit {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    background-color: black;
    border-radius: 20px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .text {
    font-size: 2.5rem;
  }

  .buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
}