* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
  }
  
  body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #1a1a1a, #222222, #2d2d2d, #282828);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    color: #dedede;
    text-align: center;
  }
  
  @keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  .container {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: left;
    justify-content: flex-start;
    gap: 2em;
    background-color: #1a1a1a;
    border-radius: 2em;
    padding: 4em 3em;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }
  
  .title {
    font-size: 3em;
    color: white;
  }
  
.cool-line {
    width: 100%;
    height: 5px;
    border-radius: 1em;
    border: none;
    background: linear-gradient(to right, #ff2200, #ffcc00);
  }
  
  .timer {
    font-size: 10em;
    font-weight: 700;
    color: #dedede;
  }
  
  .button-wrapper {
    display: flex;
    gap: 1em;
  }
  
  button {
    font-size: 2em;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 0.5em 1.5em;
    border-radius: 0.5em;
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
  }
  
  button:hover {
    transform: scale(0.95);
    cursor: pointer;
  }
  

  #start {
    background-color: #56e60e;
  }
  
#start:hover {
    background-color: #44b10b;
}

#start:active {
    transform: scale(0.85);
    background-color: #3fa30a;
}

#stop:hover {
    background-color: #c91414;
}

  #stop {
    background-color: #f61919;
  }

  #stop:active { 
    transform: scale(0.85);
    background-color: #b21010;
  }
  
  #reset {
    background-color: #0184ff;
  }

  #reset:hover {
    background-color: #016bcc;
  }

  #reset:active {
    transform: scale(0.85);  
    background-color: #005bb5;
  }
  
  .home-button {
  position: absolute; 
  top: 15px;
  left: 15px;      
  width: 50px;     
  height: 50px;
  background-color: #d4aa00; 
  color: #FFFFFF;
  font-size: 1.8em;
  border-radius: 50%;   
  font-weight: 700;
  text-align: center;    
  text-decoration: none;   
  line-height: 50px;  
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
  z-index: 1000;            
  display: inline-block;
}

.home-button:hover {
  transform: scale(1.1);
  background-color: #b88f00;
}

.home-button:active {
  transform: scale(0.9);
  background-color: #a37d00;
}
