body {
  font-family: 'Roboto Mono', monospace;
  background-color: #DAA520;
  color: #DAA520;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  text-align: center;
  background: #000000;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  height: 40vh;
  overflow: hidden;
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

#display {
  font-size: 60px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  transition: box-shadow 0.3s ease;
  color: white; 
}

#display.glow {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.buttons button {
  width: 100px;
  height: 40px;
  margin: 10px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.1s ease, background-color 0.3s ease;
}

.buttons button:hover {
  transform: scale(1.05);
}

.buttons button:active {
  transform: scale(0.97);
}

.buttons button:focus {
  outline: none;
}


#startBtn {
  background-color: #28a745; 
  color: white;
}

#startBtn:hover {
  background-color: #218838;
}

#resetBtn {
  background-color: #dc3545; 
  color: white;
}

#resetBtn:hover {
  background-color: #c82333;
}

#lapBtn {
  background-color: #007bff; 
  color: white;
}

#lapBtn:hover {
  background-color: #0069d9;
}

.lap-container {
  max-height: 100px;
  overflow-y: auto;
  margin-top: 20px;
  padding-right: 5px;
  scrollbar-gutter: stable;
  box-sizing: border-box;
}

.lap-container::-webkit-scrollbar {
  width: 6px;
}

.lap-container::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 3px;
}


#laps {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#laps li {
  margin: 5px 0;
  background-color: #DAA520;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeSlideIn 0.3s forwards;
  color: #000000; 
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px; 
  font-size: 40px;
  color: #DAA520; 
  margin-bottom: 20px;
}

.logo-inline {
  width: 38px;
  height: 38px;
  object-fit: contain;
}