body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  font-family: 'Arial', sans-serif;
  margin: 0;
  overflow: hidden;
}
.container {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeIn 1s ease-in-out;
  width: 350px;
}
.clock {
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #fff;
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
button {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
button:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}
#start {
  background: linear-gradient(135deg, #00c853, #64dd17);
}
#pause {
  background: linear-gradient(135deg, #ff9100, #ff6d00);
}
#stop {
  background: linear-gradient(135deg, #d50000, #ff1744);
}
#clear {
  background: linear-gradient(135deg, #2979ff, #00b0ff);
}
#record {
  background: linear-gradient(135deg, #8e24aa, #d500f9);
}
.records {
  max-height: 120px;
  overflow-y: auto;
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  color: #fff;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}