
:root {

  --primary-color: #6366f1; /* Indigo */
  --secondary-color: #f43f5e; /* Rose */
  --bg-light: #f9fafb;
  --Lighttext-color: #000000;
  --darktext-color:white;
  --card-bg: #f3eded;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --font-main: 'Poppins', sans-serif;
  --hoverbg :#555;
  --pSize:0.9rem;
  --border:2px dotted white;
}
    body {
      font-family: Arial, sans-serif;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      margin: 0;
      background-color:var(--bg-light);
    }
    .stopwatch {
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
      padding: 70px 60px;
      border-radius: 15px;
      box-shadow: 0 0 30px black  inset;
      text-align: center;
      margin: auto;

    }
    h1 {
      margin: 0;
      font-size: 48px;
    }
    button {
      margin: 10px;
      padding: 10px 20px;
      font-size: 16px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s;
      border: var(--border);
    }
    button:hover {
      background-color:var(--hoverbg);
    }
    .start {
      background-color: #4CAF50;
      color: white;
    }
    .stop {
      background-color:#f43f5e;
      color: white;
    }
    .reset {
      background-color:#6366f1;
      color: white;
    }
    @media screen and (max-width:700px )
    {
      body{
        padding: 2% 2%;
      } .stopwatch
       {
        height: 100%;
        width: 100%;

      background: #fff;
      padding: 70px 60px;
      border-radius: 15px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      text-align: center;
      border-bottom: 6px solid var(--primary-color);
      margin: auto;

    }
    }