body {
  background-color: #7d7777;
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  margin: 0%;
  align-items: center;
  background: #042e4a;
  background: linear-gradient(
    95deg,
    rgba(4, 46, 74, 1) 0%,
    rgba(10, 34, 48, 1) 55%,
    rgba(22, 116, 135, 1) 100%
  );
}

#timer {
  font-size: 7rem;
  font-weight: 700;
  text-shadow: 2px 2px #1f1c1c;
  color: aliceblue;
  width: 600px;
  text-align: center;
  /* margin: 40px auto; */
  margin-bottom:5%;

}

#buttons {
  display: flex;
  justify-content: center;
}

button[disabled] {
  opacity: 0.5;
  cursor: default;
}
h1 {
  font-size: 6rem; /* Bigger font size */
  /* background: linear-gradient(to right, #ff6a00, #ee0979); Color gradient */
  background-image: linear-gradient( 135deg, #43CBFF 10%, #9708CC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0%;
  /* margin-bottom: auto; */
  height: auto;
}

@media (max-width: 800px) {
  #timer {
    font-size: 4rem;
    width: 350px;
  }

  button {
    font-size: 2rem;
    padding: 1rem 2rem;
  }
}

button {
  background-image: linear-gradient(
    to right,
    #2b5876 0%,
    #4e4376 51%,
    #2b5876 100%
  );
}
button {
  margin: 20px;
  padding: 15px 45px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 20px;
  display: block;
}

button:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}


#laps {
  list-style: none;
  padding: 0;
  width: 300px;
  margin-top: 20px;
  max-height: 200px;
  overflow-y: auto;
  color: white;
  font-size: 1.2rem;
  text-align: left;
}

#laps li {
  background-color: rgba(255, 255, 255, 0.1);
  margin: 5px 0;
  padding: 8px 12px;
  border-radius: 10px;
}

