
:root {
    --primary: #f4ce14;
    --secondary: #f5f7f8;
    --tetriary: #379777;
    --fouthcolor: #333;
    --hover-bg: rgba(244, 206, 20, 0.2);
    --transition-speed: 0.3s;
    --overlay-bg: rgba(0, 0, 0, 0.6);
}


body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: var(--fouthcolor);
    background: var(--secondary);
    box-sizing: border-box;
    scroll-behavior: smooth;
    height: 100%;
}


header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    background: black;
    
    color: var(--secondary);
    z-index: 10;
    
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);

}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: 100px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all var(--transition-speed);
}

header nav ul li a:hover {
    background: var(--hover-bg);
    color: var(--primary);}
  
  
  .hero {
    background: linear-gradient(to right, #f4ce14, #379777);
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;height: 400px;
  }
  
  .hero .btn {
    display: inline-block;
    background-color: white;
    color: #007bff;
    padding: 10px 20px;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    animation: scaleUp 1.2s ease-in-out infinite alternate;
  }
  
  .hero h2 {
    animation: slideInFromLeft 1.2s ease-out;
    font-size: 70px;
  }
  
  
  .tips {
    padding: 50px;
    background: #f4f4f4;
  }
  
  .tip-item {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  
  .btn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .btn:hover {
    background: #070707;
  }
  
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slideInFromLeft {
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes scaleUp {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.1);
    }
  }
  
  @keyframes fadeInOnScroll {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-in {
    animation: fadeInDown 1s ease-out;
  }
  
  .fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s;
  }
  :root {
    --primary: #f4ce14; 
    --tetriary: #379777; 
    --fouthcolor: #333; 
    --hover-bg: rgba(244, 206, 20, 0.2); 
    --transition-speed: 0.3s; 
    --overlay-bg: rgba(0, 0, 0, 0.6);
  }
  

  .tracker {
    padding: 40px 20px;
    background-color: #fff;
    border-top: 6px solid var(--primary);
    box-shadow: 0 4px 10px var(--overlay-bg);
    border-radius: 10px;
    max-width: 600px;
    margin: 40px auto;
    color: var(--fouthcolor);
    transition: box-shadow var(--transition-speed);
  }
  
  .tracker:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
  
  .tracker h2 {
    text-align: center;
    color: var(--fouthcolor);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .todo-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  #todo-input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--tetriary);
    border-radius: 5px;
    font-size: 16px;
    min-width: 300px;
    background: var(--hover-bg);
    color: var(--fouthcolor);
    transition: border var(--transition-speed), box-shadow var(--transition-speed);
  }
  
  #todo-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 6px var(--primary);
  }
  
  #add-btn {
    padding: 12px 20px;
    font-size: 16px;
    background-color: var(--primary);
    color: var(--fouthcolor);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
  }
  
  #add-btn:hover {
    background-color: var(--tetriary);
    color: white;
    transform: scale(1.05);
  }
  
  #todo-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    width: 100%;
  }
  
  #todo-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin: 8px 0;
    border: 1px solid var(--tetriary);
    border-radius: 5px;
    background-color: white;
    font-size: 16px;
    box-shadow: 0 2px 4px var(--overlay-bg);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  }
  
  #todo-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: var(--hover-bg);
  }
  
  #todo-list li button {
    background-color: var(--tetriary);
    color: white;
    border: none;
    border-radius: 3px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color var(--transition-speed);
  }
  
  #todo-list li button:hover {
    background-color: var(--primary);
  }
  footer {
    background-color: var(--tetriary);
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
  }
  
  footer p {
    margin: 0;
  }
  
  footer p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    transition: color var(--transition-speed);
  }
  
  footer p a:hover {
    color: var(--hover-bg);
  }
  
  
  footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    z-index: -1;
    opacity: 0.8;
  }
  
  
  